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-packages
sudo patch -p0 < [path]/patch.diff
should do it.
As said, I've been unable to reproduce this bug again, so if anyone wants to try this patch, please do, but be aware it's untested (but shouldn't be unsafe) - basically it catches errors processing the query string, and tries to reauthenticate without sending the req_perms, which seemed to be causing the query string to not be given, and if it still doesn't work writes an error (not warning) to the terminal.
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- packages
sudo patch -p0 < [path]/patch.diff
should do it.
As said, I've been unable to reproduce this bug again, so if anyone wants to try this patch, please do, but be aware it's untested (but shouldn't be unsafe) - basically it catches errors processing the query string, and tries to reauthenticate without sending the req_perms, which seemed to be causing the query string to not be given, and if it still doesn't work writes an error (not warning) to the terminal.
Let me know of the results...