This should work fine on GAE. Please show us your exact model. Are you testing with SDK?
On Saturday, 2 February 2013 04:33:56 UTC-6, Sebastian Cambeo wrote: > > The following line of code works perfectly well locally (no GAE): > > db.table1.insert(image = open('test.jpg', 'rb') > > However it does not work on GAE: > As the filesystem has no permission to write, this line of code should > automatically upload the blob data into "image_blob". However "image_blob" > remains empty. > > Also I should not need to save the blob data of the image by myself, as > the DAL should give me the data transparently (from database or file system > depending on whether I am on GAE or not). > > This is a very critical part of my application, any help would be very > much appreciated > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.