#3768 HIGH First D: Can't view Clipboard objects moved with USB unless renamed

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 16 12:18:41 EDT 2007


#3768: Can't view Clipboard objects moved with USB unless renamed
------------------------+---------------------------------------------------
  Reporter:  AlexL      |       Owner:  bcsaller              
      Type:  defect     |      Status:  new                   
  Priority:  high       |   Milestone:  First Deployment, V1.0
 Component:  datastore  |     Version:                        
Resolution:             |    Keywords:  relnote               
  Verified:  0          |  
------------------------+---------------------------------------------------
Changes (by tomeu):

 * cc: tomeu (added)
  * owner:  tomeu => bcsaller
  * component:  journal-activity => datastore


Comment:

 Looks like the problem is with the way that the datastore generates the
 file name in the usb stick. The copy fails because of spaces, colons, or
 extra dots.

 {{{
 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError:
 Traceback (most recent call last):
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 736, in create_async
     uid = self.create(props, filelike, can_move)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 792, in create
     path = self._writeContent(uid, filelike, replace=False,
 target=proposed_name)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 429, in _writeContent
     bin_copy.bin_copy(filelike.name, path)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/bin_copy.py", line 8, in bin_copy
     raise OSError("Copy failed %s %s" % (src, dest))
 OSError: Copy failed /tmp/c4cd9f45-ae63-415f-bab2-2c617f336026.asc
 /media/OLPC/Clipboard object: Text..asc
 }}}

-- 
Ticket URL: <https://dev.laptop.org/ticket/3768#comment:3>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list