Opened 11 months ago

Last modified 4 months 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 (5)

comment:1 Changed 11 months ago by Cas

  • Milestone changed from needs verified to 2.0

Hmm ok, it was working...

comment:2 Changed 11 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 10 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 10 months 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 4 months ago by singalen

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

Note: See TracTickets for help on using tickets.