Public bug reported:

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 ;-)

** Affects: gwibber (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- doesn't refresh to utf8 handling issue
+ doesn't refresh due to utf8 handling issue

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gwibber in Ubuntu.
https://bugs.launchpad.net/bugs/1055762

Title:
  doesn't refresh due to utf8 handling issue

Status in “gwibber” package in Ubuntu:
  New

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/ubuntu/+source/gwibber/+bug/1055762/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to