![]() |
#1 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
pristine build from git HEAD is broken
I believe the setup/mathjax.py changes are at fault. It requires the lzma extension and calibre.ptempfile which somehow pulls in the nonexistent icu plugin... at any rate, I get the following error:
Code:
[eschwartz@arch ~/git/calibre]$ python2 setup.py build --clean-all && python2 setup.py --help Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/home/eschwartz/git/calibre/setup/commands.py", line 38, in <module> from setup.mathjax import MathJax File "/home/eschwartz/git/calibre/setup/mathjax.py", line 15, in <module> from lzma.xz import compress File "/home/eschwartz/git/calibre/src/lzma/xz.py", line 17, in <module> from calibre.ptempfile import SpooledTemporaryFile File "/home/eschwartz/git/calibre/src/calibre/__init__.py", line 22, in <module> from calibre.startup import winutil, winutilerror File "/home/eschwartz/git/calibre/src/calibre/startup.py", line 149, in <module> from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper File "/home/eschwartz/git/calibre/src/calibre/utils/icu.py", line 28, in <module> raise RuntimeError('Failed to load icu with error: %s' % err) RuntimeError: Failed to load icu with error: No module named icu /home/eschwartz/git/calibre/src/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import import shutil ![]() (I think I will need to rig that step with a local MathJax source anyway, because packaging standards. ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,030
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why would icu be non-existent? bootstrap runs build before running mathjax
In any case, I removed the dependency on calibre.ptempfile in the mathjax builder. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The error as demonstrated above happened even when you try to run the setup.py help -- it imported the list of commands and tripped over the lzma import.
![]() The delayed import fixed it, thanks. Last edited by eschwartz; 05-03-2016 at 01:55 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sell Pristine condition Kobo H2O | Canuck_in_Japan | Flea Market | 2 | 07-06-2015 07:19 PM |
Git | aditya3098 | Kindle Developer's Corner | 25 | 09-29-2013 08:39 AM |
Pocket eDGe and Full-size eDGe: Head to Head Comparison | alefor | enTourage Archive | 28 | 12-01-2010 07:44 PM |
Ended Barely used pristine Kindle 2 w/ Amazon Extended Warranty Included | Sugar | Flea Market | 7 | 03-27-2010 01:28 PM |
Video Head to Head of Kindle and Reader | Kingston | Which one should I buy? | 30 | 01-24-2008 08:03 PM |