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 Changed 7 years ago by Cas

  • Milestone changed from needs verified to 2.0

Hmm ok, it was working...

comment:2 Changed 7 years 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 7 years 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 years 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

comment:5 Changed 6 years ago by singalen

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

comment:6 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

comment:7 Changed 5 years ago by Cas

  • Milestone changed from 2.0.0 to 2.1.x

Ticket retargeted after milestone closed

comment:8 Changed 5 years ago by Cas

  • Resolution set to Duplicate
  • Status changed from new to closed

Closing for #3259 as moved to GTK3

comment:9 Changed 2 years ago by Cas

  • Milestone changed from 2.1.x to 2.1.0

Milestone renamed

Note: See TracTickets for help on using tickets.