Hi, 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 ?
Karl