[Zope] windos and linux

Andreas Jung lists at zopyx.com
Sun May 27 14:51:21 EDT 2007



--On 27. Mai 2007 20:45:18 +0200 Einar Næss Jensen 
<einar.nass.jensen at gmail.com> wrote:

> this snippet behaves differently on windows and linux:
> http://zope.pastey.net/42188-1gbl
>
> I would be thankful of any clues to why.
> in linux it copies a gif picture off the filesystem and into the zodb.
> In windows. the object gets created but no gif is present.also no
> errors in the log
>
>

This code is pretty much worthless without knowing the code for
the ProfilPicture implementation. Likely your image can't be read
under Windows (for whatever reason). You should use pdb and debug
the related code on Windows.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070527/dff9ce69/attachment.bin


More information about the Zope mailing list