I then built libtorrent 1.1.0.0 into a directory I had access to using the --prefix flag for ./configure. This all went fine. I then copied the resulting libtorrent.so to Deluge's folder with the source file.
I ran "export LD_LIBRARY_PATH=/pathtolibtorrentlibrary". I then went to my deluge folder that had the actual executables and ran "./deluged --version". The output came back just fine as:
deluged: 1.3.12
libtorrent: 1.1.0.0
All good so far. So now to run deluge i did "./deluged -c ~/.config/delugeTest" (I created another config folder for this specific version of deluge)
And I get this error: (I removed the names of top level directories since this is on shared box)
Code: Select all
[ERROR ] 01:25:09 component:118 [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'peer_tos'
/****/****/****/deluge/deluge/main.py:230:start_daemon
/****/****/****/deluge/deluge/core/daemon.py:161:__init__
/****/****/****/deluge/deluge/component.py:296:start
/****/****/****/deluge/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/****/****/****/deluge/deluge/core/preferencesmanager.py:170:start
/****/****/****/deluge/deluge/config.py:312:register_set_function
/****/****/****/deluge/deluge/core/preferencesmanager.py:290:_on_set_peer_tos
/****/****/****/deluge/deluge/core/preferencesmanager.py:237:session_set_setting
]
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/****/****/****/deluge/deluge/main.py", line 230, in start_daemon
Daemon(options, args)
File "/****/****/****/deluge/deluge/core/daemon.py", line 161, in __init__
component.start("PreferencesManager")
File "/****/****/****/deluge/deluge/component.py", line 296, in start
deferreds.append(self.components[name]._component_start())
File "/****/****/****/deluge/deluge/component.py", line 124, in _component_start
d = maybeDeferred(self.start)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
result = f(*args, **kw)
File "/****/****/****/deluge/deluge/core/preferencesmanager.py", line 170, in start
self._on_set_peer_tos)
File "/****/****/****/deluge/deluge/config.py", line 312, in register_set_function
function(key, self.__config[key])
File "/****/****/****/deluge/deluge/core/preferencesmanager.py", line 290, in _on_set_peer_tos
self.session_set_setting("peer_tos", chr(int(value, 16)))
File "/****/****/****/deluge/deluge/core/preferencesmanager.py", line 237, in session_set_setting
setattr(settings, key, value)
exceptions.AttributeError: 'dict' object has no attribute 'peer_tos'
[ERROR ] 01:25:09 component:118 [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'peer_tos'
/****/****/****/deluge/deluge/main.py:230:start_daemon
/****/****/****/deluge/deluge/core/daemon.py:169:__init__
/****/****/****/deluge/deluge/component.py:296:start
/****/****/****/deluge/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/****/****/****/deluge/deluge/core/preferencesmanager.py:170:start
/****/****/****/deluge/deluge/config.py:312:register_set_function
/****/****/****/deluge/deluge/core/preferencesmanager.py:290:_on_set_peer_tos
/****/****/****/deluge/deluge/core/preferencesmanager.py:237:session_set_setting
]