[Bug 22350] New: telepathy-butterfly crashed with NameError in on_conversation_nudge_received()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 18 17:01:17 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=22350

           Summary: telepathy-butterfly crashed with NameError in
                    on_conversation_nudge_received()
           Product: Telepathy
           Version: unspecified
          Platform: Other
               URL: https://bugs.launchpad.net/ubuntu/+source/telepathy-
                    butterfly/+bug/274400
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-butterfly
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: olethanh at ulb.ac.be


This bug was originally reported by K. Aning on Launchpad (see URL).

"Apparently I was nudged by someone on MSN"

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pymsn/switchboard_manager.py", line
365, in _sb_message_received
    handler._on_message_received(message)
  File "/usr/lib/python2.5/site-packages/pymsn/conversation.py", line 374, in
_on_message_received
    self._dispatch("on_conversation_nudge_received", sender)
  File "/usr/lib/python2.5/site-packages/pymsn/event/__init__.py", line 44, in
_dispatch
    if event_handler._dispatch_event(name, *args):
  File "/usr/lib/python2.5/site-packages/pymsn/event/__init__.py", line 65, in
_dispatch_event
    handler(*params)
  File "/usr/lib/python2.5/site-packages/butterfly/channel/text.py", line 121,
in on_conversation_nudge_received
    text = unicode(_("sends you a nudge"), "utf-8")
NameError: global name '_' is not defined

Dev note :
I don't even know why we are passing it to _() since we don't use gettext at
all. Easy fix


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list