You are not logged in.
Hi everyone, i see this error message when launching deluge torrent client ( its not launching at all from menu)
[bb@arch ~]$ deluge
[ERROR ] 00:59:41 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 ] 00:59:41 ui:169 There was an error whilst launching the request UI: gtk
[ERROR ] 00:59:41 ui:170 Look at the traceback above for more information.
Xfce4 as DM
i dont have a clue about this one
thanks in advance
Last edited by memax (2012-05-13 00:49:09)
Offline
Strange, are you up to date?
Try installing python-gobject
Offline
nothing changed after reinstalling python-gobject and yes i am fully updated.
could it be because ck-launch-session in ~/.xinitrc ?
Offline
I think dependency list of deluge in official Arch is not enough.
I tried from AUR and when the dependencies were installed, I could use the official Arch deluge package.
Last edited by hadrons123 (2012-05-13 00:42:24)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
solved. you just gave me another taste about how things-dependancies work in arch linux. thanks a lot
Offline
Mark this thread solved, by editing your first post.
Last edited by hadrons123 (2012-05-13 00:43:35)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
Mark this thread solved, by editing your first post.
I hate to necro,but adding SOLVED without giving how you solved or what the issue/correction was, is rather stupid. This is one of the first posts on the subject on google across linux as a general. As such i still don't see the answer.
Personally this is a gentoo system so not far off arch considering.
Edit: So "python-updater" didnt fix anything, next step was revdep-rebuild (remember this is gentoo built from source and you have binary packages.) Still nothing so its what exactly. I will take this over to the correct forums but simply posting the dependency/fix that you used would save alot of people from this head banging. Drives me nuts when you get the I FIXED IT people on forums and they don't care to say how... you asked in the first place, least you could do is help out the others that will undoubtedly follow.
Last edited by Killerc (2013-05-17 03:18:01)
Offline
Hello, And welcome to Arch from a former Gentoo user. Our build system does not have dependencies based upon revision strength. It would appear that the problem was solved by fully updating all the things that came from our official repositories, and then manually rebuilding all of the foreign packages (from the AUR) so they are fully to date. Basically the equivalent of emerge --update --world --deep. It has been a long while, but IIRC, revdep-rebuild goes through and ensures that all of the dependencies from all of the packages are current in the emerge database. I don't recall how it can happen they get out of sync. (I used to know, I need to go remind myself). In any event, I think the OP remembered that things from our AUR have to be rebuilt after things on which they depend are updated.
As these are the Arch Forums, the OP really had no need to be more explicit. To anyone visiting these forums from other distributions, ensure all of the dependencies are at the required revision and rebuild this package.
Last edited by ewaller (2013-05-17 04:41:31)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
The solution is to install python2-gobject2 and pygtk.
I agree with you Killerc. It is frustrating when people do not post the solution, but it doesn't happen very often on the Arch forums actually.
Offline
Thanks for that! I wonder why this is still not fixed in the official repositories even now.
Offline
What's not fixed?
https://bugs.archlinux.org/task/37607
Offline
Ah yes, thanks. I forgot Deluge can operate without a GUI. Must have missed the optional dependency hint after installing.
Edit: But wait... Then why did Deluge have an icon in Gnome without the optional dependencies installed?
Last edited by mhelvens (2014-07-24 11:49:27)
Offline
Edit: But wait... Then why did Deluge have an icon in Gnome without the optional dependencies installed?
Because the .desktop file is part of the upstream source, it's always created as part of the build procedure.
I don't see why there is an issue with these optional dependencies at all, the deluge wiki page is perfectly clear on the subject.
Offline
mhelvens wrote:Edit: But wait... Then why did Deluge have an icon in Gnome without the optional dependencies installed?
Because the .desktop file is part of the upstream source, it's always created as part of the build procedure.
I did not mean "what is the direct cause of the icon". I meant "why did the maintainers choose to include the icon when there is no GUI application to link it to" (see below).
I don't see why there is an issue with these optional dependencies at all, the deluge wiki page is perfectly clear on the subject.
The issue is that a broken `.desktop` file is being added. The fact of the matter is that if both Deluge and some window manager have been installed, `pygtk` should become a mandatory dependency. Unfortunately, pacman is not capable of that kind of reasoning.
See an earlier post of mine for some more general problems I have with the pacman dependency system.
Last edited by mhelvens (2014-07-24 13:11:37)
Offline
The issue is that a broken `.desktop` file is being added. The fact of the matter is that if both Deluge and some window manager have been installed, `pygtk` should become a mandatory dependency. Unfortunately, pacman is not capable of that kind of reasoning.
And if someone has X installed for other things but only wants to use deluge on the CLI?
Don't blame pacman for your shortcomings. It was very explicit when you installed it that pygtk would be needed for the GUI.
Offline
mhelvens wrote:The issue is that a broken `.desktop` file is being added. The fact of the matter is that if both Deluge and some window manager have been installed, `pygtk` should become a mandatory dependency. Unfortunately, pacman is not capable of that kind of reasoning.
And if someone has X installed for other things but only wants to use deluge on the CLI?
True. Ideally there would be a third package (say, `deluge-gui`) which has both `deluge` and `pygtk` as dependencies and adds the `.desktop` file. The `.desktop` file should not be in the `deluge` package itself, however.
Don't blame pacman for your shortcomings. It was very explicit when you installed it that pygtk would be needed for the GUI.
Yes, I know. I accepted the blame for that one four posts ago.
I'm blaming pacman for other stuff right now. ;-)
Last edited by mhelvens (2014-07-24 13:30:13)
Offline
True. Ideally there would be a third package (say, `deluge-gui`) which has both `deluge` and `pygtk` as dependencies and adds the `.desktop` file. The `.desktop` file should not be in the `deluge` package itself, however.
Adding extra complexity because some people don't want to pay attention to what pacman tells them makes no sense.
Offline
mhelvens wrote:True. Ideally there would be a third package (say, `deluge-gui`) which has both `deluge` and `pygtk` as dependencies and adds the `.desktop` file. The `.desktop` file should not be in the `deluge` package itself, however.
Adding extra complexity because some people don't want to pay attention to what pacman tells them makes no sense.
You're missing the point. If, as you say, "someone has X installed for other things but only wants to use deluge on the CLI", there will be a broken deluge icon in X.
Offline
So what?
Offline
Helped me too!! Thnx
Offline