#3079: String Phrasing Error in Password Field
----------------------+----------------------------
Reporter: https403 | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 1.3.15
Keywords: |
----------------------+----------------------------
Deluge-gtk will split out a python error, ignore all known host in
connection manager and connect to localhost if the password field contains
symbols, the password I put to test is {{{Chaef}i2boo(fei?}}}.
Steps to reproduce:
1. start deluge daemon and enable remote in a remote machine
2. add user with a password include symbols
3. start deluge-gtk in console, and add the host with username and
password
4. reopen deluge-gtk
5. deluge-gtk return a python error in console, and connection manager
will only have localhost
Python Error:
{{{
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
417, in fireEvent
DeferredList(beforeResults).addCallback(self._continueFiring)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
317, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
306, in addCallbacks
self._runCallbacks()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
588, in _runCallbacks
current.result = callback(current.result, *args, **kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
430, in _continueFiring
callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line
385, in _on_reactor_start
self.__start_non_classic()
File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line
430, in __start_non_classic
self.connectionmanager.show()
File "/usr/lib/python2.7/dist-
packages/deluge/ui/gtkui/connectionmanager.py", line 182, in show
self.__save_hostlist()
File "/usr/lib/python2.7/dist-
packages/deluge/ui/gtkui/connectionmanager.py", line 239, in
__save_hostlist
self.config.save()
File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 416, in
save
loaded_data = json.loads(data[start:end])
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
exceptions.ValueError: Unterminated string starting at: line 8 column 7
(char 132)
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3079>
Deluge <http://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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.