I think there are different bugs mixed up in this thread ...
nevertheless:
I was able to solve the following bug:
( Pierre Tocquin's error message is pretty much the same I think )
- I masked the UserID in the last line for privacy reasons -
-----------------------------------------------------------------------------------------------------------
Gwibber Dispatcher: ERROR <facebook:images> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line
75, in perform_operation
message_data = PROTOCOLS[account["protocol"]].Client(account)(opname,
**args)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line
198, in __call__
return getattr(self, opname)(**args)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line
233, in images
return [self._image(post, profiles) for post in data]
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/facebook.py", line
165, in _image
user = profiles[data["owner"]]
KeyError: u'100000497******'
-----------------------------------------------------------------------------------------------------------
Changing line 165 in /usr/lib/python2.6/dist-
packages/gwibber/microblog/facebook.py from:
user = profiles[data["owner"]]
to
user = profiles[int(data["owner"])]
solved the problem.
The problem seems to be that the type of data["owner"] of this user is <type
'unicode'>
(the reason seems to be that his user name contains unicode letters)
- all other user's data["owner"] type is <type 'int'>
by manually converting it to an integer the problem seems to be fixed.
(Although the real bug seems to be somewhere else, as i think data["owner"]
simply shouldn't have been unicode)
--
Gwibber not retrieving Facebook info
https://bugs.launchpad.net/bugs/549755
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs