[Bug 552227] Re: gwibber-accounts crashed with KeyError in get_account_data()

2010-05-10 Thread Toby Roworth
A note about my patch: "Warning: Could not process response from Facebook server - retrying" basically means you are affected by this bug - if you see it, make sure you try pressing "add" before deciding it doesn't work (the message might not make this clear). If you get the "Error: still can't pr

[Bug 552227] Re: gwibber-accounts crashed with KeyError in get_account_data()

2010-05-04 Thread Toby Roworth
Having managed to solve the problem, I can no longer reproduce it, even if I remove both the authentication from within facebook and the profile from couchdb! As such I can't test this patch properly, but I think it should work - if anyone wants to test it a call of: cd /usr/lib/python2.6/dist-pa

[Bug 552227] Re: gwibber-accounts crashed with KeyError in get_account_data()

2010-05-04 Thread Toby Roworth
** Changed in: gwibber (Ubuntu) Assignee: Toby Roworth (toby-roworth) => (unassigned) -- gwibber-accounts crashed with KeyError in get_account_data() https://bugs.launchpad.net/bugs/552227 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 552227] Re: gwibber-accounts crashed with KeyError in get_account_data()

2010-05-03 Thread Toby Roworth
e further and try and write a patch ** Changed in: gwibber (Ubuntu) Assignee: (unassigned) => Toby Roworth (toby-roworth) -- gwibber-accounts crashed with KeyError in get_account_data() https://bugs.launchpad.net/bugs/552227 You received this bug notification because you are a member

[Bug 552227] Re: gwibber-accounts crashed with KeyError in get_account_data()

2010-05-03 Thread Toby Roworth
I think I've discovered where the problem that's stopping facebook is: in /usr/lib/python-2.6/gwibber/lib/gtk/facebook.py on lines 100 and 101 are the following: url = web.get_main_frame().get_uri() data = json.loads(urlparse.parse_qs(url.split("?", 1)[1])["session"][0]) Line 100 sets url to htt