You are not logged in.

#1 2012-05-12 22:29:52

memax
Member
Registered: 2012-04-27
Posts: 19

[SOLVED] error message when launching deluge

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

#2 2012-05-12 22:56:11

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: [SOLVED] error message when launching deluge

Strange, are you up to date?

Try installing python-gobject

Offline

#3 2012-05-12 23:08:19

memax
Member
Registered: 2012-04-27
Posts: 19

Re: [SOLVED] error message when launching deluge

nothing changed after reinstalling python-gobject and yes i am fully updated.
could it be because ck-launch-session in ~/.xinitrc ?

Offline

#4 2012-05-13 00:28:38

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] error message when launching deluge

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

#5 2012-05-13 00:40:15

memax
Member
Registered: 2012-04-27
Posts: 19

Re: [SOLVED] error message when launching deluge

solved. you just gave me another taste about how things-dependancies work in arch linux. thanks a lot

Offline

#6 2012-05-13 00:43:25

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] error message when launching deluge

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

#7 2013-05-17 03:05:04

Killerc
Member
Registered: 2013-05-17
Posts: 1

Re: [SOLVED] error message when launching deluge

hadrons123 wrote:

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

#8 2013-05-17 04:37:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [SOLVED] error message when launching deluge

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

#9 2013-05-17 04:39:33

The 8th Cell Junior
Member
From: Illinois
Registered: 2011-07-18
Posts: 8

Re: [SOLVED] error message when launching deluge

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

#10 2014-07-24 11:18:24

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: [SOLVED] error message when launching deluge

Thanks for that! I wonder why this is still not fixed in the official repositories even now.

Offline

#11 2014-07-24 11:33:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] error message when launching deluge

Offline

#12 2014-07-24 11:47:43

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: [SOLVED] error message when launching deluge

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

#13 2014-07-24 12:43:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] error message when launching deluge

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 don't see why there is an issue with these optional dependencies at all, the deluge wiki page is perfectly clear on the subject.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#14 2014-07-24 13:00:52

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: [SOLVED] error message when launching deluge

slithery wrote:
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

#15 2014-07-24 13:23:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] error message when launching deluge

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?

Don't blame pacman for your shortcomings. It was very explicit when you installed it that pygtk would be needed for the GUI.

Offline

#16 2014-07-24 13:29:38

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: [SOLVED] error message when launching deluge

Scimmia wrote:
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

#17 2014-07-24 13:38:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] error message when launching deluge

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.

Offline

#18 2014-07-24 13:41:02

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: [SOLVED] error message when launching deluge

Scimmia wrote:
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

#19 2014-07-24 13:43:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] error message when launching deluge

So what?

Offline

#20 2016-10-18 07:41:29

amansubhan
Member
Registered: 2016-09-28
Posts: 1

Re: [SOLVED] error message when launching deluge

Helped me too!! Thnx

Offline

Board footer

Powered by FluxBB