[Bf-python] Important: Segfaults on Windows >= 98
Greg McBride
mcbridea at arcor.de
Fri Jul 4 06:44:50 CEST 2003
Did a CVS update, and recompile. The print works for the Camera.
This is what I get.
Using a clean Global Dictionary.
Run Python script "Text" ...
[[Camera "Camera"]]
[Camera "Camera"]
Tested on WinXP pro
Compiled with MSVC
Dinklebrow
> -----Original Message-----
> From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org] On
> Behalf Of Willian Padovani Germano
> Sent: Friday, July 04, 2003 4:24 AM
> To: Blender Python List
> Subject: [Bf-python] Important: Segfaults on Windows >= 98
>
> Hi,
>
> We need help from a Windows developer:
>
> Today I confirmed that printing our objects crashes Blender (Windows
> 98). For example this script, similar to the one on the report at the
> Python forum:
>
> # Script 1
> import Blender
> a = Blender.Lamp.Get()
> print a
> print a[0]
>
> causes a SIGSEGV there.
>
> I made a change to Camera, took away its Camera_print method (following
> advice from Python documentation: it's usually not necessary) and made a
> better Camera_repr one that will be used as print, repr() and str().
>
> Could anyone who compiles Blender from CVS under Windows 98 or newer
> please comfirm that script 1 above really crashes Blender? (Don't forget
> to add a lamp to the scene first). Then also check if this one:
>
> # Script 2
> import Blender
> a = Blender.Camera.Get()
> print a
> print a[0]
>
> does not crash it. You need to update from CVS first. As soon as I get
> confirmation we can update all other modules and get rid of these
> segfaults.
>
> Many thanks in advance,
>
> --
> Willian, wgermano at ig.com.br
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list