#3313: GTKUI thinclient cannot start localhost daemon on Windows.
---------------------+----------------------------
Reporter: mhertz | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
---------------------+----------------------------
Comment (by mhertz):
Sorry, forgot adding debug-logs previously. There where no errors shown
when running debug-log of deluged.exe, but has issue as stated before of
not going to background and staying in foreground, so if doubleclicking
it, then it leaves the new terminal open, instead of just briefly
"blinking" it.
Here follows snippet of erronymous part of debug-log of GTKUI in
thinclient mode while selecting 'Start daemon' from connection-manager,
which fails with error message in GUI as described in previous post:
{{{
15:16:26 [DEBUG ][deluge.ui.client :286 ]
sslproxy.connect()
15:16:26 [DEBUG ][deluge.ui.client :212 ] Connecting to
daemon at "127.0.0.1:58846"...
15:16:26 [DEBUG ][deluge.ui.gtk3.connectionmanager :241 ] Host Status:
127.0.0.1,
15:16:27 [DEBUG ][deluge.ui.client :219 ] Connection to
daemon at "127.0.0.1:58846" failed: Connection was refused by other side:
10061: Der kunne ikke oprettes forbindelse, fordi destinationscomputeren
aktivt nægtede det..
15:16:27 [DEBUG ][deluge.ui.client :596 ]
on_connect_fail: [Failure instance: Traceback (failure with no frames):
<class 'twisted.internet.error.ConnectionRefusedError'>: Connection was
refused by other side: 10061: Der kunne ikke oprettes forbindelse, fordi
destinationscomputeren aktivt nægtede det..
]
15:16:27 [DEBUG ][deluge.ui.client :302 ]
sslproxy.disconnect()
15:16:27 [DEBUG ][deluge.ui.hostlist :203 ] Host status
failed for 214f05ec5cdf46d794d3a17801d49e77: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectionRefusedError'>: Connection was refused
by other side: 10061: Der kunne ikke oprettes forbindelse, fordi
destinationscomputeren aktivt nægtede det..
]
15:16:27 [DEBUG ][deluge.ui.gtk3.connectionmanager :241 ] Host Status:
127.0.0.1, offline
15:16:30 [DEBUG ][deluge.ui.gtk3.connectionmanager :495 ]
on_button_startdaemon_clicked
15:16:30 [ERROR ][deluge.ui.client :688 ] Unable to
start daemon!
15:16:30 [ERROR ][deluge.ui.client :1343] a bytes-like
object is required, not 'str'
Traceback (most recent call last):
File "c:\program files\python36\lib\site-packages\deluge\ui\client.py",
line 674, in start_daemon
subprocess.Popen(['deluged', '--port=%s' % port, b'--config=%s' %
config])
File "c:\program files\python36\lib\subprocess.py", line 729, in
__init__
restore_signals, start_new_session)
File "c:\program files\python36\lib\subprocess.py", line 991, in
_execute_child
args = list2cmdline(args)
File "c:\program files\python36\lib\subprocess.py", line 481, in
list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: a bytes-like object is required, not 'str'
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3313#comment:1>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/060.b58758030e82f9be0a0fd8ddc517262e%40deluge-torrent.org.