** Summary changed:

- remove_phone() got an unexpected keyword argument 'number'' - 
ubuntuone-preferences does /remove/phone/$token
+ Server & client error when removing phone from ubuntuone-preferences

** Summary changed:

- Server & client error when removing phone from ubuntuone-preferences
+ Client and Server error while removing phone from ubuntuone-preferences

** Also affects: ubuntuone-client
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-client (Ubuntu)
   Importance: Undecided
       Status: New

** Visibility changed to: Public

** Description changed:

  Latest OOPS-ID with such issue:
  13424-1629appserverZeaJdHbIGAAIBEeBEbBaeJIGDdAGIfEHH23675.oops.bz2
  
  Caused by:
  api/urls.py:    url(r'^1.0/devices/remove/phone/(?P<number>\w+)$', 
'remove_phone'),
  
  Which goes to:
  api/views.py:def remove_phone(request):
  ----------------------------------^ missing number parameter
  
  Which is invoked by ubuntuone-preferences:
  def remove(self, button, kind, token):
-         """
-         Callback for the Remove button.
+         """
+         Callback for the Remove button.
  
-         Starts an async request to remove a device.
-         """
-         make_rest_request(url=('%sremove/%s/%s' % (self.base_url,
-                                                    kind.lower(), token)),
+         Starts an async request to remove a device.
+         """
+         make_rest_request(url=('%sremove/%s/%s' % (self.base_url,
+                                                    kind.lower(), token)),
+ 
+ 
+ After an attempt to remove the phone from ubuntuone-client the following is 
printed:
+ HTTP Error 500: INTERNAL SERVER ERROR
+ ERROR:ubuntuone-preferences:Invalid response getting devices list.

** Tags added: desktop+

** Changed in: ubuntuone-client
     Assignee: (unassigned) => Ubuntu One Desktop+ team (ubuntuone-desktop+)

-- 
Client and Server error while removing phone from ubuntuone-preferences
https://bugs.launchpad.net/bugs/595407
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

Reply via email to