Release Candidate for a new Windows installer

Specific support for Deluge on Microsoft Windows OS
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Release Candidate for a new Windows installer

Post by jesperl »

richarnd wrote:
jesperl wrote:
Hmm, strange. Try running deluge -L debug -l <logfile> and post the output.

Here it is:

Code: Select all

[INFO    ] 23:48:28 main:113 Deluge ui 1.1.4
[DEBUG   ] 23:48:28 main:114 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': 'log.txt', 'config': None}
[DEBUG   ] 23:48:28 main:115 args: []
[DEBUG   ] 23:48:28 main:116 ui_args: []
[INFO    ] 23:48:28 main:119 Starting ui..
[DEBUG   ] 23:48:28 ui:35 UI init..
[DEBUG   ] 23:48:28 configmanager:79 Getting config 'ui.conf'
[DEBUG   ] 23:48:28 config:244 Config C:\Users\Nathan\AppData\Roaming\deluge\ui.conf loaded: {'default_ui': 'gtk'}
[INFO    ] 23:48:28 ui:52 Starting GtkUI..
[DEBUG   ] 23:48:28 client:101 CoreProxy init..
[DEBUG   ] 23:48:28 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 23:48:28 config:244 Config C:\Users\Nathan\AppData\Roaming\deluge\gtkui.conf loaded: {'close_to_tray': True, 'ntf_sound_path': 'C:\\Users\\Nathan', 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, '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': '', '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, 'show_connection_manager_on_start': True, 'lock_tray': False, 'ntf_sound': False, 'tray_password': '', 'focus_add_dialog': True, 'ntf_server': '', 'start_in_tray': False, 'ntf_tray_blink': True, 'check_new_releases': True, 'autoadd_queued': False, 'classic_mode': True, 'window_pane_position': -1, 'enabled_plugins': [], 'show_rate_in_title': False, 'autoadd_enable': False, 'ntf_username': '', 'interactive_add': True, 'sidebar_show_zero': False, 'window_x_pos': 0, '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': 'C:\\Users\\Nathan', 'sidebar_show_trackers': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': 'C:\\Users\\Nathan\\AppData\\Roaming\\deluge', 'ntf_email_add': '', 'signal_port': 55651}
[DEBUG   ] 23:48:28 component:94 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 23:48:28 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 23:48:28 component:94 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 23:48:28 ipcinterface:75 Processing args from other process: []
[DEBUG   ] 23:48:28 ipcinterface:78 Not connected to host.. Adding to queue.
[DEBUG   ] 23:48:28 component:94 Registered Signals with ComponentRegistry..
[DEBUG   ] 23:48:28 signalreceiver:44 SignalReceiver init..
[DEBUG   ] 23:48:28 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 23:48:28 config:124 Setting 'signal_port' to 42755 of <type 'int'>
[DEBUG   ] 23:48:28 config:269 Saving new config file C:\Users\Nathan\AppData\Roaming\deluge\gtkui.conf.new
[DEBUG   ] 23:48:28 config:281 Backing up old config file to C:\Users\Nathan\AppData\Roaming\deluge\gtkui.conf~
[DEBUG   ] 23:48:28 config:289 Moving new config file C:\Users\Nathan\AppData\Roaming\deluge\gtkui.conf.new to C:\Users\Nathan\AppData\Roaming\deluge\gtkui.conf..
[DEBUG   ] 23:48:28 component:94 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 23:48:28 configmanager:79 Getting config 'gtkui.conf'
Are you 100% sure that this is the entire logfile before deluge stops? Please double check. Usually, the last couple of lines contain some kind of error message.

If I compare your log trace to my own, they are identical until your last line (save path differences), but my logfile continues with

Code: Select all

