error formatter loads wrong file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdesklets (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When a desklet crashes in gdesklets (cpuspeed-temp, in this case), an error message is supposed to show up with the file that had the crash and the surrounding lines with the line that had an exception highlighted.
Anyway, it loads the wrong file. In fact, it loads the error formatter file:
###
Non-ASCII character '\xc2' in file ./CPUTemp/
declared; see http://
65)
/usr/lib/
60 # get last traceback (otherwise we would load the wrong file for
61 # hilighting)
62 this_tb = exc_tb
63 while (this_tb.tb_next):
64 tmp = this_tb
> 65 del this_tb
66 this_tb = tmp.tb_next
67 del tmp
68
69 # get the .py file; we don't want .pyc or .pyo!
70 path = this_tb.
71 del this_tb
###
The error was actually in line 65 of /usr/share/
gdesklets version: 0.36-4
ubuntu version: 8.10