The solution provided by #25 does work.
After some digging around I found that the problem lies somewhere in the 
function parsetime in 
/usr/lib/python2.6/dist-packages/gwibber/microblog/util/__init__.py

def parsetime(t):
  loc = locale.getlocale(locale.LC_TIME)
  locale.setlocale(locale.LC_TIME, 'C')
  result = mx.DateTime.Parser.DateTimeFromString(t)
  locale.setlocale(locale.LC_TIME, loc)
  return result.ticks()

In my case the locale was set to en_IN
locale.setlocale(locale.LC_TIME,loc)
throws an error

/usr/lib/python2.6/locale.pyc in setlocale(category, locale)
    511         # convert to string

    512         locale = normalize(_build_localename(locale))
--> 513     return _setlocale(category, locale)
    514 
    515 def resetlocale(category=LC_ALL):

Error: unsupported locale setting

But when locale is set to en_US.utf8 it works properly.

-- 
Gwibber doesn't refresh streams (unsupported locale/language error not handled)
https://bugs.launchpad.net/bugs/533017
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to