Bug 36258 - assert(self.state == ProtocolState.OPEN) AssertionError
Summary: assert(self.state == ProtocolState.OPEN) AssertionError
Status: NEW
Alias: None
Product: papyon
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: papyon-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 03:42 UTC by Laurent Bigonville
Modified: 2011-07-28 15:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Laurent Bigonville 2011-04-15 03:42:25 UTC
Hi,

not sure if it's related to tp-butterfly or papyon

I've just updated papyon to 0.5.5 and get this backtrace while chatting with a contact

Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/butterfly/channel/text.py", line 125, in _send_typing_notification
     self._conversation.send_typing_notification()
   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 350, in send_typing_notification
     self._send_message_ex(content_type, body, headers)
   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 365, in _send_message_ex
     return self._send_message(message, callback, errback)
   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 491, in _send_message
     callback=callback, errback=errback)
   File "/usr/lib/python2.7/dist-packages/papyon/switchboard_manager.py", line 108, in _send_message
     self._process_pending_queues()
   File "/usr/lib/python2.7/dist-packages/papyon/switchboard_manager.py", line 239, in _process_pending_queues
     transaction_id = self.switchboard.send_message(message, ack, callback)
   File "/usr/lib/python2.7/dist-packages/papyon/msnp/switchboard.py", line 171, in send_message
     assert(self.state == ProtocolState.OPEN)
 AssertionError
Comment 1 Riccardo (c10ud) 2011-04-15 04:01:26 UTC
i also got this error once, but it was with emesene and papyon pre-0.5.5

2011/4/15  <bugzilla-daemon@freedesktop.org>:
> https://bugs.freedesktop.org/show_bug.cgi?id=36258
>
>           Summary: assert(self.state == ProtocolState.OPEN)
>                    AssertionError
>           Product: papyon
>           Version: unspecified
>          Platform: Other
>        OS/Version: All
>            Status: NEW
>          Severity: normal
>          Priority: medium
>         Component: general
>        AssignedTo: papyon-bugs@lists.freedesktop.org
>        ReportedBy: l.bigonville@edpnet.be
>
>
> Hi,
>
> not sure if it's related to tp-butterfly or papyon
>
> I've just updated papyon to 0.5.5 and get this backtrace while chatting with a
> contact
>
> Traceback:
>  Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/butterfly/channel/text.py", line 125,
> in _send_typing_notification
>     self._conversation.send_typing_notification()
>   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 350, in
> send_typing_notification
>     self._send_message_ex(content_type, body, headers)
>   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 365, in
> _send_message_ex
>     return self._send_message(message, callback, errback)
>   File "/usr/lib/python2.7/dist-packages/papyon/conversation.py", line 491, in
> _send_message
>     callback=callback, errback=errback)
>   File "/usr/lib/python2.7/dist-packages/papyon/switchboard_manager.py", line
> 108, in _send_message
>     self._process_pending_queues()
>   File "/usr/lib/python2.7/dist-packages/papyon/switchboard_manager.py", line
> 239, in _process_pending_queues
>     transaction_id = self.switchboard.send_message(message, ack, callback)
>   File "/usr/lib/python2.7/dist-packages/papyon/msnp/switchboard.py", line
> 171, in send_message
>     assert(self.state == ProtocolState.OPEN)
>  AssertionError
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> papyon-bugs mailing list
> papyon-bugs@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/papyon-bugs
>
Comment 2 Sven 2011-07-28 15:09:25 UTC
I just got this error with 0.5.5-1ubuntu1.2 in emesene. I have a direct connection to the router, and no disconnections happened as far as I can tell. It appears that any messages I sent were not received.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.