It looks, that export of images is broken for long time, aproximately since support for FileField introduced by Django 1.0 Thanks for the solution.
I wrote a report about other two bugs related to product export and fix to all them. https://bitbucket.org/chris1610/satchmo/issue/1353/three-bugs-in-product-export On 6 říj, 22:46, Tomas Neme <[email protected]> wrote: > On Thu, Oct 6, 2011 at 5:44 PM, Tomas Neme <[email protected]> wrote: > > > > Have you tried the product export function in the admin? > > > -Chris > > > have just now, to be greeted with AttributeError: 'ImageFieldFile' object > > has no attribute 'startswith' dealt by the trying to do this: > > > 251 for image in images: > > 252 f = os.path.join(filedir, image) > > > with image > > >>> image > > <ImageFieldFile: images/productimage-picture-dj-rocks-2.jpg> > > so I'm guessing that simply changing that 252 line with > > f = image.path > > should fix this, but I wonder what else might be untested... > > -- > "The whole of Japan is pure invention. There is no such country, there are > no such people" --Oscar Wilde > > |_|0|_| > |_|_|0| > |0|0|0| > > (\__/) > (='.'=)This is Bunny. Copy and paste bunny > (")_(") to help him gain world domination. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
