Unable to change active state for non latin-1 columns in listview

3 views
Skip to first unread message

Serge Matveenko

unread,
Oct 25, 2011, 2:59:29 PM10/25/11
to Deluge Dev
I'm usen translated (to Russian) ui of deluge. And with current
version i'm getting error when trying to add or remove column in
torrent list view.

Linux 3.0.0-13-generic #21-Ubuntu SMP Mon Oct 17 20:18:51 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.2+
deluge-gtk: 1.3.3
libtorrent: 0.15.8.0

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/listview.py",
line 339, in on_menuitem_toggled
self.columns[name].column.set_visible(widget.get_active())
KeyError: '\xd0\x94\xd0\xbe\xd1\x81\xd1\x82\xd1\x83\xd0\xbf\xd0\xbd
\xd0\xbe'

Calum Lind

unread,
Oct 25, 2011, 3:02:28 PM10/25/11
to delug...@googlegroups.com
This has already been reported on Ubuntu bugs so will be looked into.

https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/854648



--
You received this message because you are subscribed to the Google Groups "Deluge Dev" group.
To post to this group, send email to delug...@googlegroups.com.
To unsubscribe from this group, send email to deluge-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/deluge-dev?hl=en.


Serge Matveenko

unread,
Oct 25, 2011, 3:05:51 PM10/25/11
to Deluge Dev
On Tue, Oct 25, 2011 at 22:59, Serge Matveenko <se...@matveenko.ru> wrote:
> I'm usen

it's "using":)


> Traceback (most recent call last):
>  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/listview.py",
> line 339, in on_menuitem_toggled
>    self.columns[name].column.set_visible(widget.get_active())
> KeyError: '\xd0\x94\xd0\xbe\xd1\x81\xd1\x82\xd1\x83\xd0\xbf\xd0\xbd
> \xd0\xbe'

I've attached small patch that solves the problem.


--
Serge Matveenko
se...@matveenko.ru
http://www.ohloh.net/accounts/lig
http://ru.linkedin.com/in/sergematveenko

0001-Fix-crash-on-non-latin-1-named-column-active-state-c.patch.gz
Reply all
Reply to author
Forward
0 new messages