Install error on ARM-based NAS

General support for problems installing or using Deluge
Post Reply
agnaramasi
New User
New User
Posts: 4
Joined: Sun Dec 06, 2009 7:38 am

Install error on ARM-based NAS

Post by agnaramasi »

I am trying to install Deluge 1.3.0 from the source tarball on an ARM-based NAS but have encountered the following error when checking for a clean build environment:

Code: Select all

Traceback (most recent call last):
  File "setup.py", line 219, in <module>
    if subprocess.call(['./get_libtorrent.sh']) > 0:
  File "/opt/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/opt/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/opt/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
All dependencies have been installed either from repositories or from source. I get this error using either python 2.5 or 2.6. I am not the most technical person in the world (i don't know python), but I certainly would appreciate any help, especially if this is a simple or trivial problem that is easily solved.
Thanks!
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Install error on ARM-based NAS

Post by johnnyg »

That error means that it couldn't find the script 'get_libtorrent.sh' (a script used to get the latest libtorrent source) which should be in the root of the source tarball.
However if you've already installed libtorrent and its python bindings then you shouldn't be trying to download the libtorrent source.
You can test if libtorrent & its python bindings are working by running: python -c 'import libtorrent'
agnaramasi
New User
New User
Posts: 4
Joined: Sun Dec 06, 2009 7:38 am

Re: Install error on ARM-based NAS

Post by agnaramasi »

Thanks for the reply. I now know that the python bindings for libtorrent were not installed. No such package is available in my repositories. My only option, then, is to compile libtorrent myself with python bindings enabled?
I appreciate your help.
Post Reply