Re: [Freevo-devel] kaa metadata image parse error on 64 bit architecture

2009-05-16 Thread Duncan Webb
Jason Tackaberry wrote: > On Thu, 2009-05-14 at 14:58 -0400, Jason Tackaberry wrote: >> 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.

Re: [Freevo-devel] kaa metadata image parse error on 64 bit architecture

2009-05-16 Thread Jason Tackaberry
On Thu, 2009-05-14 at 14:58 -0400, Jason Tackaberry wrote: > 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. Duncan, is the problem you

Re: [Freevo-devel] kaa metadata image parse error on 64 bit architecture

2009-05-14 Thread Jason Tackaberry
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('<2sII', file.read(26)) [...] > header = struct.unpack('<6sHH', file.read(10)) These are correct