KeyError when calling tearDown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Fix Released
|
Critical
|
Elliot Murphy | ||
testresources |
Fix Released
|
Undecided
|
Unassigned | ||
testresources (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We are getting the following error from testresources:
test_
File "/home/
d.addCallba
File "/usr/lib/
self.
File "/usr/lib/
result = self.__get_result()
File "/usr/lib/
return frame[0]
exceptions.
I believe this is related to the tearDown being called from a callback.
The following change corrects issues we are experiencing https:/
Related branches
Changed in ubunet: | |
importance: | Undecided → Critical |
Changed in testresources: | |
status: | New → Confirmed |
Changed in testresources (Ubuntu): | |
status: | New → Confirmed |
Changed in testresources: | |
status: | Confirmed → Fix Committed |
Changed in ubunet: | |
assignee: | nobody → Elliot Murphy (statik) |
milestone: | none → w15 |
status: | New → Fix Committed |
Changed in testresources: | |
status: | Fix Committed → Fix Released |
Changed in ubunet: | |
status: | Fix Committed → Fix Released |
The change (in the pastebin) is to check that result is actually present there.
I'd like to confirm whats going on; there may be a serious issue, or it might be shallow. What do you mean by 'tearDown being called from a callback' - could you get a backtrace of the error (e.g. by wrapping the access in
try:
except KeyError:
import pdb;pdb.set_trace()
and when you get into pdb do
bt\n
-Rob