[Etoys] SugarDataStore>>getFilename: problem

karl ramberg karlramberg at gmail.com
Mon Dec 29 18:44:12 EST 2008

I've been trying to get jpegs loaded from datastore but keep getting
errors with SugarDataStore>>getFilname:id. I use this code:

store := SugarDataStore new.
list := (store find:{'mime_type'->#('application/x-squeak-project'
'image/jpeg')} with:#('uid')).
id := ((list at:1) at:'uid') asString.
store getFilename: id.

I can test different entries in the journal changing 'list at:1' to
different numbers. Problem is that the Squeak projects return a file
path but jpegs return only ''

Does anybody have a suggestion ?


More information about the Etoys mailing list