Page 1 of 1

Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 09, 2008 11:22 am
by zooounds
One day when I started Deluge it stopped working. I had not updated it. All I get is a white screen and a the deluge process take 50% CPU (like one of my cores).

This is the output. What do I do? I miss Deluge...

Code: Select all

[INFO    ] 13:18:59 main:93 Deluge ui 0.9.08
[DEBUG   ] 13:18:59 main:94 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG   ] 13:18:59 main:95 args: []
[DEBUG   ] 13:18:59 configmanager:44 ConfigManager started..
[INFO    ] 13:18:59 main:98 Starting ui..
[DEBUG   ] 13:18:59 ui:44 UI init..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'ui.conf'
[DEBUG   ] 13:18:59 config:47 Config created with filename: ui.conf
[DEBUG   ] 13:18:59 config:48 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 13:18:59 ui:60 Starting GtkUI..
[DEBUG   ] 13:18:59 client:54 CoreProxy init..
[DEBUG   ] 13:18:59 configmanager:69 get_config_dir: /home/f/.config/deluge
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:18:59 config:47 Config created with filename: gtkui.conf
[DEBUG   ] 13:18:59 config:48 Config defaults: {'autoadd_queued': False, 'close_to_tray': True, 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'autoconnect_host_uri': None, 'window_maximized': False, 'enable_system_tray': True, 'show_sidebar': True, 'window_x_pos': 0, 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50, 100, 200, 300, 500], 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/home/f', 'check_new_releases': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/f/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'interactive_add': True, 'signal_port': 40000}
0.9.08
[DEBUG   ] 13:18:59 gtkui:165 retcode: 0
[DEBUG   ] 13:18:59 component:102 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:18:59 component:102 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 13:18:59 component:102 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 13:18:59 ipcinterface:83 Processing args from other process: []
[DEBUG   ] 13:18:59 ipcinterface:86 Not connected to host.. Adding to queue.
[INFO    ] 13:18:59 dbusinterface:82 Registering with DBUS..
[DEBUG   ] 13:18:59 component:102 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:18:59 mainwindow:84 Showing window
[DEBUG   ] 13:18:59 menubar:49 MenuBar init..
[DEBUG   ] 13:18:59 component:102 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:18:59 component:102 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 13:18:59 toolbar:48 ToolBar Init..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
/var/lib/python-support/python2.5/deluge/ui/gtkui/toolbar.py:77: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
  component.get("MenuBar").torrentmenu_glade.get_widget("remove_torrent_menu"))
[DEBUG   ] 13:18:59 component:102 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 13:18:59 listview:124 ListView initialized..
[DEBUG   ] 13:18:59 torrentview:110 TorrentView Init..
[DEBUG   ] 13:18:59 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:18:59 listview:193 Loading ListView state file: torrentview.state
[DEBUG   ] 13:19:00 component:102 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 torrentdetails:384 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 13:19:00 torrentdetails:65 parent: None
[DEBUG   ] 13:19:00 torrentdetails:65 parent: None
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 files_tab:216 Loading FilesTab state file: files_tab.state
[DEBUG   ] 13:19:00 torrentdetails:65 parent: None
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 peers_tab:176 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 13:19:00 torrentdetails:65 parent: None
[DEBUG   ] 13:19:00 torrentdetails:65 parent: None
[DEBUG   ] 13:19:00 component:102 Registered SideBar with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 component:102 Registered Preferences with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 component:102 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 config:158 Registering function for enable_system_tray key..
[DEBUG   ] 13:19:00 systemtray:76 Enabling the system tray icon..
[DEBUG   ] 13:19:00 component:102 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 component:102 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 13:19:00 component:102 Registered Signals with ComponentRegistry..
[DEBUG   ] 13:19:00 signalreceiver:52 SignalReceiver init..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 config:117 Setting 'signal_port' to 42166 of <type 'int'>
[DEBUG   ] 13:19:00 coreconfig:40 CoreConfig init..
[DEBUG   ] 13:19:00 component:102 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 13:19:00 component:102 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 pluginmanagerbase:48 Plugin manager init..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 13:19:00 configmanager:69 get_config_dir: /home/f/.config/deluge
[DEBUG   ] 13:19:00 pluginmanagerbase:95 Found plugin: Test Plugin 1.0
[DEBUG   ] 13:19:00 pluginmanagerbase:95 Found plugin: Blocklist 1.0
[DEBUG   ] 13:19:00 pluginmanagerbase:95 Found plugin: Label 0.1
[DEBUG   ] 13:19:00 component:102 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'hostlist.conf'
[DEBUG   ] 13:19:00 config:47 Config created with filename: hostlist.conf
[DEBUG   ] 13:19:00 config:48 Config defaults: {'hosts': ['localhost:58846']}
[DEBUG   ] 13:19:00 configmanager:88 Getting config 'gtkui.conf'
[INFO    ] 13:19:00 client:112 Setting core uri as http://localhost:58846
[DEBUG   ] 13:19:00 client:144 Creating ServerProxy..
[DEBUG   ] 13:19:00 component:125 Starting component SystemTray..
[DEBUG   ] 13:19:00 component:125 Starting component Signals..
[DEBUG   ] 13:19:00 component:125 Starting component PluginManager..
[DEBUG   ] 13:19:00 component:125 Starting component Preferences..
[DEBUG   ] 13:19:00 component:125 Starting component DbusInterface..
[DEBUG   ] 13:19:00 component:125 Starting component StatusBar..
[DEBUG   ] 13:19:01 component:125 Starting component AddTorrentDialog..
... and hang ...

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 16, 2008 9:33 pm
by xbj9000
similar/same issue today after allowing Deluge to upgrade in Hardy..

