A very hackish workaround that mimics the exception handling above it. It still produces the error in the log file, but at least it gets you online.
root@mystic:/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop# diff -ur auth-lkg.py auth.py --- auth-lkg.py 2009-11-01 18:00:55.338832127 -0500 +++ auth.py 2009-11-01 18:01:27.030078349 -0500 @@ -290,7 +290,8 @@
def got_error(error): """Handler for D-Bus errors when calling state().""" - logger.error("Unable to contact NetworkManager") + logger.error("Unable to contact NetworkManager. Trying anyway.") + self.acquire_access_token(description, store)
iface.state(reply_handler=got_state, error_handler=got_error)
A very hackish workaround that mimics the exception handling above it. It still produces the error in the log file, but at least it gets you online.
root@mystic: /usr/lib/ python2. 6/dist- packages/ ubuntuone/ oauthdesktop# diff -ur auth-lkg.py auth.py
--- auth-lkg.py 2009-11-01 18:00:55.338832127 -0500
+++ auth.py 2009-11-01 18:01:27.030078349 -0500
@@ -290,7 +290,8 @@
def got_error(error):
"""Handler for D-Bus errors when calling state().""" error(" Unable to contact NetworkManager") error(" Unable to contact NetworkManager. Trying anyway.") access_ token(descripti on, store)
- logger.
+ logger.
+ self.acquire_