[Bf-funboard] Debugging bug #18968
early at respower.com
Tue Jul 7 22:46:46 CEST 2009
Never mind - experimentation shows it's gzip. So to decompress, simply
rename the file to e.g., "file.blend.gz", then "gzip -d file.blend.gz"
On Tue, Jul 7, 2009 at 3:42 PM, Early Ehlinger <early at respower.com> wrote:
> How are they zipped? Info-zip doesn't seem to understand them. 7zip?
> -- Early
> On Tue, Jul 7, 2009 at 2:31 PM, Martin Poirier <theeth at yahoo.com> wrote:
>> --- On Tue, 7/7/09, Early Ehlinger <earlye at gmail.com> wrote:
>> > From: Early Ehlinger <earlye at gmail.com>
>> > Subject: [Bf-funboard] Debugging bug #18968
>> > To: bf-funboard at blender.org
>> > Received: Tuesday, July 7, 2009, 3:14 PM
>> > This is in reference to
>> > So in debugging this, I'm learning a lot about blender
>> > internals, which is
>> > fun.
>> > We have a script that uses python to load a .blend file,
>> > e.g., by calling
>> > Blender.Load(...)
>> > The error "only .blend files can be loaded from the command
>> > line..." is
>> > issued in:
>> > /source/blender/python/api2_2x/blender.c (686):
>> > Blender_Load( ).
>> > Apparently, Blender_Load opens the file and checks to see
>> > that the first 4
>> > bytes are "BLEN," and if not, assumes that the file is not
>> > a .blend file,
>> > resulting in this error message.
>> > I have a customer who swears that the .blend files he is
>> > sending me were
>> > created in Blender 2.49, straight from the web site, and
>> > yet they fail the
>> > "BLEN" test above. In fact, they start with
>> > 0x1f,0x0x8b,0x08,0x00 - I have
>> > no idea what that indicates - anybody have any tips?
>> The API doesn't check for compressed files. (that's the bug). You can
>> unzip them manually and then it should work.
>> Make your browsing faster, safer, and easier with the new Internet
>> Explorer® 8. Optimized for Yahoo! Get it Now for Free! at
>> Bf-funboard mailing list
>> Bf-funboard at blender.org
> Early Ehlinger
More information about the Bf-funboard