[Papyon] Fwd: [Bug 749498] Re: emesene crashed with AttributeError in _on_conversation_user_joined(): 'ExternalNetworkConversation' object has no attribute 'total_participants'

Riccardo (C10uD) c10ud.dev at gmail.com
Tue Apr 12 12:12:10 PDT 2011


---------- Forwarded message ----------
From: Riccardo (C10uD) <c10ud.dev at gmail.com>
Date: 2011/4/12
Subject: Re: [Bug 749498] Re: emesene crashed with AttributeError in
_on_conversation_user_joined(): 'ExternalNetworkConversation' object
has no attribute 'total_participants'
To: Bug 749498 <749498 at bugs.launchpad.net>


this should hopefully fix it, i'll notify upstream

diff --git a/papyon/conversation.py b/papyon/conversation.py
index e9d9b85..8a6da51 100644
--- a/papyon/conversation.py
+++ b/papyon/conversation.py
@@ -428,6 +428,7 @@ class ExternalNetworkConversation(AbstractConversation):
    def __init__(self, client, contacts):
        AbstractConversation.__init__(self, client)
        self.participants = set(contacts)
+        self.total_participants = self.participants
        client._register_external_conversation(self)
        gobject.idle_add(self._open)


2011/4/4 C10uD <c10ud.dev at gmail.com>:
> *** This bug is a duplicate of bug 729298 ***
>    https://bugs.launchpad.net/bugs/729298
>
> this is actually a bug in papyon. i'll look into it
>
> --
> You received this bug notification because you are subscribed to emesene
> in Ubuntu.
> https://bugs.launchpad.net/bugs/749498
>
> Title:
>  emesene crashed with AttributeError in _on_conversation_user_joined():
>  'ExternalNetworkConversation' object has no attribute
>  'total_participants'
>


More information about the papyon mailing list