[DEBUG   ] 05:57:35 config:203 Registering function for show_rate_in_title key..
[DEBUG   ] 05:57:35 mainwindow:80 Showing window
[DEBUG   ] 05:57:35 menubar:42 MenuBar init..
[DEBUG   ] 05:57:35 component:94 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 05:57:35 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:35 component:94 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 05:57:35 toolbar:40 ToolBar Init..
[DEBUG   ] 05:57:35 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:35 component:94 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 05:57:35 listview:125 ListView initialized..
[DEBUG   ] 05:57:35 listview:224 Loading ListView state file: torrentview.state
[DEBUG   ] 05:57:35 torrentview:118 TorrentView Init..
[DEBUG   ] 05:57:35 component:94 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 05:57:35 torrentdetails:399 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 05:57:35 torrentdetails:58 parent: None
[DEBUG   ] 05:57:35 torrentdetails:58 parent: None
[DEBUG   ] 05:57:35 files_tab:242 Loading FilesTab state file: files_tab.state
[DEBUG   ] 05:57:35 torrentdetails:58 parent: None
[DEBUG   ] 05:57:35 peers_tab:196 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 05:57:35 torrentdetails:58 parent: None
[DEBUG   ] 05:57:35 torrentdetails:58 parent: None
[DEBUG   ] 05:57:35 component:94 Registered SideBar with ComponentRegistry..
[DEBUG   ] 05:57:35 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:35 component:94 Registered FilterTreeView with ComponentRegistry..
[DEBUG   ] 05:57:35 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:35 sidebar:74 add tab:filters
[DEBUG   ] 05:57:35 filtertreeview:258 nothing selected
[DEBUG   ] 05:57:35 component:94 Registered Preferences with ComponentRegistry..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:36 component:94 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:36 config:203 Registering function for enable_system_tray key..
[DEBUG   ] 05:57:36 systemtray:69 Enabling the system tray icon..
[DEBUG   ] 05:57:36 component:94 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:36 component:94 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 05:57:36 coreconfig:32 CoreConfig init..
[DEBUG   ] 05:57:36 component:94 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 05:57:36 component:94 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:36 pluginmanagerbase:52 Plugin manager init..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 05:57:36 pluginmanagerbase:103 Found plugin: Blocklist 1.0
[DEBUG   ] 05:57:36 pluginmanagerbase:103 Found plugin: Label 0.1
[DEBUG   ] 05:57:36 component:94 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'hostlist.conf.1.1'
[DEBUG   ] 05:57:36 config:244 Config C:\Documents and Settings\Jesper\Application Data\deluge\hostlist.conf.1.1 loaded: {'hosts': ['http://127.0.0.1:58846']}
[DEBUG   ] 05:57:36 configmanager:79 Getting config 'gtkui.conf'
[INFO    ] 05:57:36 connectionmanager:478 Starting localhost:58846 daemon..
[INFO    ] 05:57:36 client:160 Setting core uri as http://localclient:1e80edb32c7253054f86067ac5ed30cc6eb37c25@127.0.0.1:58846
[DEBUG   ] 05:57:36 client:192 Creating ServerProxy..
[DEBUG   ] 05:57:36 component:117 Starting component SystemTray..
[DEBUG   ] 05:57:36 component:117 Starting component Signals..
[DEBUG   ] 05:57:36 component:117 Starting component PluginManager..
[DEBUG   ] 05:57:36 component:117 Starting component Preferences..
[DEBUG   ] 05:57:36 component:117 Starting component StatusBar..
[DEBUG   ] 05:57:36 component:117 Starting component AddTorrentDialog..
[DEBUG   ] 05:57:36 pluginmanager:75 Core has these plugins enabled: []
[DEBUG   ] 05:57:36 component:117 Starting component FilterTreeView..
[DEBUG   ] 05:57:36 component:117 Starting component ConnectionManager..
[DEBUG   ] 05:57:36 component:117 Starting component TorrentView..
[DEBUG   ] 05:57:36 component:117 Starting component TorrentDetails..
[DEBUG   ] 05:57:36 component:117 Starting component IPCInterface..
[DEBUG   ] 05:57:36 component:117 Starting component CoreConfig..
[DEBUG   ] 05:57:36 component:117 Starting component SideBar..
[DEBUG   ] 05:57:36 component:117 Starting component QueuedTorrents..
[DEBUG   ] 05:57:36 component:117 Starting component MainWindow..
[DEBUG   ] 05:57:36 component:117 Starting component ToolBar..
[DEBUG   ] 05:57:36 component:117 Starting component MenuBar..
[DEBUG   ] 05:57:36 config:124 Setting 'window_pane_position' to 514 of <type 'int'>
[DEBUG   ] 05:57:40 config:269 Saving new config file C:\Documents and Settings\Jesper\Application Data\deluge\gtkui.conf.new
[DEBUG   ] 05:57:40 config:281 Backing up old config file to C:\Documents and Settings\Jesper\Application Data\deluge\gtkui.conf~
[DEBUG   ] 05:57:40 config:289 Moving new config file C:\Documents and Settings\Jesper\Application Data\deluge\gtkui.conf.new to C:\Documents and Settings\Jesper\Application Data\deluge\gtkui.conf..
[DEBUG   ] 05:58:34 menubar:238 on_menuitem_quit_activate
[INFO    ] 05:58:34 client:160 Setting core uri as None
[DEBUG   ] 05:58:34 component:129 Stopping component SystemTray..
[DEBUG   ] 05:58:34 component:129 Stopping component PluginManager..
[DEBUG   ] 05:58:34 component:129 Stopping component Preferences..
[DEBUG   ] 05:58:34 component:129 Stopping component StatusBar..
[DEBUG   ] 05:58:34 component:129 Stopping component AddTorrentDialog..
[DEBUG   ] 05:58:34 component:129 Stopping component FilterTreeView..
[DEBUG   ] 05:58:34 filtertreeview:258 nothing selected
[DEBUG   ] 05:58:34 component:129 Stopping component ConnectionManager..
[DEBUG   ] 05:58:34 component:129 Stopping component TorrentView..
[DEBUG   ] 05:58:34 component:129 Stopping component Signals..
[DEBUG   ] 05:58:34 signalreceiver:83 Shutting down signalreceiver
[DEBUG   ] 05:58:34 signalreceiver:90 Unable to deregister client from server: 'The core proxy is invalid.'
[DEBUG   ] 05:58:34 component:129 Stopping component TorrentDetails..
[DEBUG   ] 05:58:34 component:129 Stopping component IPCInterface..
[DEBUG   ] 05:58:34 component:129 Stopping component CoreConfig..
[DEBUG   ] 05:58:34 component:129 Stopping component SideBar..
[DEBUG   ] 05:58:34 component:129 Stopping component QueuedTorrents..
[DEBUG   ] 05:58:34 component:129 Stopping component MainWindow..
[DEBUG   ] 05:58:34 component:129 Stopping component ToolBar..
[DEBUG   ] 05:58:34 component:129 Stopping component MenuBar..
[DEBUG   ] 05:58:34 gtkui:227 gtkui shutting down..
[DEBUG   ] 05:58:34 component:170 Shutting down component SystemTray..
[DEBUG   ] 05:58:34 component:170 Shutting down component PluginManager..
[DEBUG   ] 05:58:34 component:170 Shutting down component Preferences..
[DEBUG   ] 05:58:34 component:170 Shutting down component StatusBar..
[DEBUG   ] 05:58:34 component:170 Shutting down component AddTorrentDialog..
[DEBUG   ] 05:58:34 component:170 Shutting down component FilterTreeView..
[DEBUG   ] 05:58:34 component:170 Shutting down component ConnectionManager..
[DEBUG   ] 05:58:34 component:170 Shutting down component TorrentView..
[DEBUG   ] 05:58:34 listview:210 Saving ListView state file: torrentview.state
[DEBUG   ] 05:58:34 component:170 Shutting down component Signals..
[DEBUG   ] 05:58:34 component:170 Shutting down component TorrentDetails..
[DEBUG   ] 05:58:34 files_tab:228 Saving FilesTab state file: files_tab.state
[DEBUG   ] 05:58:34 peers_tab:182 Saving FilesTab state file: peers_tab.state
[DEBUG   ] 05:58:34 torrentdetails:385 Saving TorrentDetails state file: tabs.state
[DEBUG   ] 05:58:34 component:170 Shutting down component IPCInterface..
[DEBUG   ] 05:58:34 component:170 Shutting down component CoreConfig..
[DEBUG   ] 05:58:34 component:170 Shutting down component SideBar..
[DEBUG   ] 05:58:34 sidebar:56 hpaned.position: 134
[DEBUG   ] 05:58:34 component:170 Shutting down component QueuedTorrents..
[DEBUG   ] 05:58:34 component:170 Shutting down component MainWindow..
[DEBUG   ] 05:58:34 component:170 Shutting down component ToolBar..
[DEBUG   ] 05:58:34 component:170 Shutting down component MenuBar..
[INFO    ] 05:58:34 client:160 Setting core uri as None
Maybe that can help andar explain what's going on?
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Release Candidate for a new Windows installer

