On Thu, 2009-05-14 at 20:29 +0200, Duncan Webb wrote:
> I think that there could be a problem parsing image with kaa.metadata as
> I'm getting this on a AMD64 machine:
[...]
>     struct.unpack('<2sIIIIII', file.read(26))
[...]
>     header = struct.unpack('<6sHH', file.read(10))

These are correct on 64-bit platforms as well as 32-bit.

It sounds more like a premature EOF.  I've just done a commit that fixed
about half a dozen areas that barf on undersized files (especially zero
byte files).  Please let me know if that fixes your problem.

This is really very silly, and embarrassing, and makes it very clear
that we need a repository of test files, both properly formatted and
malformed, for kaa.metadata.  The biggest concern with this is
copyright, but we definitely need it.

Perhaps an opportunity for a volunteer?

Jason.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to