Your message dated Fri, 16 Aug 2013 11:15:17 +0200
with message-id <[email protected]>
and subject line Re: Bug#482267: gajim does not show any contacts in roster
has caused the Debian Bug report #482267,
regarding gajim does not show any contacts in roster
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
482267: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482267
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gajim
Version: 0.10.1-7
Severity: important

After starting the gajim I get error:
Traceback (most recent call last):
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 133, in 
process_events
    obj.pollin()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 143, in pollin
    self._do_receive()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 245, in 
_do_receive
    self.on_receive(received)
  File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 347, in 
dispatch
    handler['func'](session,stanza)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1640, in 
_getRosterCB
    self.connection.getRoster(self._on_roster_set)
  File "/usr/share/gajim/src/common/xmpp/roster_nb.py", line 56, in getRoster
    on_ready(self)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1673, in 
_on_roster_set
    self.dispatch('ROSTER', roster)
  File "/usr/share/gajim/src/common/connection.py", line 98, in dispatch
    self.put_event((event, data))
  File "/usr/share/gajim/src/common/connection.py", line 94, in put_event
    gajim.handlers[ev[0]](self.name, ev[1])
  File "gajim.py", line 201, in handle_event_roster
    self.roster.add_account_contacts(account)
  File "/usr/share/gajim/src/roster_window.py", line 922, in 
add_account_contacts
    self.add_contact_to_roster(jid, account)
  File "/usr/share/gajim/src/roster_window.py", line 256, in 
add_contact_to_roster
    big_brother_data = gajim.contacts.get_metacontacts_big_brother(
  File "/usr/share/gajim/src/common/contacts.py", line 339, in 
get_metacontacts_big_brother
    score = self._get_data_score(data)
  File "/usr/share/gajim/src/common/contacts.py", line 326, in _get_data_score
    score = (int(max_order) - (order))*10000
TypeError: unsupported operand type(s) for -: 'int' and 'unicode'

I suggest this patch:
--- old/contacts.py     2008-05-21 15:37:19.000000000 +0200
+++ new/contacts.py     2008-05-21 15:40:51.000000000 +0200
@@ -323,7 +323,7 @@
                                if data_.has_key('order') and data_['order'] > 
max_order:
                                        max_order = data_['order']
                contact = self.get_contact_with_highest_priority(account, jid)
-               score = (max_order - order)*10000
+               score = (int(max_order) - int(order))*10000
                if not common.gajim.jid_is_transport(jid):
                        score += contact.priority*10
                score += ['not in roster', 'error', 'offline', 'invisible', 
'dnd', 'xa',




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gajim depends on:
ii  python-central             0.5.12        register and build utility for Pyt
ii  python-glade2              2.8.6-8       GTK+ bindings: Glade support
ii  python-gtk2                2.8.6-8       Python bindings for the GTK+ widge
ii  python-pysqlite2           2.3.2-2       python interface to SQLite 3
ii  python2.4                  2.4.4-3+etch1 An interactive high-level object-o

Versions of packages gajim recommends:
ii  dnsutils                  1:9.3.4-2etch1 Clients provided with BIND
ii  notification-daemon       0.3.5-1+b1     a daemon that displays passive pop
ii  python-dbus [python2.4-db 0.71-3         simple interprocess messaging syst

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello,

I just took over the maintenance of the Debian package gajim. This bug does not seem to apply anymore, since that version was replaced long ago and the code of contacts.py was changed, at least the affected part.

I am closing this bug report, but do not hesitate to reopen it if you are still affected.

Librement,

--
 ,--.
: /` )   Tanguy Ortolo      <xmpp:[email protected]>
| `-'    Debian Developer   <irc://irc.oftc.net/Tanguy>
 \_

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to