1.3.0_rc fails to run

Specific support for Deluge on Microsoft Windows OS
Post Reply
ndx

1.3.0_rc fails to run

Post by ndx »

Hi all.

Been running deluge on linux for quite a while with no issues. Thought I might as well install it on windows. As others have reported, it fails to run. I have already reinstalled deluge and gtk several times in different order and have tried different combinations version wise.
Currently 1.3.0_rc is installed with latest gtk. I tried running deluge.cmd, deluge.exe and deluge-gtk.exe with -L debug -l <filename> parameter with some sort of success. Outputs are below.

Content of log file when running deluge-gtk.exe -L debug -l deluge-gtk.exe.log (which actually starts the app with gui):

Code: Select all

[INFO    ] 02:23:12 ui:101 Deluge ui 1.3.0-rc1
[DEBUG   ] 02:23:12 ui:102 options: {'loglevel': 'debug', 'logfile': 'deluge-gtk.log', 'config': None, 'quiet': False}
[DEBUG   ] 02:23:12 ui:103 args: []
[INFO    ] 02:23:12 ui:104 Starting ui..
[WARNING ] 02:23:12 gtkui:174 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 config:377 Config C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf version: 1.1 loaded: {'close_to_tray': True, 'ntf_sound_path': u'C:\\Users\\ndlarsen', 'window_width': 640, 'default_load_path': None, 'window_y_pos': 198, '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': False, 'ntf_tray_blink': True, 'check_new_releases': True, 'autoadd_queued': False, 'autoconnect_host_id': None, 'classic_mode': True, 'window_pane_position': 178, 'enabled_plugins': [], 'show_rate_in_title': False, 'autoadd_enable': False, 'ntf_username': u'', 'interactive_add': True, 'sidebar_show_zero': False, 'window_x_pos': 198, 'window_height': 480, 'ntf_security': None, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'show_new_releases': True, 'autoconnect': False, 'choose_directory_dialog_path': u'C:\\Users\\ndlarsen', 'sidebar_show_trackers': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': u'', 'ntf_email_add': u'', 'signal_port': 40000}
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 ipcinterface:189 Processing args from other process: []
[DEBUG   ] 02:23:12 ipcinterface:192 Not connected to host.. Adding to queue.
[DEBUG   ] 02:23:12 sessionproxy:55 SessionProxy init..
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 config:290 Registering function for show_rate_in_title key..
[DEBUG   ] 02:23:12 menubar:53 MenuBar init..
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 config:290 Registering function for classic_mode key..
[DEBUG   ] 02:23:12 toolbar:51 ToolBar Init..
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 config:290 Registering function for classic_mode key..
[DEBUG   ] 02:23:12 listview:168 ListView initialized..
[DEBUG   ] 02:23:12 listview:279 Loading ListView state file: torrentview.state
[DEBUG   ] 02:23:12 torrentview:179 TorrentView Init..
[DEBUG   ] 02:23:12 torrentdetails:430 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 02:23:12 torrentdetails:148 weights: []
[DEBUG   ] 02:23:12 torrentdetails:149 weight of tab: 0
[DEBUG   ] 02:23:12 torrentdetails:184 Trying to insert tab at -1
[DEBUG   ] 02:23:12 torrentdetails:69 parent: None
[DEBUG   ] 02:23:12 torrentdetails:189 Tab inserted at 0
[DEBUG   ] 02:23:12 files_tab:261 Loading FilesTab state file: files_tab.state
[DEBUG   ] 02:23:12 torrentdetails:148 weights: [(0, 'Status')]
[DEBUG   ] 02:23:12 torrentdetails:149 weight of tab: 2
[DEBUG   ] 02:23:12 torrentdetails:184 Trying to insert tab at -1
[DEBUG   ] 02:23:12 torrentdetails:69 parent: None
[DEBUG   ] 02:23:12 torrentdetails:189 Tab inserted at 1
[DEBUG   ] 02:23:12 peers_tab:209 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 02:23:12 torrentdetails:148 weights: [(0, 'Status'), (2, 'Files')]
[DEBUG   ] 02:23:12 torrentdetails:149 weight of tab: 3
[DEBUG   ] 02:23:12 torrentdetails:184 Trying to insert tab at -1
[DEBUG   ] 02:23:12 torrentdetails:69 parent: None
[DEBUG   ] 02:23:12 torrentdetails:189 Tab inserted at 2
[DEBUG   ] 02:23:12 torrentdetails:148 weights: [(0, 'Status'), (2, 'Files'), (3, 'Peers')]
[DEBUG   ] 02:23:12 torrentdetails:149 weight of tab: 1
[DEBUG   ] 02:23:12 torrentdetails:155 Found pos 1
[DEBUG   ] 02:23:12 torrentdetails:184 Trying to insert tab at 1
[DEBUG   ] 02:23:12 torrentdetails:69 parent: None
[DEBUG   ] 02:23:12 torrentdetails:189 Tab inserted at 1
[DEBUG   ] 02:23:12 torrentdetails:148 weights: [(0, 'Status'), (1, 'Details'), (2, 'Files'), (3, 'Peers')]
[DEBUG   ] 02:23:12 torrentdetails:149 weight of tab: 4
[DEBUG   ] 02:23:12 torrentdetails:184 Trying to insert tab at -1
[DEBUG   ] 02:23:12 torrentdetails:69 parent: None
[DEBUG   ] 02:23:12 torrentdetails:189 Tab inserted at 4
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:12 sidebar:85 add tab:filters
[DEBUG   ] 02:23:12 filtertreeview:273 nothing selected
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 config:290 Registering function for enable_system_tray key..
[DEBUG   ] 02:23:13 systemtray:80 Enabling the system tray icon..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: AutoAdd 0.28
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Execute 1.2
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Blocklist 1.2
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Extractor 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Label 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Notifications 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: WebUi 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Scheduler 0.1
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'hostlist.conf.1.2'
[WARNING ] 02:23:13 config:347 Unable to open config file C:\Users\ndlarsen\AppData\Roaming\deluge\hostlist.conf.1.2: [Errno 2] No such file or directory: 'C:\\Users\\ndlarsen\\AppData\\Roaming\\deluge\\hostlist.conf.1.2'
[DEBUG   ] 02:23:13 gtkui:284 _on_reactor_start
[DEBUG   ] 02:23:13 mainwindow:99 Showing window
[DEBUG   ] 02:23:13 config:208 Setting 'window_pane_position' to 193 of <type 'int'>
[DEBUG   ] 02:23:13 config:208 Setting 'window_pane_position' to 178 of <type 'int'>
[INFO    ] 02:23:13 daemon:129 Deluge daemon 1.3.0-rc1
[DEBUG   ] 02:23:13 daemon:130 options: None
[DEBUG   ] 02:23:13 daemon:131 args: None
[DEBUG   ] 02:23:13 core:73 Core init..
[INFO    ] 02:23:13 core:77 Starting libtorrent 0.14.10.0 session..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 config:377 Config C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf version: 1.1 loaded: {'info_sent': 0.0, 'lsd': True, 'send_info': False, 'move_completed_path': u'C:\\Users\\ndlarsen', 'enc_in_policy': 1, 'queue_new_to_top': False, 'ignore_limits_on_local_network': True, 'rate_limit_ip_overhead': True, 'daemon_port': 58846, 'natpmp': True, 'max_active_limit': 8, 'utpex': True, 'max_active_downloading': 3, 'max_active_seeding': 5, 'allow_remote': False, 'max_half_open_connections': 4, 'download_location': u'C:\\Users\\ndlarsen', 'compact_allocation': False, 'max_upload_speed': -1.0, 'cache_expiry': 60, 'prioritize_first_last_pieces': False, 'auto_managed': True, 'enc_level': 2, 'max_connections_per_second': 20, 'dont_count_slow_torrents': False, 'random_outgoing_ports': True, 'max_upload_slots_per_torrent': -1, 'new_release_check': True, 'enc_out_policy': 1, 'outgoing_ports': [0, 0], 'seed_time_limit': 180, 'cache_size': 512, 'share_ratio_limit': 2.0, 'max_download_speed': -1.0, 'geoip_db_location': u'/usr/share/GeoIP/GeoIP.dat', 'torrentfiles_location': u'C:\\Users\\ndlarsen', 'stop_seed_at_ratio': False, 'peer_tos': u'0x00', 'listen_interface': u'', 'upnp': True, 'max_download_speed_per_torrent': -1, 'max_upload_slots_global': 4, 'enabled_plugins': [], 'random_port': True, 'autoadd_enable': False, 'max_connections_global': 200, 'enc_prefer_rc4': True, 'listen_ports': [6881, 6891], 'dht': True, 'stop_seed_ratio': 2.0, 'seed_time_ratio_limit': 7.0, 'max_upload_speed_per_torrent': -1, 'copy_torrent_file': False, 'del_copy_torrent_file': False, 'move_completed': False, 'proxies': {u'peer': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'web_seed': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'tracker': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'dht': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}}, 'add_paused': False, 'max_connections_per_torrent': -1, 'remove_seed_at_ratio': False, 'autoadd_location': u'C:\\Users\\ndlarsen', 'plugins_location': u'C:\\Users\\ndlarsen\\AppData\\Roaming\\deluge\\plugins'}
[DEBUG   ] 02:23:13 alertmanager:53 AlertManager initialized..
[DEBUG   ] 02:23:13 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: AutoAdd 0.28
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Execute 1.2
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Blocklist 1.2
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Extractor 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Label 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Notifications 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: WebUi 0.1
[DEBUG   ] 02:23:13 pluginmanagerbase:116 Found plugin: Scheduler 0.1
[DEBUG   ] 02:23:13 torrentmanager:128 TorrentManager init..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 config:290 Registering function for max_connections_per_torrent key..
[DEBUG   ] 02:23:13 torrentmanager:768 max_connections_per_torrent set to -1..
[DEBUG   ] 02:23:13 config:290 Registering function for max_upload_slots_per_torrent key..
[DEBUG   ] 02:23:13 torrentmanager:774 max_upload_slots_per_torrent set to -1..
[DEBUG   ] 02:23:13 config:290 Registering function for max_upload_speed_per_torrent key..
[DEBUG   ] 02:23:13 torrentmanager:779 max_upload_speed_per_torrent set to -1..
[DEBUG   ] 02:23:13 config:290 Registering function for max_download_speed_per_torrent key..
[DEBUG   ] 02:23:13 torrentmanager:784 max_download_speed_per_torrent set to -1..
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert torrent_finished_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert torrent_paused_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert torrent_checked_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert tracker_reply_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert tracker_announce_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert tracker_warning_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert tracker_error_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert storage_moved_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert torrent_resumed_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert state_changed_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert save_resume_data_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert save_resume_data_failed_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert file_renamed_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert metadata_received_alert
[DEBUG   ] 02:23:13 alertmanager:96 Registered handler for alert file_error_alert
[DEBUG   ] 02:23:13 filtermanager:105 FilterManager init..
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 config:290 Registering function for autoadd_enable key..
[DEBUG   ] 02:23:13 autoadd:124 _on_autoadd_enable
[DEBUG   ] 02:23:13 config:290 Registering function for autoadd_location key..
[DEBUG   ] 02:23:13 autoadd:131 _on_autoadd_location
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.add_torrent_file
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.add_torrent_magnet
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.add_torrent_url
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.connect_peer
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.create_torrent
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.disable_plugin
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.enable_plugin
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.force_reannounce
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.force_recheck
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_available_plugins
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_cache_status
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_config
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_config_value
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_config_values
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_enabled_plugins
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_filter_tree
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_free_space
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_libtorrent_version
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_listen_port
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_num_connections
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_path_size
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_session_state
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_session_status
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_torrent_status
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.get_torrents_status
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.glob
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.move_storage
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.pause_all_torrents
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.pause_torrent
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.queue_bottom
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.queue_down
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.queue_top
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.queue_up
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.remove_torrent
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.rename_files
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.rename_folder
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.rescan_plugins
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.resume_all_torrents
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.resume_torrent
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_config
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_auto_managed
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_file_priorities
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_max_connections
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_max_download_speed
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_max_upload_slots
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_max_upload_speed
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_move_completed
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_move_completed_path
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_options
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_prioritize_first_last
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_remove_at_ratio
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_stop_at_ratio
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_stop_ratio
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.set_torrent_trackers
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.test_listen_port
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: core.upload_plugin
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: daemon.get_method_list
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: daemon.info
[DEBUG   ] 02:23:13 rpcserver:391 Registering method: daemon.shutdown
[DEBUG   ] 02:23:13 config:290 Registering function for torrentfiles_location key..
[DEBUG   ] 02:23:13 config:290 Registering function for listen_ports key..
[DEBUG   ] 02:23:13 config:290 Registering function for listen_interface key..
[DEBUG   ] 02:23:13 preferencesmanager:257 random port value set to True
[DEBUG   ] 02:23:13 preferencesmanager:271 listen port range set to 59422-59432
[DEBUG   ] 02:23:13 config:290 Registering function for random_port key..
[DEBUG   ] 02:23:13 preferencesmanager:257 random port value set to True
[DEBUG   ] 02:23:13 preferencesmanager:271 listen port range set to 63146-63156
[DEBUG   ] 02:23:13 config:290 Registering function for outgoing_ports key..
[DEBUG   ] 02:23:13 config:290 Registering function for random_outgoing_ports key..
[DEBUG   ] 02:23:13 config:290 Registering function for peer_tos key..
[DEBUG   ] 02:23:13 preferencesmanager:285 setting peer_tos to: 0x00
[DEBUG   ] 02:23:13 config:290 Registering function for dht key..
[DEBUG   ] 02:23:13 preferencesmanager:295 dht value set to True
[DEBUG   ] 02:23:13 config:290 Registering function for upnp key..
[DEBUG   ] 02:23:13 preferencesmanager:317 upnp value set to True
[DEBUG   ] 02:23:13 config:290 Registering function for natpmp key..
[DEBUG   ] 02:23:13 preferencesmanager:324 natpmp value set to True
[DEBUG   ] 02:23:13 config:290 Registering function for utpex key..
[DEBUG   ] 02:23:13 preferencesmanager:338 utpex value set to True
[DEBUG   ] 02:23:13 config:290 Registering function for lsd key..
[DEBUG   ] 02:23:13 preferencesmanager:331 lsd value set to True
[DEBUG   ] 02:23:13 config:290 Registering function for enc_in_policy key..
[DEBUG   ] 02:23:13 preferencesmanager:343 encryption value enc_in_policy set to 1..
[DEBUG   ] 02:23:13 preferencesmanager:357 encryption settings:
			out_policy: enabled
		        in_policy: enabled
			level: both
			prefer_rc4: True
