← Back to team overview

gwibber-bugs team mailing list archive

[Bug 1055762] Re: doesn't refresh due to utf8 handling issue

 

** Changed in: gwibber
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/1055762

Title:
  doesn't refresh due to utf8 handling issue

Status in Gwibber:
  Fix Released
Status in “gwibber” package in Ubuntu:
  Confirmed

Bug description:
  Using quantal beta2, gwibber-service in french hits that issue:

  "  File "/usr/share/gwibber/plugins/facebook/__init__.py", line 370, in __call__
      return getattr(self, opname)(**args)
    File "/usr/share/gwibber/plugins/facebook/__init__.py", line 394, in receive
      return [self._message(post) for post in data["data"]]
    File "/usr/share/gwibber/plugins/facebook/__init__.py", line 273, in _message
      m["html"] += " " + _("at") + " <p><b>%s</b></p>" % m["location"]["name"]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)"

  replacing the 2 _("at") instances with _("at").decode('utf8') fixes
  the issue, thanks Ken ;-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/1055762/+subscriptions