[Bug 297360] Re: Can not view Clipboard Object = file not found

Bug Watch Updater bugwatch at bugs.launchpad.net
Fri Feb 13 13:50:45 GMT 2009


** Changed in: sugar
       Status: New => Fix Released

-- 
Can not view Clipboard Object = file not found
https://bugs.launchpad.net/bugs/297360
You received this bug notification because you are a member of Sugar
Team, which is the registrant for Sugar shell.

Status in Sugar shell: Fix Released
Status in “sugar” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: sugar

I create a Clipboard object as follows - In journal Paint Object -> Copy, then 'Keep' from frame on bottom left side
Once the object has appeared in the journal, clicking on it opens 'Browse', but errors.

Browse gives the error:
--
File Not Found
The file /home/simon/.sugar/default/data/4fb8035b-8d52-4db5-aa32-64d5b138dd19.png cannot be found. Please check the location and try again.
--

Looking on the file system I see that this object does not have the '.png' suffix and is in a different place in the directory tree.
--
simon at destiny:~$ ls -al /home/simon/.sugar/default/data/4fb8035b-8d52-4db5-aa32-64d5b138dd19.png
ls: cannot access /home/simon/.sugar/default/data/4fb8035b-8d52-4db5-aa32-64d5b138dd19.png: No such file or directory
simon at destiny:~$ ls -al /home/simon/.sugar/default/data/
total 12
drwxr-xr-x  2 simon simon 4096 2008-11-12 05:23 .
drwxr-x--- 12 simon simon 4096 2008-11-12 05:44 ..
-rw----r--  2 simon simon   72 2008-11-12 05:23 0fbbb555-5843-4709-ab8d-69e06f002625
simon at destiny:~$ find . -name '4fb8035b-*'
./.sugar/default/datastore/store/preview/4fb8035b-8d52-4db5-aa32-64d5b138dd19
./.sugar/default/datastore/store/4fb8035b-8d52-4db5-aa32-64d5b138dd19.metadata
./.sugar/default/datastore/store/4fb8035b-8d52-4db5-aa32-64d5b138dd19
simon at destiny:~$ cat ./.sugar/default/datastore/store/4fb8035b-8d52-4db5-aa32-64d5b138dd19.metadata
{"activity_id": "1d8977db55f94299e007fd4a2f5e86b0deb75e4f", "title_set_by_user": "0", "uid": "4fb8035b-8d52-4db5-aa32-64d5b138dd19", "title": "Paint Activity", "timestamp": 1226492330, "activity": "org.laptop.Oficina", "share-scope": "private", "keep": "0", "icon-color": "#B20008,#F8E800", "mtime": "2008-11-12T05:18:50.371088", "mime_type": "image/png"}
--

The object is a valid PNG (image anyway) it can be view with 'display' (ImageMagick).
Mungewell



More information about the Ubuntu-sugarteam mailing list