[DEBUG   ] 02:23:13 config:290 Registering function for enc_out_policy key..
[DEBUG   ] 02:23:13 preferencesmanager:343 encryption value enc_out_policy set to 1..
[DEBUG   ] 02:23:13 preferencesmanager:357 encryption settings:
			out_policy: enabled
		        in_policy: enabled
			level: both
			prefer_rc4: True
[DEBUG   ] 02:23:13 config:290 Registering function for enc_level key..
[DEBUG   ] 02:23:13 preferencesmanager:343 encryption value enc_level set to 2..
[DEBUG   ] 02:23:13 preferencesmanager:357 encryption settings:
			out_policy: enabled
		        in_policy: enabled
			level: both
			prefer_rc4: True
[DEBUG   ] 02:23:13 config:290 Registering function for enc_prefer_rc4 key..
[DEBUG   ] 02:23:13 preferencesmanager:343 encryption value enc_prefer_rc4 set to True..
[DEBUG   ] 02:23:13 preferencesmanager:357 encryption settings:
			out_policy: enabled
		        in_policy: enabled
			level: both
			prefer_rc4: True
[DEBUG   ] 02:23:13 config:290 Registering function for max_connections_global key..
[DEBUG   ] 02:23:13 preferencesmanager:360 max_connections_global set to 200..
[DEBUG   ] 02:23:13 config:290 Registering function for max_upload_speed key..
[DEBUG   ] 02:23:13 preferencesmanager:364 max_upload_speed set to -1.0..
[DEBUG   ] 02:23:13 config:290 Registering function for max_download_speed key..
[DEBUG   ] 02:23:13 preferencesmanager:374 max_download_speed set to -1.0..
[DEBUG   ] 02:23:13 config:290 Registering function for max_upload_slots_global key..
[DEBUG   ] 02:23:13 preferencesmanager:383 max_upload_slots_global set to 4..
[DEBUG   ] 02:23:13 config:290 Registering function for max_half_open_connections key..
[DEBUG   ] 02:23:13 config:290 Registering function for max_connections_per_second key..
[DEBUG   ] 02:23:13 config:290 Registering function for ignore_limits_on_local_network key..
[DEBUG   ] 02:23:13 config:290 Registering function for share_ratio_limit key..
[DEBUG   ] 02:23:13 preferencesmanager:398 share_ratio_limit set to 2.0..
[DEBUG   ] 02:23:13 config:290 Registering function for seed_time_ratio_limit key..
[DEBUG   ] 02:23:13 preferencesmanager:403 seed_time_ratio_limit set to 7.0..
[DEBUG   ] 02:23:13 config:290 Registering function for seed_time_limit key..
[DEBUG   ] 02:23:13 preferencesmanager:408 seed_time_limit set to 180..
[DEBUG   ] 02:23:13 config:290 Registering function for max_active_downloading key..
[DEBUG   ] 02:23:13 preferencesmanager:414 max_active_downloading set to 3..
[DEBUG   ] 02:23:13 preferencesmanager:415 active_downloads: 8
[DEBUG   ] 02:23:13 config:290 Registering function for max_active_seeding key..
[DEBUG   ] 02:23:13 preferencesmanager:420 max_active_seeding set to 5..
[DEBUG   ] 02:23:13 preferencesmanager:421 active_seeds: 5
[DEBUG   ] 02:23:13 config:290 Registering function for max_active_limit key..
[DEBUG   ] 02:23:13 preferencesmanager:426 max_active_limit set to 8..
[DEBUG   ] 02:23:13 preferencesmanager:427 active_limit: 15
[DEBUG   ] 02:23:13 config:290 Registering function for dont_count_slow_torrents key..
[DEBUG   ] 02:23:13 preferencesmanager:432 dont_count_slow_torrents set to False..
[DEBUG   ] 02:23:13 config:290 Registering function for send_info key..
[DEBUG   ] 02:23:13 preferencesmanager:437 Sending anonymous stats..
[DEBUG   ] 02:23:13 config:290 Registering function for proxies key..
[DEBUG   ] 02:23:13 config:290 Registering function for new_release_check key..
[DEBUG   ] 02:23:13 preferencesmanager:468 Checking for new release..
[DEBUG   ] 02:23:13 core:173 get_new_release
[DEBUG   ] 02:23:13 config:290 Registering function for rate_limit_ip_overhead key..
[DEBUG   ] 02:23:13 preferencesmanager:493 rate_limit_ip_overhead: True
[DEBUG   ] 02:23:13 config:290 Registering function for geoip_db_location key..
[DEBUG   ] 02:23:13 preferencesmanager:498 geoip_db_location: /usr/share/GeoIP/GeoIP.dat
[WARNING ] 02:23:13 preferencesmanager:506 Unable to find GeoIP database file!
[DEBUG   ] 02:23:13 config:290 Registering function for cache_size key..
[DEBUG   ] 02:23:13 preferencesmanager:516 cache_size: 512
[DEBUG   ] 02:23:13 config:290 Registering function for cache_expiry key..
[DEBUG   ] 02:23:13 preferencesmanager:521 cache_expiry: 60
[DEBUG   ] 02:23:13 client:429 daemon created!
[DEBUG   ] 02:23:13 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 02:23:13 torrentmanager:573 Opening torrent state file for load.
[WARNING ] 02:23:13 torrentmanager:589 Unable to update state file to a compatible version: list index out of range
[DEBUG   ] 02:23:13 torrentmanager:685 Opening torrents fastresume file for load.
[WARNING ] 02:23:13 torrentmanager:691 Unable to load fastresume file: [Errno 2] No such file or directory: 'C:\\Users\\ndlarsen\\AppData\\Roaming\\deluge\\state\\torrents.fastresume'
[DEBUG   ] 02:23:13 rpcserver:447 intevents: {}
[DEBUG   ] 02:23:13 alertmanager:123 listen_succeeded_alert: successfully listening on 0.0.0.0:59422
[DEBUG   ] 02:23:13 alertmanager:123 listen_succeeded_alert: successfully listening on [::]:59422
[DEBUG   ] 02:23:13 alertmanager:123 listen_succeeded_alert: successfully listening on 0.0.0.0:63146
[DEBUG   ] 02:23:13 alertmanager:123 listen_succeeded_alert: successfully listening on [::]:63146
[DEBUG   ] 02:23:13 pluginmanager:88 Core has these plugins enabled: []
[DEBUG   ] 02:23:13 config:208 Setting 'window_pane_position' to 175 of <type 'int'>
[DEBUG   ] 02:23:13 alertmanager:123 udp_error_alert: UDP error: No connection could be made because the target machine actively refused it from: 0.0.0.0
[DEBUG   ] 02:23:14 core:185 new_release: 1.3.0_rc1
[DEBUG   ] 02:23:14 alertmanager:123 udp_error_alert: UDP error: No connection could be made because the target machine actively refused it from: 0.0.0.0
[DEBUG   ] 02:23:15 alertmanager:123 portmap_alert: successfully mapped port using UPnP. external port: 63146
[DEBUG   ] 02:23:15 alertmanager:123 portmap_alert: successfully mapped port using UPnP. external port: 63146
[DEBUG   ] 02:23:18 config:411 Saving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf.new
[DEBUG   ] 02:23:18 config:424 Backing up old config file to C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf~
[DEBUG   ] 02:23:18 config:432 Moving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf.new to C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf..
[DEBUG   ] 02:23:18 alertmanager:123 udp_error_alert: UDP error: No connection could be made because the target machine actively refused it from: 0.0.0.0
[DEBUG   ] 02:23:24 alertmanager:123 udp_error_alert: UDP error: No connection could be made because the target machine actively refused it from: 0.0.0.0
[DEBUG   ] 02:23:24 alertmanager:123 udp_error_alert: UDP error: No connection could be made because the target machine actively refused it from: 0.0.0.0
[DEBUG   ] 02:23:27 systemtray:300 on_menuitem_show_deluge_activate
[DEBUG   ] 02:23:28 systemtray:322 on_menuitem_quit_activate
[DEBUG   ] 02:23:28 gtkui:243 gtkui shutting down..
[DEBUG   ] 02:23:28 filtertreeview:273 nothing selected
[WARNING ] 02:23:28 config:405 Unable to open config file: C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf
[DEBUG   ] 02:23:28 config:411 Saving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf.new
[DEBUG   ] 02:23:28 config:424 Backing up old config file to C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf~
[DEBUG   ] 02:23:28 config:432 Moving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf.new to C:\Users\ndlarsen\AppData\Roaming\deluge\core.conf..
[DEBUG   ] 02:23:28 torrentmanager:645 Saving torrent state file.
[DEBUG   ] 02:23:28 files_tab:247 Saving FilesTab state file: files_tab.state
[DEBUG   ] 02:23:28 peers_tab:195 Saving FilesTab state file: peers_tab.state
[DEBUG   ] 02:23:28 torrentdetails:406 Testing name: Status
[DEBUG   ] 02:23:28 torrentdetails:409 Set to Status 1
[DEBUG   ] 02:23:28 torrentdetails:406 Testing name: Details
[DEBUG   ] 02:23:28 torrentdetails:409 Set to Details 1
[DEBUG   ] 02:23:28 torrentdetails:406 Testing name: Files
[DEBUG   ] 02:23:28 torrentdetails:409 Set to Files 1
[DEBUG   ] 02:23:28 torrentdetails:406 Testing name: Peers
[DEBUG   ] 02:23:28 torrentdetails:409 Set to Peers 1
[DEBUG   ] 02:23:28 torrentdetails:406 Testing name: Options
[DEBUG   ] 02:23:28 torrentdetails:409 Set to Options 1
[DEBUG   ] 02:23:28 torrentdetails:416 Saving TorrentDetails state file: tabs.state
[DEBUG   ] 02:23:28 sidebar:67 hpaned.position: 170
[DEBUG   ] 02:23:28 listview:265 Saving ListView state file: torrentview.state
[WARNING ] 02:23:28 config:405 Unable to open config file: C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf
[DEBUG   ] 02:23:28 config:411 Saving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf.new
[DEBUG   ] 02:23:29 config:424 Backing up old config file to C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf~
[DEBUG   ] 02:23:29 config:432 Moving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf.new to C:\Users\ndlarsen\AppData\Roaming\deluge\gtkui.conf..

