Page 2 of 2

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Wed Jan 06, 2010 1:23 am
by johnnyg
Do any of you get errors when running the daemon with debug logging enabled? (http://dev.deluge-torrent.org/wiki/Faq# ... ingenabled)

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Wed Jan 06, 2010 12:50 pm
by solarsd
Yes, I get debug info running
deluged -L debug -l /var/log/deluge/deluged.log

on v1.2.0_rc5

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Wed Jan 06, 2010 2:13 pm
by damoxc
Providing the debugging output would help...

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Wed Jan 06, 2010 9:12 pm
by tobaj
I can't upload my log. It says 'The extension ... is not allowed'. It didn't accept deluge.log, deluge.txt, either deluge without extension. Is there any file name length limit?. But deluge is only 6 characters so it should be short enough?
Anyway I'm not sure if the log will be useful as deluged runs only as a demon and we need debug messages produced when the 'Test Active Port' is clicked. So I simply run the normal deluge client but from console and tested the option. Below is the console output. I have highlighted the lines which came up when clicked on the 'Test Active Port':

trapdoor@kk-desktop:~$ deluge
/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py:165: Warning: g_set_prgname() called multiple times
self.gnome_prog = gnome.init("Deluge", deluge.common.get_version())
/usr/lib/pymodules/python2.6/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:496: DeprecationWarning: Use get_session_status().
warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:611: DeprecationWarning: Use get_session_status().
warnings.warn("Use get_session_status().", DeprecationWarning)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/preferences.py", line 882, in on_test_port_clicked
client.core.test_listen_port().addCallback(on_get_test)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 483, in __call__
return self.daemon.call(self.base, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 439, in call
d.callback(result)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 242, in callback
assert not isinstance(result, Deferred)
AssertionError


It looks like python is not happy...
I hope this all will be helpful.

Regards
tobaj

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Thu Jan 07, 2010 12:47 am
by johnnyg
That was very helpful :D
This has been fixed and will be in the next RC / final.

Re: deluge 1.2.0_rc4/rc5: Test Active Port doesn't work

Posted: Thu Jan 07, 2010 1:06 am
by tobaj
That's smashing! :D I'm glad I could help and hope to make some real contributions to this great software in the future.