QT UI: WebClientError when closing the windows

Bug #845105 reported by Natalia Bidart on 2011-09-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
High
Alejandro J. Cura
ubuntuone-control-panel (Ubuntu)
Medium
Natalia Bidart

Bug Description

If you close the control panel before the webclient queries finish, you get a WebClientError.

Related branches

Changed in ubuntuone-control-panel:
assignee: nobody → Alejandro J. Cura (alecu)
status: New → Triaged
importance: Undecided → High
tags: added: u1-zomg-windows
Alejandro J. Cura (alecu) wrote :

The error that shows up in the log is:

2011-09-08 16:37:51,983 - ubuntuone.controlpanel.qt.controlpanel - ERROR - load
Traceback (most recent call last):
  File "e:\ubuntuone-control-panel\trunk\ubuntuone\controlpanel\gui\qt\__init__.py", line 85, in inner
    res = yield f(*args, **kwargs)
  File "c:\python27\lib\site-packages\twisted\internet\defer.py", line 1018, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "c:\python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "e:\ubuntuone-control-panel\trunk\ubuntuone\controlpanel\gui\qt\controlpanel.py", line 85, in load
    info = yield self.backend.account_info()
  File "c:\python27\lib\site-packages\twisted\internet\defer.py", line 1018, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "c:\python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "e:\ubuntuone-control-panel\trunk\ubuntuone\controlpanel\backend.py", line 99, in inner
    result = yield f(instance, *args, **kwargs)
  File "c:\python27\lib\site-packages\twisted\internet\defer.py", line 1018, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "c:\python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "e:\ubuntuone-control-panel\trunk\ubuntuone\controlpanel\backend.py", line 343, in account_info
    account_info = yield self.wc.call_api(ACCOUNT_API)
  File "c:\python27\lib\site-packages\twisted\internet\defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "e:\ubuntuone-control-panel\trunk\ubuntuone\controlpanel\web_client\txwebclient.py", line 56, in _handle_error
    raise WebClientError(-1, failure)
WebClientError: (-1, <twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionLost'>>)

Changed in ubuntuone-control-panel:
status: Triaged → In Progress
Changed in ubuntuone-control-panel:
status: In Progress → Fix Committed
tags: added: u1-windows
Changed in ubuntuone-control-panel:
milestone: none → 2.0.0
Changed in ubuntuone-control-panel (Ubuntu):
status: New → Triaged
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → Medium
milestone: none → ubuntu-11.10
Changed in ubuntuone-control-panel:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-control-panel - 2.0.0-0ubuntu1

---------------
ubuntuone-control-panel (2.0.0-0ubuntu1) oneiric; urgency=low

  * New upstream release:

    [ Alejandro J. Cura <email address hidden>]
      - Do not throw a webclient error when closing
        (LP: #845105).
    [ Natalia B. Bidart <email address hidden> ]
      - Removed all code related to Bookmarks (LP: #850142).
      - Replaces references to "Evolution" by "Thunderbird" (LP: #849494).
    [ Rodney Dawes <email address hidden> ]
      - Don't install a .desktop file for control panel
        (part of LP: #838778).
      - Point the indicator/Unity API at the installer .desktop file
        (part of LP: #838778).
      - Set the WMCLASS so Unity will fall back properly
        (part of LP: #838778).
      - Fix a few grammar mistakes (LP: #835093).
      - Don't show the "Get NGB free!" label on "Join now" button at all
        (LP: #819955).

  * debian/control:
    - ubuntuone-control-panel-gtk depends now on ubuntuone-installer >= 2.0.0.
    - require ubuntuone-client >= 2.0.0.
    - require ubuntu-sso-client >= 1.4.0.
    - no longer install a .desktop file (will be installed by ubuntuone-installer).
 -- Natalia Bidart (nessita) <email address hidden> Mon, 26 Sep 2011 14:55:15 -0300

Changed in ubuntuone-control-panel (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers