QT UI: WebClientError when closing the windows
Bug #845105 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
Fix Released
|
High
|
Alejandro J. Cura | ||
ubuntuone-control-panel (Ubuntu) |
Fix Released
|
Medium
|
Natalia Bidart |
Bug Description
If you close the control panel before the webclient queries finish, you get a WebClientError.
Related branches
lp:~alecu/ubuntuone-control-panel/webclient-shutdowns
Rejected
for merging
into
lp:ubuntuone-control-panel
- Natalia Bidart (community): Needs Fixing
-
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)
lp:~nataliabidart/ubuntuone-control-panel/webclient-shutdowns
- Alejandro J. Cura (community): Approve
- Roberto Alsina (community): Approve
- Natalia Bidart (community): Approve
-
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 |
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 |
To post a comment you must log in.
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.