Can not view Clipboard Object = file not found

Bug #297360 reported by mungewell
Affects Status Importance Assigned to Milestone
Fix Released
sugar (Ubuntu)
Fix Released

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@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@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@destiny:~$ find . -name '4fb8035b-*'
simon@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).

Revision history for this message
mungewell (simon-mungewell) wrote :

BTW the preview (right arrow in Journal) is empty until the Clipboard is viewed with Browse, and then it shows a smaller version of the 'not found') screen.

Morgan Collett (morgan)
Changed in sugar:
status: New → Confirmed
Revision history for this message
Morgan Collett (morgan) wrote :

I confirmed this by right-clicking on an image in Browse and copying it to the clipboard with the context menu that appears, then from the clipboard I clicked Keep, and then tryed to resume it from the Journal.

I've reported it upstream.

I can't reproduce in jhbuild so it must have been fixed explicitly or implicitly since the version which is in Intrepid.

Changed in sugar:
status: Unknown → New
Changed in sugar:
status: New → Fix Released
Luke Faraone (lfaraone)
Changed in sugar (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.