conf..

C:\Program Files\inet\Deluge>
And output from command prompt when running deluge-gtk.exe -L debug -l deluge-gtk.exe.log:

Code: Select all

C:\Program Files\inet\Deluge>Deluge-Python\deluge-gtk.exe -L debug -l deluge-gtk
.log
c:\program files\inet\deluge\deluge-python\deluge-1.3.0_rc1-py2.6.egg\deluge\ui\
gtkui\mainwindow.py:63: GtkWarning: Mixing deprecated and non-deprecated GtkTool
bar API is not allowed
Traceback (most recent call last):
  File "deluge\ui\gtkui\gtkui.py", line 238, in __init__

  File "twisted/internet/gtk2reactor.py", line 327, in run

  File "twisted/internet/gtk2reactor.py", line 338, in simulate

  File "twisted/internet/base.py", line 601, in iterate

--- <exception caught here> ---
  File "twisted/internet/base.py", line 778, in runUntilCurrent

  File "twisted/internet/base.py", line 552, in stop

twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.


C:\Program Files\inet\Deluge>
Content of log file when running deluge.exe -L debug -l deluge.exe.log (gives no gui):

Code: Select all

[INFO    ] 02:30:01 main:114 Deluge ui 1.3.0-rc1
[DEBUG   ] 02:30:01 main:115 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': 'deluge.exe.log', 'config': None}
[DEBUG   ] 02:30:01 main:116 args: []
[DEBUG   ] 02:30:01 main:117 ui_args: []
[INFO    ] 02:30:01 main:120 Starting ui..
[DEBUG   ] 02:30:01 ui:109 UI init..
[DEBUG   ] 02:30:01 configmanager:111 Getting config 'ui.conf'
[DEBUG   ] 02:30:01 config:377 Config C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[WARNING ] 02:30:01 config:405 Unable to open config file: C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf
[DEBUG   ] 02:30:01 config:411 Saving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf.new
[DEBUG   ] 02:30:01 config:424 Backing up old config file to C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf~
[DEBUG   ] 02:30:01 config:432 Moving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf.new to C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf..
[INFO    ] 02:30:01 ui:126 Starting GtkUI..
And output from command prompt when running deluge.exe -L debug -l deluge.exe.log:

