feisty: gajim does not start up correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gajim (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Feisty |
Fix Released
|
Undecided
|
Philipp Kern |
Bug Description
Binary package hint: gajim
gajim does not start up correctly and produces quite some output when started from console, the last lines being:
File "gajim.py", line 432, in handle_event_status
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
shown_family)
File "/usr/share/
score = self._get_
File "/usr/share/
score = (max_order - order)*10000
TypeError: unsupported operand type(s) for -: 'unicode' and 'unicode'
It seems that the XML handling converts the attribute "order='0'" to return a unicode string instead of a simple number where arithmetic operations could be applied on. According to RFC 3921 the order attribute contains an unsigned int so that cast should be safe.
TEST CASE: Run Gajim on the console and the exception given above is printed in it. Depending on the roster it could lead to it being unusable.
Related branches
description: | updated |
description: | updated |
Taking this over.