Code: Select all

rick@Kutulu:~$ deluge
[INFO    ] 14:45:18 main:93 Deluge ui 0.9.09
[DEBUG   ] 14:45:18 main:94 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG   ] 14:45:18 main:95 args: []
[DEBUG   ] 14:45:18 configmanager:44 ConfigManager started..
[INFO    ] 14:45:18 main:98 Starting ui..
[DEBUG   ] 14:45:18 ui:44 UI init..
[DEBUG   ] 14:45:18 configmanager:88 Getting config 'ui.conf'
[DEBUG   ] 14:45:18 config:47 Config created with filename: ui.conf
[DEBUG   ] 14:45:18 config:48 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 14:45:18 ui:60 Starting GtkUI..
[DEBUG   ] 14:45:18 client:54 CoreProxy init..
[DEBUG   ] 14:45:18 configmanager:69 get_config_dir: /home/rick/.config/deluge
[DEBUG   ] 14:45:18 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:18 config:47 Config created with filename: gtkui.conf
[DEBUG   ] 14:45:18 config:48 Config defaults: {'autoadd_queued': False, 'close_to_tray': True, 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'autoconnect_host_uri': None, 'window_maximized': False, 'enable_system_tray': True, 'show_sidebar': True, 'window_x_pos': 0, 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50, 100, 200, 300, 500], 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/home/rick', 'check_new_releases': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/rick/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'interactive_add': True, 'signal_port': 40000}
0.9.09
[DEBUG   ] 14:45:18 gtkui:165 retcode: 0
[DEBUG   ] 14:45:18 component:102 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 14:45:18 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:18 component:102 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 14:45:18 component:102 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 14:45:18 ipcinterface:83 Processing args from other process: []
[DEBUG   ] 14:45:18 ipcinterface:86 Not connected to host.. Adding to queue.
[INFO    ] 14:45:18 dbusinterface:82 Registering with DBUS..
[DEBUG   ] 14:45:18 component:102 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 14:45:18 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:18 mainwindow:84 Showing window
[DEBUG   ] 14:45:19 menubar:49 MenuBar init..
[DEBUG   ] 14:45:19 component:102 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 component:102 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 14:45:19 toolbar:48 ToolBar Init..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
/var/lib/python-support/python2.5/deluge/ui/gtkui/toolbar.py:77: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
  component.get("MenuBar").torrentmenu_glade.get_widget("remove_torrent_menu"))