Code: Select all

C:\Program Files\inet\Deluge>Deluge-Python\deluge.exe -L debug -l deluge.exe.log

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 105, in <module>
  File "__main__deluge__.py", line 8, in <module>
  File "deluge\main.py", line 121, in start_ui
  File "deluge\ui\ui.py", line 127, in __init__
  File "deluge\ui\gtkui\__init__.py", line 1, in <module>
  File "deluge\ui\gtkui\gtkui.py", line 39, in <module>
  File "twisted/internet/gtk2reactor.py", line 365, in portableInstall
  File "twisted/internet/selectreactor.py", line 72, in __init__
  File "twisted/internet/posixbase.py", line 171, in __init__
  File "twisted/internet/base.py", line 470, in __init__
  File "twisted/internet/base.py", line 892, in _initThreads
  File "twisted/internet/posixbase.py", line 207, in installWaker
  File "twisted/internet/posixbase.py", line 70, in __init__
  File "socket.py", line 182, in __init__
socket.error: [Errno 10013] An attempt was made to access a socket in a way forb
idden by its access permissions

C:\Program Files\inet\Deluge>
Content of log file when running deluge.cmd -L debug -l deluge.cmd.log (Gives no gui):

Code: Select all

[INFO    ] 02:33:32 main:114 Deluge ui 1.3.0-rc1
[DEBUG   ] 02:33:32 main:115 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': 'deluge.cmd.log', 'config': None}
[DEBUG   ] 02:33:32 main:116 args: []
[DEBUG   ] 02:33:32 main:117 ui_args: []
[INFO    ] 02:33:32 main:120 Starting ui..
[DEBUG   ] 02:33:32 ui:109 UI init..
[DEBUG   ] 02:33:32 configmanager:111 Getting config 'ui.conf'
[DEBUG   ] 02:33:32 config:377 Config C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[WARNING ] 02:33:32 config:405 Unable to open config file: C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf
[DEBUG   ] 02:33:32 config:411 Saving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf.new
[DEBUG   ] 02:33:32 config:424 Backing up old config file to C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf~
[DEBUG   ] 02:33:32 config:432 Moving new config file C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf.new to C:\Users\ndlarsen\AppData\Roaming\deluge\ui.conf..
[INFO    ] 02:33:32 ui:126 Starting GtkUI..
Deluge.cmd yields no output to the command promt as you'd propably expect.

