Opened 7 years ago

Closed 5 years ago

Last modified 2 years ago

#3085 closed bug (Duplicate)

Unable to launch 2.0 beta 1 on MacOS

Reported by: zachberger Owned by:
Priority: blocker Milestone: 2.1.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 (9)

comment:1 by Calum, 7 years ago

Milestone: needs verified2.0

Hmm ok, it was working...

comment:2 by Calum, 7 years ago

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 by sarsaeol, 7 years ago

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 by CS, 7 years ago

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

comment:5 by Viktor Sergiienko, 6 years ago

"lib/pygtk" directory is empty in the package.

comment:6 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

comment:7 by Calum, 5 years ago

Milestone: 2.0.02.1.x

Ticket retargeted after milestone closed

comment:8 by Calum, 5 years ago

Resolution: Duplicate
Status: newclosed

Closing for #3259 as moved to GTK3

comment:9 by Calum, 2 years ago

Milestone: 2.1.x2.1.0

Milestone renamed

Note: See TracTickets for help on using tickets.