View Single Post
Old 01-13-2017, 10:22 PM   #4
hobleyd
Junior Member
hobleyd began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2014
Device: several
Thanks for that; I updated the build-calibre repo and can confirm that the icons are now built automatically.

The next failure I get is:

Adding Python framework

Adding site-packages
/sw/sw/python/Python.framework/Versions/2.7/lib/python2.7/site-packages
/calibre/src
Traceback (most recent call last):
File "/scripts/main.py", line 59, in <module>
main(args)
File "/scripts/pkgs/build_calibre.py", line 55, in main
freeze(args, ext_dir, test_runner)
File "/scripts/freeze/osx/__init__.py", line 703, in main
Freeze(build_dir, ext_dir, test_runner, dont_strip=args.dont_strip, sign_installers=args.sign_installers)
File "/scripts/freeze/osx/__init__.py", line 171, in __init__
self.run(test_launchers)
File "/scripts/freeze/osx/__init__.py", line 183, in run
self.add_site_packages()
File "/scripts/freeze/osx/__init__.py", line 147, in ff
ret = func(*args, **kwargs)
File "/scripts/freeze/osx/__init__.py", line 496, in add_site_packages
shutil.rmtree(os.path.join(self.site_packages, 'calibre', 'plugins'))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 239, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 237, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/var/folders/wx/3mz4l2mn14d707l5tmtsfnlh0000gp/T/t/frozen-29xGdT/calibre.app/Contents/Resources/Python/site-packages/calibre/plugins'
Shared connection to osx-calibre-build closed.

What do I need to do to fix this?

Cheers,
David
hobleyd is offline   Reply With Quote