Comment 120 for bug 595265

Revision history for this message
Olivier FAURAX (olivier-faurax) wrote :

I just got the problem on a Mandriva 2010.1, with the latest gwibber trunk (864).

I tried this with no luck :
- standard way : add of facebook account in gwibber, logging with username (NOT e-mail) and password
- removing the gwibber app from facebook, and retry of standard way

The workaround that worked for me :
- removing the gwibber app from facebook, reloading http://www.facebook.com/[my username] and retry of the standard way

As I was on the trunk, I hacked a bit to get more information on what was happening.
There is an "except: pass" in the facebook code (with a #FIXME).
I removed the "pass" to a "raise" and got this exception :
Traceback (most recent call last):
  File "/home/leo/lp/gwibber/gwibber/lib/gtk/facebook.py", line 134, in on_facebook_auth_title_change
    self.account["username"] = str(fbc.users.getInfo(fbuid)[0]["name"])
  File "<string>", line 7, in getInfo
  File "/home/leo/lp/gwibber/gwibber/microblog/util/facelib.py", line 602, in __call__
    return self._client('%s.%s' % (self._name, method), args)
  File "/home/leo/lp/gwibber/gwibber/microblog/util/facelib.py", line 1140, in __call__
    return self._parse_response(response, method)
  File "/home/leo/lp/gwibber/gwibber/microblog/util/facelib.py", line 1064, in _parse_response
    self._check_error(result)
  File "/home/leo/lp/gwibber/gwibber/microblog/util/facelib.py", line 1015, in _check_error
    raise FacebookError(response['error_code'], response['error_msg'], response['request_args'])
gwibber.microblog.util.facelib.FacebookError: Error 4: Application request limit reached

After the workaround, there has not been this exception anymore.
I hope this will help you fix the problem, or at least, show a message helping the user.