I am using deluge 1.3.6 on ubuntu 12.04.2 lts and I have a persistent problem with deluge.
First of all I set deluge to start on "startup", it workes fine except that from time to time it won't start at all neither at startup or console or menu(unity dash/launcher).
For me to fix it i need to delete the files from /home/$USER/.config/deluge/ipc , but still after a short time the problem comes back, and with each fix the problem appears to come more often.Isn't there a way to fix it?
Deluge problems
Re: Deluge problems
Can you start deluge with logging and see if there are any messages?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Re: Deluge problems
I'm sorry but what do you mean by "with logging"?(or how to do it)
-------------------------------------
Is this ok?"deluge -L debug -l <logfile>"
or what logging level?(critical,warnings,debug,errors).
-------------------------------------
Is this ok?"deluge -L debug -l <logfile>"
or what logging level?(critical,warnings,debug,errors).
Re: Deluge problems
Code: Select all
[INFO ] 20:23:49 main:125 Deluge ui 1.3.6
[DEBUG ] 20:23:49 main:126 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': '/home/adi/deluge.log', 'config': None}
[DEBUG ] 20:23:49 main:127 args: []
[DEBUG ] 20:23:49 main:128 ui_args: []
[INFO ] 20:23:49 main:131 Starting ui..
[DEBUG ] 20:23:49 ui:129 UI init..
[DEBUG ] 20:23:49 configmanager:111 Getting config 'ui.conf'
[DEBUG ] 20:23:49 config:197 Setting 'default_ui' to gtk of <type 'str'>
[DEBUG ] 20:23:49 config:391 Config /home/adi/.config/deluge/ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[INFO ] 20:23:49 ui:148 Starting GtkUI..
[WARNING ] 20:23:49 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[DEBUG ] 20:23:49 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:23:49 config:197 Setting 'close_to_tray' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_sound_path' to /home/adi/Descărcări of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'window_width' to 640 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'default_load_path' to None of <type 'NoneType'>
[DEBUG ] 20:23:49 config:197 Setting 'window_y_pos' to 0 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_email' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'tray_upload_speed_list' to [5.0, 10.0, 30.0, 80.0, 300.0] of <type 'list'>
[DEBUG ] 20:23:49 config:197 Setting 'show_statusbar' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_popup' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_pass' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'tray_download_speed_list' to [5.0, 10.0, 30.0, 80.0, 300.0] of <type 'list'>
[DEBUG ] 20:23:49 config:197 Setting 'window_maximized' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'enable_system_tray' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'show_sidebar' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'show_connection_manager_on_start' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'lock_tray' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'createtorrent.trackers' to [] of <type 'list'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_sound' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'tray_password' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'focus_add_dialog' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_server' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'start_in_tray' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_tray_blink' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'check_new_releases' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'autoadd_queued' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'pref_dialog_width' to None of <type 'NoneType'>
[DEBUG ] 20:23:49 config:197 Setting 'autoadd_enable' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'autoconnect_host_id' to None of <type 'NoneType'>
[DEBUG ] 20:23:49 config:197 Setting 'classic_mode' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'window_pane_position' to -1 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'enabled_plugins' to [] of <type 'list'>
[DEBUG ] 20:23:49 config:197 Setting 'show_rate_in_title' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'pref_dialog_height' to None of <type 'NoneType'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_username' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'interactive_add' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'sidebar_show_zero' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'window_x_pos' to 0 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'window_height' to 480 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_security' to None of <type 'NoneType'>
[DEBUG ] 20:23:49 config:197 Setting 'connection_limit_list' to [50, 100, 200, 300, 500] of <type 'list'>
[DEBUG ] 20:23:49 config:197 Setting 'sidebar_position' to 170 of <type 'int'>
[DEBUG ] 20:23:49 config:197 Setting 'show_new_releases' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'autoconnect' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'choose_directory_dialog_path' to /home/adi/Descărcări of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'sidebar_show_trackers' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'autostart_localhost' to False of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'show_toolbar' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'autoadd_location' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'enable_appindicator' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'focus_main_window_on_add' to True of <type 'bool'>
[DEBUG ] 20:23:49 config:197 Setting 'ntf_email_add' to of <type 'str'>
[DEBUG ] 20:23:49 config:197 Setting 'signal_port' to 40000 of <type 'int'>
[DEBUG ] 20:23:49 config:391 Config /home/adi/.config/deluge/gtkui.conf version: 1.1 loaded: {'close_to_tray': True, 'ntf_sound_path': u'/home/adi/Desc\u0103rc\u0103ri', 'window_width': 1229, 'default_load_path': None, 'window_y_pos': 24, 'ntf_email': False, 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'show_statusbar': True, 'ntf_popup': False, 'ntf_pass': u'', 'show_sidebar': True, 'window_maximized': False, 'enable_system_tray': True, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'show_connection_manager_on_start': True, 'lock_tray': False, 'createtorrent.trackers': [], 'ntf_sound': False, 'tray_password': u'', 'focus_add_dialog': True, 'ntf_server': u'', 'start_in_tray': True, 'ntf_tray_blink': True, 'check_new_releases': False, 'pref_dialog_height': 560, 'autoadd_queued': False, 'pref_dialog_width': 761, 'autoconnect_host_id': None, 'classic_mode': True, 'window_pane_position': 259, 'focus_main_window_on_add': True, 'show_rate_in_title': True, 'autoadd_enable': False, 'ntf_username': u'', 'interactive_add': True, 'sidebar_show_zero': False, 'window_x_pos': 49, 'window_height': 503, 'ntf_security': None, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'show_new_releases': False, 'autoconnect': False, 'choose_directory_dialog_path': u'/home/adi/Desc\u0103rc\u0103ri', 'sidebar_show_trackers': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': u'', 'enable_appindicator': True, 'enabled_plugins': [], 'ntf_email_add': u'', 'signal_port': 40000}
[DEBUG ] 20:23:49 configmanager:111 Getting config 'gtkui.conf'
[DEBUG ] 20:23:49 ipcinterface:127 Checking if lockfile exists: /home/adi/.config/deluge/ipc/deluge-gtk.lock
[INFO ] 20:23:49 ipcinterface:144 Deluge is already running! Sending arguments to running instance...
[WARNING ] 20:23:49 ipcinterface:84 Connection to running instance failed.
[ERROR ] 20:23:49 ipcinterface:156 Deluge restart failed: Couldn't listen on any:/home/adi/.config/deluge/ipc/deluge-gtk: Cannot acquire lock.
Re: Deluge problems
This issue is persistent until 13.10, I changed my torrent client since I've didn't found a workaround and sick of periodically going to deluge configuration directory to delete the contents of the ipc directory.
Re: Deluge problems
It simply sounds like deluge is not shutting down properly, when you shutdown the OS. I did put a potential fix in for the next 1.3 release: http://dev.deluge-torrent.org/changeset/7bd87d1a
You always setup deluged with an upstart script so it's running in the background.
You always setup deluged with an upstart script so it's running in the background.