I have a QNAP-NAS TS-219P+. Since there is no package available for Deluge, I decided to try and install from source.
After lots of searching and trying I've managed to get all the dependencies installed that are listed here under Core.
I thought I didn't need GTK because I won't use the GUI on my NAS itself. I did install the mako package.
After getting all these dependencies, I installed deluge and deluged.
When I try to run deluged I get a syntax error but I don't know what to do now...
Code: Select all
[~] # cd /opt/local/bin
[/opt/local/bin] # ./deluged
[/opt/local/bin] # Traceback (most recent call last):
File "./deluged", line 8, in <module>
load_entry_point('deluge==1.3.5-dev', 'console_scripts', 'deluged')()
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/main.py", line 201, in start_daemon
open_logfile()
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/main.py", line 184, in open_logfile
options.logfile = deluge.configmanager.get_config_dir("deluged.log")
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/configmanager.py", line 130, in get_config_dir
return os.path.join(_configmanager.get_config_dir(), filename)
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/configmanager.py", line 93, in get_config_dir
return self.config_directory
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/configmanager.py", line 51, in config_directory
self.__config_directory = deluge.common.get_default_config_dir()
File "/share/MD0_DATA/.qpkg/Optware/local/lib/python2.5/site-packages/deluge-1.3.5_dev-py2.5.egg/deluge/common.py", line 162, in get_default_config_dir
import xdg.BaseDirectory
File "/opt/local/lib/python2.5/site-packages/xdg/BaseDirectory.py", line 58
os.makedirs(path, 0o700)
^
SyntaxError: invalid syntax
Thanks in advance for helping me out!