Opened 3 months ago

Last modified 7 weeks ago

#3085 new bug

Unable to launch 2.0 beta 1 on MacOS

Reported by: zachberger Owned by:
Priority: blocker Milestone: 2.0
Component: Packaging Version: other (please specify)
Keywords: Cc:

Description

When double clicking Deluge.app deluge does not open. When running from the command line pygtk appears to be missing.

> ./Deluge.app/Contents/MacOS/deluge
Traceback (most recent call last):
  File "/Users/zachberger/Desktop/t/./Deluge.app/Contents/MacOS/Deluge-bin", line 11, in <module>
    load_entry_point('deluge==2.0b1', 'gui_scripts', 'deluge-gtk')()
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 50, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 34, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/gtkui.py", line 19, in <module>
ImportError: No module named pygtk

Change History (4)

comment:1 Changed 3 months ago by Cas

  • Milestone changed from needs verified to 2.0

Hmm ok, it was working...

comment:2 Changed 3 months ago by Cas

So my macos virtualbox for some unknown reason completely borked today and likely will have to create a new one so will be a delay fixing this.

Saying that if you are comfortable with navigating inside Deluge.app you could see what is missing compared to 1.3.15 as the python libs will essentially be the same.

comment:3 Changed 2 months ago by sarsaeol

any updates on this?

i am getting the same condition outlined above

./Deluge2.app/Contents/MacOS/deluge
Traceback (most recent call last):
  File "/Users/sarsaeol/Desktop/./Deluge2.app/Contents/MacOS/Deluge-bin", line 11, in <module>
    load_entry_point('deluge==2.0b1', 'gui_scripts', 'deluge-gtk')()
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 50, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 34, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/gtkui.py", line 19, in <module>
ImportError: No module named pygtk

however exploring the Deluge 1 and 2 package contents is not revealing any obvious omissions.

comment:4 Changed 7 weeks ago by big_bum

I've installed pygtk via

brew install pygtk

and modified line 42 from Deluge file to:

export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH

Now I'm getting this error:

  File "/Applications/Deluge.app/Contents/MacOS/Deluge-bin", line 11, in <module>
    load_entry_point('deluge==2.0b1', 'gui_scripts', 'deluge-gtk')()
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 50, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/__init__.py", line 34, in start
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-2.0b1-py2.7.egg/deluge/ui/gtkui/gtkui.py", line 26, in <module>
ImportError: cannot import name gtk2reactor
Note: See TracTickets for help on using tickets.