Post by loki »

Okay, deleted the mimeTypes.rdf file for FF. I get the same message with default application setting, that must not be the problem. The downloads window also shows it as failed download.
error.png
error.png (28.4 KiB) Viewed 5073 times
I don't know what to think about this one at first but, I figured it out, for whatever reason it didn't associate .torrent with Deluge, it was saying 'unknown program' At first it refused to associate with anything but Firefox. It may have been caused by it installing into the Program Files (x86) folder by default. Upon reinstalling it into the other Program Files folder it would associate.
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Release Candidate for a new Windows installer

Post by jesperl »

loki wrote:Okay, deleted the mimeTypes.rdf file for FF. I get the same message with default application setting, that must not be the problem. The downloads window also shows it as failed download.
Could you try a torrent without spaces in the filename? Just to check whether it's related to that. This one will not get you into any legal problems, and it's only a 14 MB download. Great video, btw. :D

Another thing: can you open torrents in Windows explorer by double clicking?

Yet another thing: could you try uTorrent? My .torrent association setup in the registry is based on what uTorrent did on my machine.
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Release Candidate for a new Windows installer

Post by loki »

Now, if only someone could figure out the torrent icon not working.
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Release Candidate for a new Windows installer

Post by jesperl »

loki wrote:Now, if only someone could figure out the torrent icon not working.
What do you mean?
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Release Candidate for a new Windows installer

