FS#37607 - deluge miss dependencies on python2-gobect2 and pygtk causing ui:168 No module named gobject

Attached to Project: Arch Linux
Opened by Paul Dufresne (pauld) - Saturday, 02 November 2013, 16:37 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 02 November 2013, 21:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Solution: The solution is to install python2-gobject2 and pygtk.
Description:
[paul@brebis ~]$ deluge
[ERROR ] 12:21:49 ui:168 No module named gobject
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 149, in __init__
from deluge.ui.gtkui.gtkui import GtkUI
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 37, in <module>
import gobject
ImportError: No module named gobject
[ERROR ] 12:21:49 ui:169 There was an error whilst launching the request UI: gtk
[ERROR ] 12:21:49 ui:170 Look at the traceback above for more information.
[paul@brebis ~]$

Additional info:
* package version(s)
paul@brebis ~]$ pacman -Qi deluge
Name : deluge
Version : 1.3.6-3
Description : A BitTorrent client with multiple user interfaces in a
client/server model
Architecture : any
URL : http://deluge-torrent.org/
Licenses : GPL3
Groups : None
Provides : None
Depends On : python2-xdg libtorrent-rasterbar twisted python2-pyopenssl
xdg-utils python2-chardet desktop-file-utils
hicolor-icon-theme python2-setuptools
Optional Deps : python2-notify: libnotify notifications
pygtk: needed for gtk ui
librsvg: needed for gtk ui [installed]
python2-mako: needed for web ui
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 8505.00 KiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date : Sun Aug 25 03:57:41 2013
Install Date : Sat Nov 2 12:10:53 2013
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature

* config and/or log files etc.
Under XFCE4, i686

Steps to reproduce: $ deluge

* Search on the net:
The solution is to install python2-gobject2 and pygtk.
according to: https://bbs.archlinux.org/viewtopic.php?id=141432
Just tried it, it works!
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 02 November 2013, 21:02 GMT
Reason for closing:  Not a bug
Comment by Kevin (anonymous_user) - Saturday, 02 November 2013, 17:56 GMT
Look at the optional dependencies for deluge:

pygtk: needed for gtk ui
Comment by Paul Dufresne (pauld) - Saturday, 02 November 2013, 20:57 GMT
You are right Kevin, I removed python2-gobject2 and pygtk,
then $deluge -u console
works fine.

If I then install pygtk, python2-gobject2 is automatically installed, and then
$deluge
works fine.

So, dependencies seems fine... when you know that the program can works in console mode.

Loading...