Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OmniGraffle 6 not supported. :( #23

Open
drusellers opened this issue Mar 11, 2015 · 9 comments
Open

OmniGraffle 6 not supported. :( #23

drusellers opened this issue Mar 11, 2015 · 9 comments

Comments

@drusellers
Copy link

I have no idea what has changed between 5 and 6 - but i do know the application name has changed to OmniGraffle.app.

@fikovnik
Copy link
Owner

There were some changes - sandboxing and name changes. Could you please check the latest version - 1.7.

@drusellers
Copy link
Author

git checkout develop
sudo python setup.py install
$ omnigraffle-export -f png ~/Dropbox/MAG/the-line.graffle ./bob/
Traceback (most recent call last):
  File "/usr/local/bin/omnigraffle-export", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in <module>
    parse_requirements(__requires__), Environment()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyobjc-framework-Social==3.0.4

@fikovnik
Copy link
Owner

Can you try in an empty virtual environment?

$ source /usr/local/bin/virtualenvwrapper.sh
$ mkvirtualenv test
$ python setup.py install
$ omnigraffle-export -f png ~/Dropbox/MAG/the-line.graffle ./bob/
$ python setup.py test # optinaly

There seems to be some dependencies problems and this will help us to debug find out where.

@drusellers
Copy link
Author

that blew up in a HUGE way. I also had to sudo the install. I'm guessing i have something wonky going on. hmmm.

@fikovnik
Copy link
Owner

fikovnik commented Apr 7, 2015

I guess, but it is weird as this should create a completely clean environment.

@drusellers
Copy link
Author

I'm using system python. So I can try a homebrew install of python?

@fikovnik
Copy link
Owner

fikovnik commented Apr 8, 2015

You could try, but it should work with the system one. I just tried that using a new virtual environment:

$ mkvirtualenv -p /usr/bin/python2.7 omnigraffle-sysp27
...
(omnigraffle-sysp27)$ git clone https://github.com/fikovnik/omnigraffle-export.git
...
(omnigraffle-sysp27)$ cd omnigraffle-export/
(omnigraffle-sysp27)$ python setup.py install
...
(omnigraffle-sysp27)$ omnigraffle-export -f png tests/test_data/basic/test.graffle .
(omnigraffle-sysp27)$ ls *.png
Canvas 1.png  Canvas 2.png

These are the state of pip packages:

(omnigraffle-sysp27)$ pip freeze
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
altgraph==0.12
appscript==1.0.1
macholib==1.7
modulegraph==0.12
omnigraffle-export==1.7.1
py2app==0.9
pyobjc==3.0.4
pyobjc-core==3.0.4
pyobjc-framework-Accounts==3.0.4
pyobjc-framework-AddressBook==3.0.4
pyobjc-framework-AppleScriptKit==3.0.4
pyobjc-framework-AppleScriptObjC==3.0.4
pyobjc-framework-Automator==3.0.4
pyobjc-framework-CalendarStore==3.0.4
pyobjc-framework-CFNetwork==3.0.4
pyobjc-framework-Cocoa==3.0.4
pyobjc-framework-Collaboration==3.0.4
pyobjc-framework-CoreData==3.0.4
pyobjc-framework-CoreLocation==3.0.4
pyobjc-framework-CoreText==3.0.4
pyobjc-framework-CoreWLAN==3.0.4
pyobjc-framework-DictionaryServices==3.0.4
pyobjc-framework-DiskArbitration==3.0.4
pyobjc-framework-EventKit==3.0.4
pyobjc-framework-ExceptionHandling==3.0.4
pyobjc-framework-FSEvents==3.0.4
pyobjc-framework-InputMethodKit==3.0.4
pyobjc-framework-InstallerPlugins==3.0.4
pyobjc-framework-InstantMessage==3.0.4
pyobjc-framework-LatentSemanticMapping==3.0.4
pyobjc-framework-LaunchServices==3.0.4
pyobjc-framework-PreferencePanes==3.0.4
pyobjc-framework-PubSub==3.0.4
pyobjc-framework-QTKit==3.0.4
pyobjc-framework-Quartz==3.0.4
pyobjc-framework-ScreenSaver==3.0.4
pyobjc-framework-ScriptingBridge==3.0.4
pyobjc-framework-SearchKit==3.0.4
pyobjc-framework-ServiceManagement==3.0.4
pyobjc-framework-Social==3.0.4
pyobjc-framework-StoreKit==3.0.4
pyobjc-framework-SyncServices==3.0.4
pyobjc-framework-SystemConfiguration==3.0.4
pyobjc-framework-WebKit==3.0.4

@Razer6
Copy link

Razer6 commented Nov 8, 2015

I have the same issue. I installed via virtualenv and get the following error message when starting the tool:

(omni)/tmp⚡ ⇒ omnigraffle-export 
Traceback (most recent call last):
  File "/usr/local/bin/omnigraffle-export", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in <module>
    parse_requirements(__requires__), Environment()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyobjc-framework-Social==3.0.4

Here is my list of dependencies installed in the virtualenv:

(omni)/tmp⚡ ⇒ pip freeze
altgraph==0.12
appscript==1.0.1
macholib==1.7
modulegraph==0.12.1
omnigraffle-export==1.7.1
py2app==0.9
pyobjc==3.0.4
pyobjc-core==3.0.4
pyobjc-framework-Accounts==3.0.4
pyobjc-framework-AddressBook==3.0.4
pyobjc-framework-AppleScriptKit==3.0.4
pyobjc-framework-AppleScriptObjC==3.0.4
pyobjc-framework-Automator==3.0.4
pyobjc-framework-CalendarStore==3.0.4
pyobjc-framework-CFNetwork==3.0.4
pyobjc-framework-Cocoa==3.0.4
pyobjc-framework-Collaboration==3.0.4
pyobjc-framework-CoreData==3.0.4
pyobjc-framework-CoreLocation==3.0.4
pyobjc-framework-CoreText==3.0.4
pyobjc-framework-CoreWLAN==3.0.4
pyobjc-framework-DictionaryServices==3.0.4
pyobjc-framework-DiskArbitration==3.0.4
pyobjc-framework-EventKit==3.0.4
pyobjc-framework-ExceptionHandling==3.0.4
pyobjc-framework-FSEvents==3.0.4
pyobjc-framework-InputMethodKit==3.0.4
pyobjc-framework-InstallerPlugins==3.0.4
pyobjc-framework-InstantMessage==3.0.4
pyobjc-framework-LatentSemanticMapping==3.0.4
pyobjc-framework-LaunchServices==3.0.4
pyobjc-framework-PreferencePanes==3.0.4
pyobjc-framework-PubSub==3.0.4
pyobjc-framework-QTKit==3.0.4
pyobjc-framework-Quartz==3.0.4
pyobjc-framework-ScreLenSaver==3.0.4
pyobjc-framework-ScriptingBridge==3.0.4
pyobjc-framework-SearchKit==3.0.4
pyobjc-framework-ServiceManagement==3.0.4
pyobjc-framework-Social==3.0.4
pyobjc-framework-StoreKit==3.0.4
pyobjc-framework-SyncServices==3.0.4
pyobjc-framework-SystemConfiguration==3.0.4
pyobjc-framework-WebKit==3.0.4
wheel==0.24.0

@CaliLuke
Copy link

CaliLuke commented Feb 9, 2016

I'm seeing the exact same issue. Are there any plans to address it? I would but I would do more damage than anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants