[Bf-python] data corruption

Michael Schardt M.Schardt at web.de
Thu Nov 17 13:26:39 CET 2005


Regarding the "LIB ERROR: base removed" stuff already posted by Campbell Barton (Camera data corruption?):

I experience the same problems when working with scripts: After saving and reloading, objects are missing and i get the error message.
The error occurs in the current testing builds - i used the CVS-build from lguillaume (testing builds forum: UPDATE bf-Blender / Windows (2005 / 11 / 10))
The official 2.40 alpha 2 build seems to work fine.

Here's a way to reproduce the error:

- Create a cube and make sure it's selected
- Press shift-F4 and go to the object list: you'll see that the object 'cube' has 1 user
- Exit the databrowser
- Now run this little python script:

    import Blender; from Blender import Object
    obj = Object.GetSelected()[0]

- Press shift-F4 again and look at the number of users for object 'cube': it's 0 now (you have to close and reopen the databrowser - otherwise it's not updated)

Every time you run the script, the number of users goes down by 1... (btw. using obj = Object.Get('Cube') works correctly)

I can't tell whether it's a python problem though - if others have this even without running any python scripts (?) ...

- Michael Schardt


p.s. Sorry - i first sent this mail to bf-committers accidentally. This is the place it was meant to be sent...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20051117/b0cfebf9/attachment.html>


More information about the Bf-python mailing list