New Windows Version

Specific support for Deluge on Microsoft Windows OS
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: New Windows Version

Post by loki »

I ran into some problems today, this was all with the 3rd build:
1. torrents won't add
2. choosing quit seems to close the program but processes remain and still working apparently.
3. active time and seeding time data was not saved (possibly related to #2)
4. assuming upload data was also not saved
5. files and peers tab width or sort method not kept (may have been from switching back and forth from 1.1.0 to 1.1.3)
6. torrent did not stop when it reached set ratio

7. now it looks like it's downloading and uploading something but all my torrents are done downloading and currently not seeding, looks like it somehow added the torrent without adding it to the list of torrents so I got a torrent downloading that I can't see or change the settings for
ther0n
Member
Member
Posts: 20
Joined: Sat Jan 17, 2009 8:40 am

Re: New Windows Version

Post by ther0n »

hi,
i just tried to compile deluge from 1.1.3 tarball rather than using msi installer
i downloaded and installed all dependancies from http://dev.deluge-torrent.org/wiki/Installing/Windows
and visual c++ 2005 express + sdk
then i build deluge using commands
python setup.py build -c msvc
python setup.py install --skip-build
all went without any errors
when i run deluge.exe, main deluge window opens but is not filled with anything and hangs in "not responding" mode
deluge.log is empty, but deluged.log lists following:

[ERROR ] 10:12:49 main:207 'session' object has no attribute 'load_country_db'
Traceback (most recent call last):
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\main.py", line 204, in start_daemon
Daemon(options, args)
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\daemon.py", line 44, in __init__
self.core = Core(options.port).run()
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\core.py", line 176, in run
self.session.load_country_db(geoip_db)
AttributeError: 'session' object has no attribute 'load_country_db'

so seems that deluged.exe cannot be started.
i understand that error is somehow related to libtorrent, but libtorrent.pyd is installed using provided installer.
any thoughts how to fix this?


EDIT: managed to avoid this by commenting out the line in file
C:\Python25\Lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\core.py
after that deluge started ok, but preferences window is not opening
code1986
New User
New User
Posts: 7
Joined: Wed Nov 19, 2008 11:42 pm

Re: New Windows Version

Post by code1986 »

Compared to the first 1.1.3 standalone version andar posted the third one works without any dependencies (not even gtk), but still you can't add torrent doubleclicking, you have to drag and drop or add from deluge menus, still because of the issues of multiple deluge.exe running I guess. Anyway in the first one there were also multiple deluged.exe (in classical mode interface I mean), now it's always one and at least when you close deluge every process stops, you don't have to kill them any more.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: New Windows Version

Post by andar »

ther0n wrote:hi,
i just tried to compile deluge from 1.1.3 tarball rather than using msi installer
i downloaded and installed all dependancies from http://dev.deluge-torrent.org/wiki/Installing/Windows
and visual c++ 2005 express + sdk
then i build deluge using commands
python setup.py build -c msvc
python setup.py install --skip-build
all went without any errors
when i run deluge.exe, main deluge window opens but is not filled with anything and hangs in "not responding" mode
deluge.log is empty, but deluged.log lists following:

[ERROR ] 10:12:49 main:207 'session' object has no attribute 'load_country_db'
Traceback (most recent call last):
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\main.py", line 204, in start_daemon
Daemon(options, args)
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\daemon.py", line 44, in __init__
self.core = Core(options.port).run()
File "c:\python25\lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\core.py", line 176, in run
self.session.load_country_db(geoip_db)
AttributeError: 'session' object has no attribute 'load_country_db'

so seems that deluged.exe cannot be started.
i understand that error is somehow related to libtorrent, but libtorrent.pyd is installed using provided installer.
any thoughts how to fix this?


EDIT: managed to avoid this by commenting out the line in file
C:\Python25\Lib\site-packages\deluge-1.1.3-py2.5.egg\deluge\core\core.py
after that deluge started ok, but preferences window is not opening
I use a somewhat modified version of 1.1.3 in my builds.. I suggest grabbing the code from the 1.1.0_RC branch. Also you don't need to build libtorrent since there is the binary package, thus MSVC is not required.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: New Windows Version

Post by andar »

code1986 wrote:Compared to the first 1.1.3 standalone version andar posted the third one works without any dependencies (not even gtk), but still you can't add torrent doubleclicking, you have to drag and drop or add from deluge menus, still because of the issues of multiple deluge.exe running I guess. Anyway in the first one there were also multiple deluged.exe (in classical mode interface I mean), now it's always one and at least when you close deluge every process stops, you don't have to kill them any more.
Hmm.. I had the external adding of torrents working on my system.. Maybe I need to look at it again.

I tried getting a trunk build going as well and that seemed a lot more smooth, so maybe we'll need to wait for 1.2.0 to get a decent Windows build.
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: New Windows Version

Post by loki »

It is just the deluged.exe that doesn't close when quit.
And the torrent that was added but didn't appear in the list came in the list after restart.

I'm convinced now that these versions are just not saving preferences, I tried starting a fresh appdata folder for deluge, it wouldn't change the preferences.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: New Windows Version

Post by andar »

I've uploaded a trunk build to see if this works better for everyone. Please note that this will mess up with your config folder and will not provide a smooth downgrade to 1.1.x, so please back this folder up before running 1.2.0-dev.

http://deluge-torrent.org/deluge-1.2.0-dev-1.7z
ther0n
Member
Member
Posts: 20
Joined: Sat Jan 17, 2009 8:40 am

Re: New Windows Version

Post by ther0n »

it seems to work fine - at least preferences and add torrent dialogs open as they should
only problem is that version 1.2.0 is not allowed on some private trackers yet

"Error: Deluge 1.2.0-dev is not allowed on this site! (wrong version (120-dev), get update(s)!)"


and also in "Choose a .torrent file" dialog there is no automatic refresh anymore. i think in previous versions
the dialog refreshed automatically - if any new .torrent files appeared in folder while dialog is open, they were shown in dialog,
now they arent. you must close and open it again.
sleepwalker
Member
Member
Posts: 14
Joined: Mon Sep 22, 2008 12:23 pm

Re: New Windows Version

Post by sleepwalker »

Same for me here... I grabbed it, made a new %appdata%\deluge folder, and it seems to work fine.
Will get back with more details later.

L.E.: Just tried it at home, on a Vista Ultimate x64. It doesn't add the torrents with the add option...
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: New Windows Version

Post by loki »

The 1.2 build was able to save the preferences but adding torrent still doesn't work. It could be a Vista thing or a 64 bit thing.
I couldn't get the blocklist to work either. It looked like it would download but then wouldn't load the list...
Post Reply