I hope this is somewhat useful to you. Keep up the good work.

Cheers

EDIT:

Forgot to mention that I googled the socket error related stuff. Not sure this is of any use to you but i stumbled upon this: http://stackoverflow.com/questions/2778 ... -way-forbi

SECOND EDIT:

Running Windows Vista Business 32-bit
defaultname365
New User
New User
Posts: 4
Joined: Tue Jun 22, 2010 1:30 pm
Location: Kuala Lumpur, Malaysia

Re: 1.3.0_rc fails to run

Post by defaultname365 »

:D Here is how I solved my "Deluge won't open" problem (after half a day of tinkering)

...for some odd reason, Deluge + GTK were not good buddies anymore. After I uninstalled Deluge 1.1.7, and tried out version 1.3.0-rc1, every version of Deluge 'permanently' refused to work together. All issues related to the GUI not appearing. The solutions were 'EASY'.

In order to solve this issue, this is what I did:

STEP 1 : UNINSTALLATION
- Uninstall Deluge
- Uninstall GTK+
- Go to "C:\Program Files". Delete any GTK folder if present.
- Go to Run command (Alt + R on keyboard). Type "%appdata%"
- A folder of APPDATA/ROAMING will appear, delete Deluge and GTK folders if present

STEP 2: INSTALLATION
- Install "deluge-1.3.0-rc1-win32-setup"
Download location: http://download.deluge-torrent.org/wind ... -setup.exe
- Install as usual, in my case in the default location "C:\Program Files\Deluge\..."
- Install GTK+ Runtime Installer
Download location: http://downloads.sourceforge.net/gtk-wi ... e?download
- Install as usual, in my case in the default location "C:\Program Files\GTK2-Runtime\..."
- Installation options leave it default, I chose "Compatibiltiy DLLs" option though
- After install completes, ENJOY! No... this is where the issue arises

