You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/omnigraffle-export", line 9, in <module>
load_entry_point('omnigraffle-export==1.6', 'console_scripts', 'omnigraffle-export')()
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 356, in load_entry_point
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2476, in load_entry_point
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2190, in load
File "/usr/local/lib/python2.7/site-packages/omnigraffle_export/omnigraffle_export.py", line 10, in <module>
from Foundation import NSURL, NSMutableDictionary
ImportError: No module named Foundation
The text was updated successfully, but these errors were encountered:
I have Python installed by using Homebrew, and XCode. I suspect there is something non-standard in the pythonpath setup, and not related to this project, but I can't seem to figure out how to repair it.
This is mostly the same as #14 and #15. Basically you're missing the PyObjC library. I suspect the package description is incomplete, as it doesn't mention any dependency…
Edit: my bad, setup.py does contain install_requires = ['appscript','pyobjc'] 🙄
my only conclusion now is that package management in Python is hopelessly broken…
Edit 2: seems changing omnigraffle_export.py as follows helps a bit:
The text was updated successfully, but these errors were encountered: