#3185 closed bug (Fixed)
Console-ui deferred error.
Reported by: | mhertz | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | Console UI | Version: | develop |
Keywords: | Cc: |
Description
In the "new" console-ui, pressing 'p' to start preferences shows a deferred error, and the same when delting file, though file gets deleted anyways. I'm on arch-linux, meaning latest stable version of every dep installed.
Deluge.log nothing interesting, and deluge-console.log shows this:
" 01:09:42.552 [DEBUG ][deluge.ui.console.main :265 ] Setting console mode: TorrentList 01:09:53.661 [DEBUG ][deluge.ui.console.main :265 ] Setting console mode: Preferences 01:09:53.676 [CRITICAL][twisted :154 ] Unhandled error in Deferred: 01:09:53.678 [CRITICAL][deluge.log :93 ] twisted.internet.defer [Failure instance: Traceback: <type 'exceptions.TypeError'>: argument 1 or 3 must be a ch or an int /usr/lib/python2.7/site-packages/deluge/transfer.py:120:_handle_complete_message /usr/lib/python2.7/site-packages/deluge/ui/client.py:127:message_received /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks /usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py:137:on_get_config /usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py:207:refresh /usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py:169:_draw_actions ] 01:10:00.500 [ERROR ][deluge.ui.console.modes.basemode :1207] argument 1 or 3 must be a ch or an int Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/basemode.py", line 207, in doRead
self.read_input()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 334, in read_input
self.refresh()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 207, in refresh
self._draw_actions()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 169, in _draw_actions
self.stdscr.hline(self.rows - 3, self.sidebar_width, '_', self.cols)
TypeError: argument 1 or 3 must be a ch or an int 01:10:04.099 [ERROR ][deluge.ui.console.modes.basemode :1207] argument 1 or 3 must be a ch or an int Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/basemode.py", line 207, in doRead
self.read_input()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 334, in read_input
self.refresh()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 207, in refresh
self._draw_actions()
File "/usr/lib/python2.7/site-packages/deluge/ui/console/modes/preferences/preferences.py", line 169, in _draw_actions
self.stdscr.hline(self.rows - 3, self.sidebar_width, '_', self.cols)
TypeError: argument 1 or 3 must be a ch or an int "
Here's a pic from when deleting a file: https://forum.deluge-torrent.org/download/file.php?id=6448
Change History (3)
comment:1 by , 6 years ago
Component: | Unknown → Console UI |
---|
comment:2 by , 6 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Fixed in [38961d4] and [ebb95593]