#2913: [Notification] ValueError: invalid literal for int() with base 10
-------------------+---------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0
Component: Core | Version: develop (git)
Keywords: |
-------------------+---------------------------
The Notification plugin threw this error when changing settings in WebUI
Preferences.
develop HEAD @ [41fed16d0888754]
{{{
15:31:58.132 [ERROR ][deluge.ui.client :157 ] RPCError
Message Received!
--------------------------------------------------------------------------------
RPCRequest: notifications.set_config({u'smtp_port': u'',
u'smtp_recipients': [], u'smtp_tls': False, u'smtp_enabled': False,
u'subscriptions': {u'email': []}})
--------------------------------------------------------------------------------
ValueError
invalid literal for int() with base 10: '': Traceback (most recent call
last):
File "/home/ubuntu/deluge.git/deluge/core/rpcserver.py", line 293, in
dispatch
ret = self.factory.methods[method](*args, **kwargs)
File
"/home/ubuntu/deluge.git/deluge/plugins/Notifications/deluge/plugins/notifications/core.py",
line 208, in set_config
self.config[key] = config[key]
File "/home/ubuntu/deluge.git/deluge/config.py", line 148, in
__setitem__
return self.set_item(key, value)
File "/home/ubuntu/deluge.git/deluge/config.py", line 189, in set_item
value = oldtype(value)
ValueError: invalid literal for int() with base 10: ''
--------------------------------------------------------------------------------
15:31:58.133 [ERROR ][deluge.ui.web.json_api :1172] [Failure
instance: Traceback (failure with no frames): <class
'deluge.error.WrappedException'>: invalid literal for int() with base 10:
''
Traceback (most recent call last):
File "/home/ubuntu/deluge.git/deluge/core/rpcserver.py", line 293, in
dispatch
ret = self.factory.methods[method](*args, **kwargs)
File
"/home/ubuntu/deluge.git/deluge/plugins/Notifications/deluge/plugins/notifications/core.py",
line 208, in set_config
self.config[key] = config[key]
File "/home/ubuntu/deluge.git/deluge/config.py", line 148, in
__setitem__
return self.set_item(key, value)
File "/home/ubuntu/deluge.git/deluge/config.py", line 189, in set_item
value = oldtype(value)
ValueError: invalid literal for int() with base 10: ''
]
None
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2913>
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.