'NoneType' object has no attribute 'cancel' on darwin and windows
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-4-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Medium
|
Manuel de la Peña |
Bug Description
While running u1-client on darwin I have seen several times the following:
Unhandled error in Deferred:
2012-06-26 14:36:08,425 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
File "/usr/local/
callbackKey
File "/usr/local/
self.
--- <exception caught here> ---
File "/usr/local/
current.result = callback(
File "/Users/
return inhibitor.cancel()
exceptions.
Unhandled Error
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
File "/usr/local/
callbackKey
File "/usr/local/
self.
--- <exception caught here> ---
File "/usr/local/
current.result = callback(
File "/Users/
return inhibitor.cancel()
exceptions.
Looks like a bad implementation of a stub somewhere.
Related branches
- Diego Sarmentero (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 90 lines (+50/-3)4 files modifiedtests/platform/session/test_common.py (+46/-0)
tests/platform/session/test_linux.py (+2/-1)
ubuntuone/platform/session/darwin.py (+1/-1)
ubuntuone/platform/session/windows.py (+1/-1)
summary: |
- 'NoneType' object has no attribute 'cancel' on darwin + 'NoneType' object has no attribute 'cancel' on darwin and windows |
Changed in ubuntuone-client: | |
status: | Triaged → Fix Committed |
The darwin inhibitor does have cancel() so it looks like something else. Probably some other stub is not creating the inhibitor object on darwin.