[MacPorts] #39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error"
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" -----------------------+-------------------------------- Reporter: bitmail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: deluge -----------------------+-------------------------------- System: OSX 10.5.8, PPC, Macports 2.1.3 fully updated. Installation of Deluge @1.3.6 +python2.7 works fine. However starting the GTK interface fails: {{{ deluge-gtk-2.7 Traceback (most recent call last): File "/opt/local/bin/deluge-gtk-2.7", line 9, in <module> load_entry_point('deluge==1.3.6', 'gui_scripts', 'deluge-gtk')() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/deluge/ui/gtkui/gtkui.py", line 115, in start Gtk().start() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/deluge/ui/gtkui/gtkui.py", line 112, in start GtkUI(self.args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/deluge/ui/gtkui/gtkui.py", line 201, in __init__ import gtk_osxapplication ImportError: No module named gtk_osxapplication }}} Previous versions (f.e. 1.3.5) worked fine. I didn't use it in a while, so I don't know exactly when it broke and if it's due to the update to 1.3.6 or some dependency. I did uninstall deluge and reinstall it, to no avail. -- Ticket URL: <https://trac.macports.org/ticket/39430> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Changes (by macsforever2000@…): * cc: devans@… (removed) * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Comment (by devans@…): Code at the point of failure is this: {{{ if deluge.common.osx_check() and gtk.gdk.WINDOWING == "quartz": import gtk_osxapplication }}} so I assume that you have gtk2 +quartz installed (please confirm). Looks like a missing dependency in this case. Works well for me with gtk2 +x11 installed. -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Comment (by bitmail@…): Yes, I use gtk2 +quartz. It did work well since 1.3.3 (or 1.3.2, I'm not sure), but some recent upgrade broke it. -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Comment (by devans@…): In fact, it appears that the problem is with deluge 1.3.6 itself. In this version, code was added to attempt to add OS X Native style menus (in the OS X menu bar) as opposed to GTK+ style menus (in the app window) when it detects that GTK+ is installed with the quartz backend. This normally would require an additional dependency on the current OS X integration library (port gtk-osx-application) but it appears that they used an older deprecated API (port ige-mac-integration) which currently does not build properly on MacPorts and is not API compatible with the more current library. This only has impact for +quartz users such as yourself. So rather than hold things up any further, I am disabling this code for now, while I coordinate with the upstream folks about this. Fix committed in r107048. Let me know if this works as you expect. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: deluge | ------------------------+---------------------- Comment (by bitmail@…): Hello, just tested your patch (selfupdate & upgrade outdated) and 1.3.6_1 seems to work fine. Thanks for fixing it that quickly! Do you think upstream will resolve the issue in a timely fashion as well? -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39430: deluge @1.3.6 +python27: deluge-gtk-2.7 fails to start with "import error" ------------------------+---------------------- Reporter: bitmail@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: deluge | ------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * version: 2.1.3 => * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/39430#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts