Page 1 of 1

Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 3:40 am
by moted
I just upgraded from 1.2.0 (which was working fine) via the PPA.

Linux 2.6.32-16-generic x86_64 GNU/Linux
deluge 1.2.1-2~lucid~ppa1
deluge-common 1.2.1-2~lucid~ppa1
deluge-gtk 1.2.1-2~lucid~ppa1
libtorrent-restarbar5 0.14.9-2~lucidppa1
python-libtorrent 0.14.9-2~lucid~ppa1

On start-up I get the following errors

Debug log
ryan@athos:~:> deluge-gtk -L debug
/usr/bin/deluge-gtk:5: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
from pkg_resources import load_entry_point
Gtk-Message: Failed to load module "gnomenu-panel": libgnomenu-panel.so: cannot open shared object file: No such file or directory
[INFO ] 20:21:33 ui:101 Deluge ui 1.2.1
[DEBUG ] 20:21:33 ui:102 options: {'loglevel': 'debug', 'logfile': None, 'config': None, 'quiet': False}
[DEBUG ] 20:21:33 ui:103 args: []
[INFO ] 20:21:33 ui:104 Starting ui..
[DEBUG ] 20:21:33 gtkui:172 GNOME session 'die' handler registered!
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 config:377 Config /home/ryan/.config/deluge/gtkui.conf version: 1.1 loaded: {'close_to_tray': True, 'ntf_sound_path': u'/home/ryan', 'window_width': 1624, 'default_load_path': None, 'window_y_pos': 0, 'ntf_email': False, 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 345.0], 'show_statusbar': True, 'ntf_popup': False, 'ntf_pass': u'', 'show_sidebar': True, u'autoconnect_host_uri': None, 'window_maximized': True, 'enable_system_tray': True, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 900.0], 'show_connection_manager_on_start': False, 'lock_tray': False, 'createtorrent.trackers': [], 'ntf_sound': False, 'tray_password': u'', 'focus_add_dialog': True, 'ntf_server': u'', 'start_in_tray': False, 'ntf_tray_blink': True, 'check_new_releases': False, 'autoadd_queued': False, 'autoconnect_host_id': None, 'classic_mode': True, 'window_pane_position': 576, 'enabled_plugins': [], 'show_rate_in_title': False, 'autoadd_enable': False, 'ntf_username': u'', 'interactive_add': True, 'sidebar_show_zero': True, 'window_x_pos': 0, 'window_height': 993, 'ntf_security': None, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'show_new_releases': False, 'autoconnect': True, 'choose_directory_dialog_path': u'/home/ryan/torrent', 'sidebar_show_trackers': True, 'autostart_localhost': True, 'show_toolbar': True, 'autoadd_location': u'', u'config_location': u'/home/ryan/.config/deluge', 'ntf_email_add': u'', 'signal_port': 41266}
[DEBUG ] 20:21:33 component:99 Registered QueuedTorrents with ComponentRegistry..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 component:99 Registered IPCInterface with ComponentRegistry..
[DEBUG ] 20:21:33 ipcinterface:110 Checking if lockfile exists: /home/ryan/.config/deluge/ipc/deluge-gtk.lock
[DEBUG ] 20:21:33 ipcinterface:146 Processing args from other process: []
[DEBUG ] 20:21:33 ipcinterface:149 Not connected to host.. Adding to queue.
[DEBUG ] 20:21:33 component:99 Registered TrackerIcons with ComponentRegistry..
[DEBUG ] 20:21:33 component:99 Registered MainWindow with ComponentRegistry..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 config:290 Registering function for show_rate_in_title key..
[DEBUG ] 20:21:33 menubar:53 MenuBar init..
[DEBUG ] 20:21:33 component:99 Registered MenuBar with ComponentRegistry..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 config:290 Registering function for classic_mode key..
[DEBUG ] 20:21:33 component:99 Registered ToolBar with ComponentRegistry..
[DEBUG ] 20:21:33 toolbar:51 ToolBar Init..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 config:290 Registering function for classic_mode key..
[DEBUG ] 20:21:33 component:99 Registered TorrentView with ComponentRegistry..
[DEBUG ] 20:21:33 listview:136 ListView initialized..
[DEBUG ] 20:21:33 listview:247 Loading ListView state file: torrentview.state
[DEBUG ] 20:21:33 torrentview:160 TorrentView Init..
[DEBUG ] 20:21:33 component:99 Registered TorrentDetails with ComponentRegistry..
[DEBUG ] 20:21:33 torrentdetails:430 Loading TorrentDetails state file: tabs.state
[DEBUG ] 20:21:33 torrentdetails:148 weights: []
[DEBUG ] 20:21:33 torrentdetails:149 weight of tab: 0
[DEBUG ] 20:21:33 torrentdetails:184 Trying to insert tab at -1
[DEBUG ] 20:21:33 torrentdetails:69 parent: None
[DEBUG ] 20:21:33 torrentdetails:189 Tab inserted at 0
[DEBUG ] 20:21:33 files_tab:265 Loading FilesTab state file: files_tab.state
[DEBUG ] 20:21:33 torrentdetails:148 weights: [(0, 'Status')]
[DEBUG ] 20:21:33 torrentdetails:149 weight of tab: 2
[DEBUG ] 20:21:33 torrentdetails:184 Trying to insert tab at -1
[DEBUG ] 20:21:33 torrentdetails:69 parent: None
[DEBUG ] 20:21:33 torrentdetails:189 Tab inserted at 1
[DEBUG ] 20:21:33 peers_tab:209 Loading PeersTab state file: peers_tab.state
[DEBUG ] 20:21:33 torrentdetails:148 weights: [(0, 'Status'), (2, 'Files')]
[DEBUG ] 20:21:33 torrentdetails:149 weight of tab: 3
[DEBUG ] 20:21:33 torrentdetails:184 Trying to insert tab at -1
[DEBUG ] 20:21:33 torrentdetails:69 parent: None
[DEBUG ] 20:21:33 torrentdetails:189 Tab inserted at 2
[DEBUG ] 20:21:33 torrentdetails:148 weights: [(0, 'Status'), (2, 'Files'), (3, 'Peers')]
[DEBUG ] 20:21:33 torrentdetails:149 weight of tab: 1
[DEBUG ] 20:21:33 torrentdetails:155 Found pos 1
[DEBUG ] 20:21:33 torrentdetails:184 Trying to insert tab at 1
[DEBUG ] 20:21:33 torrentdetails:69 parent: None
[DEBUG ] 20:21:33 torrentdetails:189 Tab inserted at 1
[DEBUG ] 20:21:33 torrentdetails:148 weights: [(0, 'Status'), (1, 'Details'), (2, 'Files'), (3, 'Peers')]
[DEBUG ] 20:21:33 torrentdetails:149 weight of tab: 4
[DEBUG ] 20:21:33 torrentdetails:184 Trying to insert tab at -1
[DEBUG ] 20:21:33 torrentdetails:69 parent: None
[DEBUG ] 20:21:33 torrentdetails:189 Tab inserted at 4
[DEBUG ] 20:21:33 component:99 Registered SideBar with ComponentRegistry..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 component:99 Registered FilterTreeView with ComponentRegistry..
[DEBUG ] 20:21:33 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:33 sidebar:85 add tab:filters
[DEBUG ] 20:21:33 filtertreeview:268 nothing selected
[DEBUG ] 20:21:33 component:99 Registered Preferences with ComponentRegistry..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 component:99 Registered SystemTray with ComponentRegistry..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 config:290 Registering function for enable_system_tray key..
[DEBUG ] 20:21:34 systemtray:80 Enabling the system tray icon..
[DEBUG ] 20:21:34 component:99 Registered StatusBar with ComponentRegistry..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 component:99 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG ] 20:21:34 component:99 Registered PluginManager with ComponentRegistry..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 pluginmanagerbase:65 Plugin manager init..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Extractor 0.1
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Execute 1.2
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Stats 0.3.1
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Blocklist 1.2
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Label 0.1
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: WebUi 0.1
[DEBUG ] 20:21:34 pluginmanagerbase:116 Found plugin: Scheduler 0.1
[DEBUG ] 20:21:34 component:99 Registered ConnectionManager with ComponentRegistry..
[DEBUG ] 20:21:34 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:21:34 configmanager:111 Getting config 'hostlist.conf.1.2'
[DEBUG ] 20:21:34 config:377 Config /home/ryan/.config/deluge/hostlist.conf.1.2 version: 1.1 loaded: {'hosts': [[u'9bdb648ba86737773788073b34c0cd156f5bc907', u'127.0.0.1', 58846, u'', u'']]}
[DEBUG ] 20:21:34 gtkui:260 _on_reactor_start
[DEBUG ] 20:21:34 mainwindow:98 Showing window
[DEBUG ] 20:21:34 config:208 Setting 'window_pane_position' to 685 of <type 'int'>
[DEBUG ] 20:21:34 mainwindow:177 pos: (0, 0)
[DEBUG ] 20:21:34 config:208 Setting 'window_pane_position' to 749 of <type 'int'>
[DEBUG ] 20:21:34 config:208 Setting 'window_pane_position' to 576 of <type 'int'>
[INFO ] 20:21:34 daemon:129 Deluge daemon 1.2.1
[DEBUG ] 20:21:34 daemon:130 options: None
[DEBUG ] 20:21:34 daemon:131 args: None
[WARNING ] 20:21:39 config:405 Unable to open config file: /home/ryan/.config/deluge/gtkui.conf
[DEBUG ] 20:21:39 config:411 Saving new config file /home/ryan/.config/deluge/gtkui.conf.new
[DEBUG ] 20:21:39 config:424 Backing up old config file to /home/ryan/.config/deluge/gtkui.conf~
[DEBUG ] 20:21:39 config:432 Moving new config file /home/ryan/.config/deluge/gtkui.conf.new to /home/ryan/.config/deluge/gtkui.conf..
Warning message:
Error Starting Core
There was an error starting the core component which is required to run Deluge in Classic Mode.

Details:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 275, in _on_reactor_start
client.start_classic_mode()
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 531, in start_classic_mode
self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 408, in __init__
self.__daemon = deluge.core.daemon.Daemon(classic=True)
File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 136, in __init__
from deluge.core.core import Core
File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: libboost_system-mt.so.1.38.0: cannot open shared object file: No such file or directory
I tried reinstalling the C and Python boost modules, to no avail. I also reinstall systemtools due to this error message
ryan@athos:~:> deluge-gtk --version
/usr/bin/deluge-gtk:5: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
from pkg_resources import load_entry_point
1.2.1
After reinstalling python 2.6 and a complete purge and reinstall of deluge I'm a bit stuck. Any help would be appreciated.

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 3:25 pm
by Cas

Code: Select all

Gtk-Message: Failed to load module "gnomenu-panel": libgnomenu-panel.so: cannot open shared object file: No such file or directory
Did you try fixing that error with the solution from here

Code: Select all

cd /usr/lib/gtk-2.0/modules
sudo ln -s libglobalmenu-gnome-panel.so libgnomenu-panel.so

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 4:18 pm
by moted
That issue was pretty much just cosmetic, a relic of using the globalmenu for 5 minutes before deciding that I didn't like it. But, thanks for the info, I was able to take care of that problem.

Any other ideas as far as the deluge issue?

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 4:50 pm
by Cas
That issue was pretty much just cosmetic
Ah I thought as much.
Any other ideas as far as the deluge issue?
You picked up on the libboost error but did you check the versions installed in lucid (i.e. is 1.38.0 installed)?

I'm still running Karmic so I can't test this myself.

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 6:46 pm
by moted
It looks like only 1.40 and 1.41 of boost are available in the repos

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Tue Mar 16, 2010 6:58 pm
by moted
I tried sym linking it to the newer version but it still throws the error.

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Wed Mar 17, 2010 1:03 pm
by Cas
I tested Deluge on a VM Lucid without any of the issues you encountered. Have you tried completely reinstalling deluge?

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Wed Mar 17, 2010 4:42 pm
by moted
I just did a complete purge and reinstall, still the same boost issue as mentioned. I do want to note that this machine was upgraded from Karmic and is not a clean install of Lucid.

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Sat Mar 20, 2010 11:30 pm
by moted
I was able to get past the libboost import errors by symlinking them

Code: Select all

sudo ln -s libboost_system-mt.so libboost_system-mt.so.1.38.0
sudo ln -s libboost_filesystem-mt.so libboost_filesystem-mt.so.1.38.0
sudo ln -s libboost_thread-mt.so libboost_thread-mt.so.1.38.0
Now I'm getting a new error:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 275, in _on_reactor_start
client.start_classic_mode()
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 531, in start_classic_mode
self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 408, in __init__
self.__daemon = deluge.core.daemon.Daemon(classic=True)
File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 136, in __init__
from deluge.core.core import Core
File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: /usr/local/lib/libtorrent-rasterbar.so.5: undefined symbol: _ZN5boost10filesystem6detail13copy_file_apiERKSsS3_
Not sure what to do there. The libtorrent-rasterbar5 package was installed from the lucid PPA. Version 0.14.9-2.

The PPA is also not updated with 1.2.2 yet, I'm assuming it will be up shortly tho

Re: Deluge 1.2.1 fails to start in classic mode on Lucid

Posted: Wed Mar 24, 2010 3:04 am
by moted
I compiled the latest source and installed it. Same issue with the lack of dependency.

It think it's time to separate my /home/ partition and install Arch.