View Single Post
Old 01-15-2017, 02:37 AM   #6
hobleyd
Junior Member
hobleyd began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2014
Device: several
Thanks Kovid; all your help has been invaluable. I am closer; the last problem I think is now with the automated tests at the end. I get:


================================================== ====================
ERROR: test_lzma (calibre.test_build.BuildTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/test_build.py", line 49, in test_lzma
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/lzma/xz.py", line 429, in test_lzma2
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/resources.py", line 73, in get_path
IOError: [Errno 2] No such file or directory: u'/private/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/resources/template-functions.json'

================================================== ====================
ERROR: test_spell (calibre.test_build.BuildTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/test_build.py", line 59, in test_spell
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/spell/dictionary.py", line 87, in <module>
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/spell/__init__.py", line 30, in parse_lang_code
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/localization.py", line 368, in canonicalize_lang
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/localization.py", line 319, in _load_iso639
IOError: [Errno 2] No such file or directory: '/private/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/resources/localization/iso639.pickle'

================================================== ====================
ERROR: test_break_iterator (calibre.utils.icu_test.TestICU)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/icu_test.py", line 160, in test_break_iterator
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/spell/break_iterator.py", line 22, in split_into_words
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/localization.py", line 420, in lang_as_iso639_1
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/localization.py", line 368, in canonicalize_lang
File "/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/Python/site-packages/calibre/utils/localization.py", line 319, in _load_iso639
IOError: [Errno 2] No such file or directory: '/private/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-l6GVQW/calibre.app/Contents/Resources/resources/localization/iso639.pickle'

----------------------------------------------------------------------
Ran 55 tests in 11.903s

FAILED (errors=3, skipped=6)

What have I missed now?
hobleyd is offline   Reply With Quote