Opened 14 years ago

Closed 14 years ago

Last modified 7 years ago

#1698 closed bug (Fixed)

Console - KeyError 'state'

Reported by: nogare Owned by: nick
Priority: major Milestone: 2.x
Component: Console UI Version: 1.3.0_dev
Keywords: Cc:

Description

I'm using the dev version of deluge console and really like it, however i've encountered a bug.

Details of my setup Debian 6 python2.6 connecting to deluge 1.3.1 running deluge-console in screen

--- <exception caught here> ---

File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks

current.result = callback(current.result, *args, kw)

File "/usr/lib/pymodules/python2.6/deluge/ui/console/modes/alltorrents.py", line 312, in set_state newrows.append((format_utils.format_row([column.get_column_value(name,ts) for name in self.columns],self.column_widths),tsstate))

exceptions.KeyError: 'state' Unhandled error in Deferred: Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead return self.protocol.dataReceived(data) File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 183, in dataReceived d.callback(request[2]) File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 361, in callback self._startRunCallbacks(result)

File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks

self._runCallbacks()

Change History (5)

comment:1 by Calum, 14 years ago

Milestone: 1.3.21.4.0
Summary: Deluge Console Flicker in Gnu Screen-- exceptions.KeyError: 'state'Console - KeyError 'state'

I assume when you say dev version you mean git 'master' branch.

There is no detail on the steps required to reproduce this error.

It is not recommended to connect differing versions of client/server Deluge. i.e only 1.2.x to 1.2.x or 1.3.x to 1.3.x. git master will be version 1.4.x and can contain major changes.

comment:2 by nogare, 14 years ago

You are correct I am referencing git 'master'. As i've researched this issue more i've discovered that the flickering in gnu screen and the crashes in deluge-console are two separate issues.

To reproduce the crashes go into preferences and remove the queue column or state column... and you should see what I got

to reproduce the gnu screen flickering do screen -U deluge-console and once connected to a server you should see the display of your terminal flicker constantly. Additionally you can use the right arrow key to see it happen to a greater degree.

comment:3 by nick, 14 years ago

Owner: set to nick
Status: newassigned

comment:4 by nick, 14 years ago

Resolution: fixed
Status: assignedclosed

fixed by: 67a4fd4

comment:5 by Calum, 7 years ago

Milestone: 2.0.x2.x

Milestone renamed

Note: See TracTickets for help on using tickets.