#1793 HIGH Trial-2: exception when indexing a pdf
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jun 22 05:36:53 EDT 2007
#1793: exception when indexing a pdf
-----------------------+----------------------------------------------------
Reporter: tomeu | Owner: bcsaller
Type: defect | Status: new
Priority: high | Milestone: Trial-2
Component: datastore | Version:
Keywords: | Verified: 0
-----------------------+----------------------------------------------------
Patch attached.
{{{
2007-06-22 11:38:30,871 ERROR: Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
packages/dbus/connection.py", line 210, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/tomeu/sugar-jhbuild/build/bin/index-service", line 105, in
updated
r = self.fulltext.fulltext_index(uid, filename, mime_type)
File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
packages/olpc/datastore/query.py", line 497, in fulltext_index
fp = converter(fileobj, mimetype=mimetype)
File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
packages/olpc/datastore/converter.py", line 117, in __call__
converter = self._converters.get(ext)
UnboundLocalError: local variable 'ext' referenced before assignment
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/1793>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list