STEP 3: COPY/PASTE
- Now you need to copy and paste "Bin", "Library" and "Share" folders from "C:\Program Files\GTK2-Runtime\..." to "C:\Program Files\Deluge\Deluge-Python\..."
- Choose to overwrite all files if the window prompts you
- Now copy all the files (inside this folder, including DLL files) from the "Bin" folder (either from the newly pasted folder or from GTK2-Runtime location) to "C:\Program Files\Deluge\Deluge-Python\..."
- Choose to overwrite all files if the window prompts you
- At this point, believe it or not, Deluge should work. :) The interface though - is kinda broken. You can
continue to use Deluge at this point or 'revamp' the interface with some nice themes.

STEP 4: THEMES
- The interface can be fixed by downloading the GTK+ Theme Selector
Download location: http://gtk-win.sourceforge.net/home/index.php/Downloads
- First piece of download:
http://downloads.sourceforge.net/gtk-wi ... p?download
- Once extracted, copy the "Lib" and "Share" folders to "C:\Program Files\Deluge\Deluge-Python\..."
- Choose to overwrite all files if the window prompts you
- Second piece of download:
http://downloads.sourceforge.net/gtk-wi ... e?download
- This is the 'Preference tool' and contains a lot of themes. Once this download has installed, find the location and locate the file "gtk2_prefs.exe". This is the Theme Selector.
- Copy this file (or application) to "C:\Program Files\Deluge\Deluge-Python\..."
- At this point, I copy and pasted "Bin", "Library" and "Share" folders from "C:\Program Files\GTK2-Runtime\..." to "C:\Program Files\Deluge\Deluge-Python\..." again and overwrited everything
- Finally, I copy and pasted "Lib" and "Share" folders once again from the 'first piece of download' to "C:\Program Files\Deluge\Deluge-Python\..."
- That's it. Make sure Deluge is not running. Now go to "C:\Program Files\Deluge\Deluge-Python\..." and double-click on "gtk2_prefs.exe"
- Choose your desired theme and select OK. I did not select Apply to all users.
- Now run Deluge as usual. The theme should work and the GUI is back and it is better than ever.
- Optional: The Start Menu will have the shortcut GTK2 Runtime > Change GTK2 Appearance. Clicking on this will not run the utility because the shortcut is now in "C:\Program Files\Deluge\Deluge-Python\gtk2_prefs.exe". Change the location by right-clicking the GTK2 Appearance shortcut, selecting Properties and entering "C:\Program Files\Deluge\Deluge-Python\gtk2_prefs.exe" as Target.

That's it. Not a single restart required since Step [1] for me. Deluge should be running just as it should. I am not too much of a technical person and I am very sure some will figure out why these tricks work. STEP [4] could be streamlined but the steps outlined is exactly what I did to get Deluge back.

GTK+ Runtime works very well with my other two applications "Miro" and "Pidgin", an internet video streaming software and a chat messenger software respectively. I have no idea why GTK+ has issues with Deluge (or Deluge has issues with GTK+).

Hope others with this similar issue tries out the steps I outlined. ;)
Post Reply