igi file read problems

Feature requests, bug reports and related discussion
FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

igi file read problems

Post by FakeShamus » Sun Apr 28, 2013 7:59 am

Hi, I'm not sure when this started, but a few recent igi's give me this error when I try to open them in Indigo:

Code: Select all

Error: Error while reading IGI from file: Unknown chunk type '4294967295'
this is with Indigo 3.6.10, mac version, osx 10.6.8

with Indigo 3.6.9 I get this error message:

Code: Select all

Error: Invalid Image File: invalid version
is there any way to rescue these files and make them readable?

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Wed May 01, 2013 1:00 am

Hi FakeShamus,
Can you send me one of the IGIs that is giving this error?
Or do you have steps to reproduce the error?

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Wed May 01, 2013 2:11 am

they are quite huge - I could try with dropbox or something.
I am rendering them with the console version, network mode with 2 mac pro's
I'm wondering if I maybe stopped the process while in the midst of saving? would this create that error?
I try to be careful not to quit near a save time, but it's possible I messed that up...

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Fri May 31, 2013 9:49 am

I'm still getting this error when I try to open a large igi in Indigo. this with the latest beta:

Code: Select all

Error: Error while reading IGI from file: Unknown chunk type '1'
I tested with some different resolutions and it seems related to the render size (or file size?). I was able to render a half-size version of the scene (3000 x 4500 px) and open up the resulting igi with no problem. but I bump that up to full res (6000 x 9000px) and I get the error. the igi for the full res render is about 2.6 GB. I have been able to open very large igi's like this in the past with no problems, but it seems to have changed.
I can reproduce using both the console and gui versions of Indigo. again, this is on a Mac Pro running OSX 10.6.8
thanks!

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Fri May 31, 2013 10:46 am

Will look into this soon.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: igi file read problems

Post by CTZn » Sat Jun 01, 2013 12:50 am

Just wondering... if Ono is only after the file header, there are several freewares that slice files into pieces...
obsolete asset

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Sat Jun 01, 2013 4:00 am

Hi FakeShamus,
I can't replicate the problem.
Could you maybe email us a simple indigo scene that shows the problem, along with an exact sequence of steps to replicate the problem?

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Sat Jun 01, 2013 5:05 am

sent you a pm with an example igs.
problem persists for me even with very simple scenes... it just seems to be the very large resolution.

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Thu Jun 06, 2013 4:40 am

Looks like it is a bug in OS X's std::ifstream read() for values greater than 2^31.
Will work around it.

Sloppy stuff Apple, get your sh*t together.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Fri Jun 07, 2013 12:25 pm

I am getting away from apple...really not into the direction they are going. it's all iPods and -pads and -phones and who cares about professionals using their computers.
Thanks for looking into it, Ono

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: igi file read problems

Post by galinette » Fri Jun 07, 2013 6:19 pm

Hey, if this is a 32-bit version, that's not Apples fault, but the standard behavior. Linux will do exactly the same.

If this is a 64-bit toolchain, OK that's lame.

Ono, have you looked at large file support with options such as -D_FILE_OFFSET_BITS=64 ? (May require extra defines and options to pass to file open)
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Fri Jun 07, 2013 8:50 pm

galinette wrote:Hey, if this is a 32-bit version, that's not Apples fault, but the standard behavior. Linux will do exactly the same.

If this is a 64-bit toolchain, OK that's lame.

Ono, have you looked at large file support with options such as -D_FILE_OFFSET_BITS=64 ? (May require extra defines and options to pass to file open)
This is with a 64 bit executable. The file offset type is 8 bytes.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Sun Jun 16, 2013 6:26 am

just to follow up on this, will your work-around allow me to open the igi's I have once you have an updated version of Indigo? or is it a problem with the igi files themselves?
(sorry I don't really understand the issue you mention above)

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: igi file read problems

Post by OnoSendai » Sun Jun 16, 2013 7:00 am

FakeShamus wrote:just to follow up on this, will your work-around allow me to open the igi's I have once you have an updated version of Indigo? or is it a problem with the igi files themselves?
(sorry I don't really understand the issue you mention above)
I think it should actually allow old IGIs to be opened.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: igi file read problems

Post by FakeShamus » Mon Jun 17, 2013 2:38 am

Great, that will really save me on several big renders!

Post Reply
18 posts

Who is online

Users browsing this forum: No registered users and 86 guests