Public bug reported:

This can happen if the user has a really bad profile.
The fix is to tell the user to fix his/her/its profile, but to prevent the 
eventual exception a tiny diff is necessary.
See this emesene bug as an example on what's happening: 
https://github.com/emesene/emesene/issues/462

diff --git a/papyon/service/ContentRoaming/storage.py
b/papyon/service/ContentRoaming/storage.py
index 908056f..6c79cba 100644
--- a/papyon/service/ContentRoaming/storage.py
+++ b/papyon/service/ContentRoaming/storage.py
@@ -145,7 +145,8 @@ class Storage(SOAPService):
         def request_static_tile(error, *args):
             # Request using the PreAuthURL didn't work, try with static
tilephoto
             scheme, host, port, resource = url_split(user_tile_url)
-            self.get_resource(scheme, host, resource, callback, errback)
+            if host:
+                self.get_resource(scheme, host, resource, callback, errback)

         scheme, host, port, resource = url_split(pre_auth_url)
         resource += '?t=' + urllib.quote(token.split('&')[0][2:], '')

** Affects: papyon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772326

Title:
  Yet another exception with bad profile and content roaming

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to