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

Tomeu Vizoso tomeu at tomeuvizoso.net
Sun Mar 9 08:34:47 EDT 2008


On Sun, Mar 9, 2008 at 2:24 AM, Benjamin M. Schwartz
<bmschwar at fas.harvard.edu> wrote:
> 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.

Well, certainly the DS could give a better error message. Feel free to
enter a ticket about this.

Tomeu


More information about the Sugar mailing list