QT UI: WebClientError when closing the windows
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
- Natalia Bidart: Needs Fixing on 2011-09-09
-
Diff: 226 lines (+190/-1)3 files modifiedubuntuone/controlpanel/web_client/tests/__init__.py (+19/-0)
ubuntuone/controlpanel/web_client/tests/test_txwebclient.py (+153/-0)
ubuntuone/controlpanel/web_client/txwebclient.py (+18/-1)
- Alejandro J. Cura (community): Approve on 2011-09-15
- Roberto Alsina (community): Approve on 2011-09-15
- Natalia Bidart: Approve on 2011-09-15
-
Diff: 228 lines (+192/-1)3 files modifiedubuntuone/controlpanel/web_client/tests/__init__.py (+19/-0)
ubuntuone/controlpanel/web_client/tests/test_txwebclient.py (+155/-0)
ubuntuone/controlpanel/web_client/txwebclient.py (+18/-1)
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 : | #1 |
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 : | #2 |
This bug was fixed in the package ubuntuone-
---------------
ubuntuone-
* 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-
- require ubuntuone-client >= 2.0.0.
- require ubuntu-sso-client >= 1.4.0.
- no longer install a .desktop file (will be installed by ubuntuone-
-- Natalia Bidart (nessita) <email address hidden> Mon, 26 Sep 2011 14:55:15 -0300
Changed in ubuntuone-control-panel (Ubuntu): | |
status: | Triaged → Fix Released |
The error that shows up in the log is:
2011-09-08 16:37:51,983 - ubuntuone. controlpanel. qt.controlpanel - ERROR - load control- panel\trunk\ ubuntuone\ controlpanel\ gui\qt\ __init_ _.py", line 85, in inner lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in _inlineCallbacks throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator control- panel\trunk\ ubuntuone\ controlpanel\ gui\qt\ controlpanel. py", line 85, in load account_ info() lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in _inlineCallbacks throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator control- panel\trunk\ ubuntuone\ controlpanel\ backend. py", line 99, in inner lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in _inlineCallbacks throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator control- panel\trunk\ ubuntuone\ controlpanel\ backend. py", line 343, in account_info call_api( ACCOUNT_ API) lib\site- packages\ twisted\ internet\ defer.py" , line 542, in _runCallbacks current. result, *args, **kw) control- panel\trunk\ ubuntuone\ controlpanel\ web_client\ txwebclient. py", line 56, in _handle_error python. failure. Failure <class 'twisted. internet. error.Connectio nLost'> >)
Traceback (most recent call last):
File "e:\ubuntuone-
res = yield f(*args, **kwargs)
File "c:\python27\
result = result.
File "c:\python27\
return g.throw(self.type, self.value, self.tb)
File "e:\ubuntuone-
info = yield self.backend.
File "c:\python27\
result = result.
File "c:\python27\
return g.throw(self.type, self.value, self.tb)
File "e:\ubuntuone-
result = yield f(instance, *args, **kwargs)
File "c:\python27\
result = result.
File "c:\python27\
return g.throw(self.type, self.value, self.tb)
File "e:\ubuntuone-
account_info = yield self.wc.
File "c:\python27\
current.result = callback(
File "e:\ubuntuone-
raise WebClientError(-1, failure)
WebClientError: (-1, <twisted.