[sugar] Does datastore.write() work at all?

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Sat Mar 8 20:24:13 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin M. Schwartz wrote:
| ~  File "/usr/lib/python2.5/site-packages/olpc/datastore/datastore.py",
| line 177, in _resolveMountpoint
| ~    mp = self.mountpoints[mountpoint]
| KeyError: dbus.String(u'1285c87a-1b13-4463-9e19-87f0ad8e1828',
| variant_level=1)

No longer mysterious.  This long string represents a "mount point", in
this case, the NAND flash of one machine.  I was transferring this
metadata to another machine whose NAND flash has a different identifier.
datastore.write() was confronted with a DSObject that was asking to be
saved to an unknown volume.

Bug? Feature?  Either way, understood.

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0zw9UJT6e6HFtqQRArbMAJ40Yn8AJtDkR9Lw4b7+FydJqkVljQCbBcig
sefxQKRyoVi8yng+Fa6h9BE=
=TBQi
-----END PGP SIGNATURE-----


More information about the Sugar mailing list