Post by loki »

What I mean is when I sign in as Administrator the torrent icon works as it should, I would rather not use the admin account for obvious reasons, when I sign in as a regular user the torrent icon does not show, but shows a blank icon instead. Attached picture to show difference...
Attachments
icon.png
icon.png (10.72 KiB) Viewed 5054 times
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Release Candidate for a new Windows installer

Post by jesperl »

loki wrote:The installer worked for me Vista x64 sp1, however it seems it wouldn't run with gtk 2.14 from pidgin installer, luckily pidgin works with gtk 2.12. I haven't ran a thorough test through everything yet, but it works at least...
I have diagnosed the GTK+ 2.14 problems. The GTK+ 2.12.9 runtime includes libglade, whereas the GTK+ 2.14.7 used by Pidgin and this GTK+ 2.14.7 runtime (which I tested before making the installer) does not.

I will make an RC2 for the installer which addresses this problem. There is no reason to force people to manually downgrade when 2.14 works. The solution will be to put libglade-2.0.0.dll and libxml2.dll (a dependency of libglade) in the Python-Deluge directory.

The MessageBox displayed when 2.14 is detected will be updated accordingly (I will just let the user know that GTK+ 2.14 should work, but that it hasn't been tested as much as GTK+ 2.12, or something like that).
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Release Candidate for a new Windows installer

Post by jesperl »

loki wrote:What I mean is when I sign in as Administrator the torrent icon works as it should, I would rather not use the admin account for obvious reasons, when I sign in as a regular user the torrent icon does not show, but shows a blank icon instead. Attached picture to show difference...
Where does that happen? Firefox or Windows explorer window?

What about the icon for the Deluge link on the desktop? Does that show?

Also: does the same thing happen if you use uTorrent and associate it with .torrent? (which is done in the uTorrent setup menu).

I'm fairly sure that this problem is Vista-related, and since I do not have Vista, I'll need some help figuring out the cause of it.
richarnd
New User
New User
Posts: 7
Joined: Sat Mar 14, 2009 4:09 am

Re: Release Candidate for a new Windows installer

Post by richarnd »

jesperl wrote:
Are you 100% sure that this is the entire logfile before deluge stops? Please double check. Usually, the last couple of lines contain some kind of error message.


Maybe that can help andar explain what's going on?
I'm 100% sure. I just ran the log command again and got the same result.

I reinstalled 1.1.0 and it works just fine, so the problem is not that the RC installer broke something - or at least not something that 1.1.0 depends on.

I've also tried removing everything that seemed related and reinstalling, then rebooting, with no effect.

Thanks again.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Release Candidate for a new Windows installer

Post by andar »

richarnd wrote:
jesperl wrote:
Are you 100% sure that this is the entire logfile before deluge stops? Please double check. Usually, the last couple of lines contain some kind of error message.


Maybe that can help andar explain what's going on?
I'm 100% sure. I just ran the log command again and got the same result.

I reinstalled 1.1.0 and it works just fine, so the problem is not that the RC installer broke something - or at least not something that 1.1.0 depends on.

I've also tried removing everything that seemed related and reinstalling, then rebooting, with no effect.

Thanks again.
The stderr output may not actually be getting to the log, at least this is what I've found with windows at times.. Try running from the cmd prompt without logging to a file..
Locked