[Bf-funboard] Debugging bug #18968

Early Ehlinger early at respower.com
Tue Jul 7 22:48:22 CEST 2009


Thanks for your help Martin!  Greatly appreciated!

-- Early

On Tue, Jul 7, 2009 at 3:46 PM, Martin Poirier <theeth at yahoo.com> wrote:

>
> You can also open the file in Blender (through the UI), uncheck Compress
> File in the File menu and then resave.
>
> Martin
>
> --- On Tue, 7/7/09, Martin Poirier <theeth at yahoo.com> wrote:
>
> > From: Martin Poirier <theeth at yahoo.com>
> > Subject: Re: [Bf-funboard] Debugging bug #18968
> > To: bf-funboard at blender.org
> > Received: Tuesday, July 7, 2009, 4:44 PM
> >
> > They are zipped on save through Blender using zlib.
> >
> > gzip should be able to open them, but I'd assume 7zip would
> > too.
> >
> > Martin
> >
> > --- On Tue, 7/7/09, Early Ehlinger <early at respower.com>
> > wrote:
> >
> > > From: Early Ehlinger <early at respower.com>
> > > Subject: Re: [Bf-funboard] Debugging bug #18968
> > > To: bf-funboard at blender.org
> > > Received: Tuesday, July 7, 2009, 4:42 PM
> > > How are they zipped?  Info-zip
> > > doesn't seem to understand them.  7zip? gzip?
> > >
> > > -- 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
> > > > >
> > > >
> https://projects.blender.org/tracker/index.php?func=detail&aid=18968&group_id=9&atid=125
> > > > >
> > > > > 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.
> > > >
> > > > Martin
> > > >
> > > >
> > > >
> > >
> > __________________________________________________________________
> > > > Make your browsing faster, safer, and easier with
> > the
> > > new Internet
> > > > Explorer® 8. Optimized for Yahoo! Get it Now
> > for
> > > Free! at
> > > > http://downloads.yahoo.com/ca/internetexplorer/
> > > > _______________________________________________
> > > > Bf-funboard mailing list
> > > > Bf-funboard at blender.org
> > > > http://lists.blender.org/mailman/listinfo/bf-funboard
> > > >
> > >
> > >
> > >
> > > --
> > > Early Ehlinger
> > > _______________________________________________
> > > Bf-funboard mailing list
> > > Bf-funboard at blender.org
> > > http://lists.blender.org/mailman/listinfo/bf-funboard
> > >
> >
> >
> >
> > __________________________________________________________________
> > Get a sneak peak at messages with a handy reading pane with
> > All new Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/
> > _______________________________________________
> > Bf-funboard mailing list
> > Bf-funboard at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-funboard
> >
>
>
>       __________________________________________________________________
> Be smarter than spam. See how smart SpamGuard is at giving junk email the
> boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to
> New Mail today or register for free at http://mail.yahoo.ca
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-funboard
>



-- 
Early Ehlinger


More information about the Bf-funboard mailing list