[DEBUG   ] 14:45:19 component:102 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 14:45:19 listview:124 ListView initialized..
[DEBUG   ] 14:45:19 torrentview:110 TorrentView Init..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 listview:193 Loading ListView state file: torrentview.state
[WARNING ] 14:45:19 listview:198 Unable to load state file: [Errno 2] No such file or directory: '/home/rick/.config/deluge/torrentview.state'
[DEBUG   ] 14:45:19 component:102 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 torrentdetails:384 Loading TorrentDetails state file: tabs.state
[WARNING ] 14:45:19 torrentdetails:389 Unable to load state file: [Errno 2] No such file or directory: '/home/rick/.config/deluge/tabs.state'
[DEBUG   ] 14:45:19 torrentdetails:65 parent: None
[DEBUG   ] 14:45:19 torrentdetails:65 parent: None
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 files_tab:216 Loading FilesTab state file: files_tab.state
[WARNING ] 14:45:19 files_tab:221 Unable to load state file: [Errno 2] No such file or directory: '/home/rick/.config/deluge/files_tab.state'
[DEBUG   ] 14:45:19 torrentdetails:65 parent: None
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 peers_tab:176 Loading PeersTab state file: peers_tab.state
[WARNING ] 14:45:19 peers_tab:181 Unable to load state file: [Errno 2] No such file or directory: '/home/rick/.config/deluge/peers_tab.state'
[DEBUG   ] 14:45:19 torrentdetails:65 parent: None
[DEBUG   ] 14:45:19 torrentdetails:65 parent: None
[DEBUG   ] 14:45:19 component:102 Registered SideBar with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 component:102 Registered Preferences with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 component:102 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 config:158 Registering function for enable_system_tray key..
[DEBUG   ] 14:45:19 systemtray:76 Enabling the system tray icon..
[DEBUG   ] 14:45:19 component:102 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 component:102 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 14:45:19 component:102 Registered Signals with ComponentRegistry..
[DEBUG   ] 14:45:19 signalreceiver:52 SignalReceiver init..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 config:117 Setting 'signal_port' to 46718 of <type 'int'>
[DEBUG   ] 14:45:19 coreconfig:40 CoreConfig init..
[DEBUG   ] 14:45:19 component:102 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 14:45:19 component:102 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 pluginmanagerbase:48 Plugin manager init..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:45:19 configmanager:69 get_config_dir: /home/rick/.config/deluge
[DEBUG   ] 14:45:19 pluginmanagerbase:95 Found plugin: Blocklist 1.0
[DEBUG   ] 14:45:19 pluginmanagerbase:95 Found plugin: Label 0.1
[DEBUG   ] 14:45:19 component:102 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'hostlist.conf'
[DEBUG   ] 14:45:19 config:47 Config created with filename: hostlist.conf
[DEBUG   ] 14:45:19 config:48 Config defaults: {'hosts': ['localhost:58846']}
[DEBUG   ] 14:45:19 configmanager:88 Getting config 'gtkui.conf'
Killed
rick@Kutulu:~$ 
I run 64bit Hardy, if that's significant..

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 16, 2008 9:55 pm
by loki
I don't know other than trying a clean install, rather than upgrade.

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 16, 2008 10:02 pm
by xbj9000
well I'm afraid of losing my torrents.. also I did try apt-get remove then apt-get installing it again, but that changed nothing..

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 16, 2008 11:11 pm
by xbj9000
here's the contents of my deluged.log:

Code: Select all

[DEBUG   ] 15:21:52 configmanager:44 ConfigManager started..
[INFO    ] 15:21:52 daemon:44 Deluge daemon 0.9.09
[DEBUG   ] 15:21:52 daemon:45 options: {'logfile': None, 'config': None, 'port': 58846, 'donot': False}
[DEBUG   ] 15:21:52 daemon:46 args: []
Traceback (most recent call last):
  File "/usr/bin/deluged", line 8, in <module>
    load_entry_point('deluge==0.9.09', 'console_scripts', 'deluged')()
  File "/var/lib/python-support/python2.5/deluge/main.py", line 169, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 50, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 49, in <module>
    import deluge.libtorrent as lt
ImportError: libboost_iostreams-gcc42-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory


Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Tue Sep 16, 2008 11:17 pm
by andar
This is because you didn't use the official deb. The debs in zachtib's PPA do not have the proper dependencies set and thus do not work.

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Wed Sep 17, 2008 12:00 am
by xbj9000
installing libboost-python1.34.1 from Synaptic seems to have solved this problem for me

installing libboost-iostreams1.34.1 may also be needed..

Re: Deluge suddenly stopped working on Ubuntu Hardy

Posted: Wed Sep 17, 2008 12:47 am
by andar
I have spoken with zachtib and he has fixed his debs in the ppa.