wikipedia: Does not import simplejson, triggering Ubuntu crash dialog on error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Scopes |
Fix Released
|
Low
|
David Callé |
Bug Description
When opening the dash when my netbook is not connected to the internet, the Ubuntu crash dialog shows up. I tried finding the error, and this is what it shows:
kyoushuu@
Search changed to ""
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
for i in self.wikipedia_
File "/usr/lib/
except (IOError, KeyError, urllib2.URLError, urllib2.HTTPError, simplejson.
NameError: global name 'simplejson' is not defined
^CTraceback (most recent call last):
File "/usr/lib/
daemon = Daemon()
KeyboardInterrupt
It happens when trying to show a JSON error, but since simplejson is not imported but used, it triggers another error.
This is what is shown when simplejson is imported.
kyoushuu@
Search changed to ""
Error : Unable to search Wikipedia
Nice catch.