You are not logged in.

#1 2012-11-04 12:32:30

ivka
Member
Registered: 2012-10-16
Posts: 15

errors with torrent client

Hello.
I tried to install some torrent client, but I have errors, I tried to install all optional dependencies, but it doesn't work.
What can I do in such situation?
*other torrent clients have similar errors

[ivan@crocodile ~]$ sudo pacman -S deluge
.......................
>>> The optional headless daemon started using deluged.service uses the "deluge" user.
    Its default download directory is /srv/deluge.
Optional dependencies for deluge
    python2-notify: libnotify notifications
    pygtk: needed for gtk ui
    librsvg: needed for gtk ui
    python2-mako: needed for web ui
[ivan@crocodile ~]$ deluge
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

it is with qtorrent:

[ivan@crocodile ~]$ sudo pacman -S qtorrent
.......
[ivan@crocodile ~]$ qtorrent
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

Last edited by ivka (2012-11-04 12:42:40)

Offline

#2 2012-11-04 16:11:33

MyLordAngus
Member
Registered: 2010-12-23
Posts: 10

Re: errors with torrent client

I can reproduce the ImportError by manually setting the PYTHONHOME env variable. Try running the command 'unset PYTHONHOME' before launching deluge.

Offline

#3 2012-11-04 17:52:16

ivka
Member
Registered: 2012-10-16
Posts: 15

Re: errors with torrent client

No, it doesn't work
but I had upgrade python2 and I start to have other errors:
of deluge

[ivan@crocodile Downloads]$ deluge
Traceback (most recent call last):
  File "/usr/bin/deluge", line 9, in <module>
    load_entry_point('deluge==1.3.5', 'gui_scripts', 'deluge')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2017, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/deluge/main.py", line 47, in <module>
    import deluge.common
  File "/usr/lib/python2.7/site-packages/deluge/common.py", line 44, in <module>
    import chardet
ImportError: No module named chardet

and of qtorrent

[ivan@crocodile Downloads]$ qtorrent
Traceback (most recent call last):
  File "/usr/bin/qtorrent", line 10, in <module>
    from qt import QApplication
RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1

so now my questions are : how can I install API v8.1 for qtorrent and what can I do with deluge?

Offline

#4 2012-11-04 18:41:41

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: errors with torrent client

Is your system up do date? Do you have a custom kernel?

Offline

#5 2012-11-04 18:45:11

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: errors with torrent client

There are several problems with python libraries. I'd try Transmission instead, which doesn't rely on python. It is not the kernel!

Offline

#6 2012-11-04 19:26:54

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: errors with torrent client

swanson wrote:

There are several problems with python libraries. I'd try Transmission instead, which doesn't rely on python. It is not the kernel!

It's probably not the kernel but it's better to check if the system is up to date anyway.

Offline

#7 2012-11-04 20:40:24

ivka
Member
Registered: 2012-10-16
Posts: 15

Re: errors with torrent client

well, I had upgraded basic system : pacman -S base base-devel, I didn't notice any changes...
my system is :'Current Release: 2012.11.01  Included Kernel: 3.6.4 '...
about of Transmission....yes, it works well but I'd like repair problems of deluge
Thank you very much!!!

Offline

#8 2012-11-05 00:20:54

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: errors with torrent client

pacman -Syu?

Offline

#9 2012-11-05 03:08:22

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: errors with torrent client

I'm sure your Deluge problems are related to Python. I know that python arch packages have gone through some renaming and it is likely that Deluge deps are not in sync.

Offline

#10 2012-11-05 14:54:30

unifiedlinux
Member
Registered: 2012-11-03
Posts: 20

Re: errors with torrent client

Do "pacman -Syu" to upgrade your system and make sure it's up to date, and yeah you may want to try Transmission "pacman -S transmission-gtk" or if you want the daemon/cli version which has a web interface and runs in background then you need "pacman -S transmission-cli".

Offline

#11 2012-11-08 23:19:36

Gat
Member
Registered: 2012-06-06
Posts: 16

Re: errors with torrent client

Similar problems here on a fresh Arch install.

qtorrent:

Traceback (most recent call last):
  File "/usr/bin/qtorrent", line 10, in <module>
    from qt import QApplication
RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1

deluge:

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   ] 23:17:54 ui:169 There was an error whilst launching the request UI: gtk
[ERROR   ] 23:17:54 ui:170 Look at the traceback above for more information.

Offline

#12 2012-11-09 13:12:18

Gat
Member
Registered: 2012-06-06
Posts: 16

Re: errors with torrent client

I was able to solve problem with deluge (with help of hirnbrot@reddit: http://www.reddit.com/r/archlinux/comme … _clients/) by simply reinstalling its dependencies. Check if that works for you.

Offline

Board footer

Powered by FluxBB