#2445 BLOC Untriag: datastore fails to mount some usb disks
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jul 24 16:06:58 EDT 2007
#2445: datastore fails to mount some usb disks
-----------------------+----------------------------------------------------
Reporter: tomeu | Owner: bcsaller
Type: defect | Status: new
Priority: blocker | Milestone: Untriaged
Component: datastore | Version:
Keywords: | Verified: 0
-----------------------+----------------------------------------------------
Ben, perhaps that device had an old, incompatible version of the xapian
db, but I think we should anyway recreate the .olpc.store dir when we fail
to read the existing one. If we don't do so we risk having lots of usb
disks unreadable in the journal until they reformat them.
{{{
1185311927.2788 DEBUG - root: VolumeToolbar._mount_in_datastore:
dbus.String(u'/org/freedesktop/Hal/devices/volume_uuid_03DA_023E')
542 1185311927.4655 ERROR - dbus.connection: Exception in handler for
D-Bus signal:
543 Traceback (most recent call last):
544 File "/usr/lib/python2.5/site-packages/dbus/connection.py", line
210, in maybe_handle_message
545 self._handler(*args, **kwargs)
546 File "/usr/share/activities/Journal.activity/volumestoolbar.py",
line 124, in <lambda>
547 lambda *args: self._hal_device_property_modified_cb(udi,
*args))
548 File "/usr/share/activities/Journal.activity/volumestoolbar.py",
line 101, in _hal_device_property_modified_cb
549 volume_id = self._mount_in_datastore(udi)
550 File "/usr/share/activities/Journal.activity/volumestoolbar.py",
line 166, in _mount_in_datastore
551 dict(title=mount_point))
552 File "/usr/lib/python2.5/site-
packages/sugar/datastore/datastore.py", line 227, in mount
553 return dbus_helpers.mount(uri, options)
554 File "/usr/lib/python2.5/site-
packages/sugar/datastore/dbus_helpers.py", line 71, in mount
555 return _data_store.mount(uri, options)
556 File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line
136, in __call__
557 **keywords)
558 File "/usr/lib/python2.5/site-packages/dbus/connection.py", line
603, in call_blocking
559 message, timeout)
560 DBusException:
org.freedesktop.DBus.Python.cPickle.UnpicklingError: Traceback (most
recent call last):
561 File "/usr/lib/python2.5/site-packages/dbus/service.py", line
664, in _message_cb
562 retval = candidate_method(self, *args, **keywords)
563 File "/usr/lib/python2.5/site-
packages/olpc/datastore/datastore.py", line 76, in mount
564 mp = self.connect_backingstore(uri, **_options)
565 File "/usr/lib/python2.5/site-
packages/olpc/datastore/datastore.py", line 152, in connect_backingstore
566 bs.initialize_and_load()
567 File "/usr/lib/python2.5/site-
packages/olpc/datastore/backingstore.py", line 74, in initialize_and_load
568 self.load()
569 File "/usr/lib/python2.5/site-
packages/olpc/datastore/backingstore.py", line 425, in load
570 super(InplaceFileBackingStore, self).load()
571 File "/usr/lib/python2.5/site-
packages/olpc/datastore/backingstore.py", line 224, in load
572 if desc: self.create_descriptor(**desc)
573 File "/usr/lib/python2.5/site-
packages/olpc/datastore/backingstore.py", line 169, in create_descriptor
574 desc = pickle.load(fp)
575 UnpicklingError: bad pickle data
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/2445>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list