On Wednesday 13 February 2002 08:44 pm, Luke Cole wrote:
> Hi,
>
> I'm trying to run the MiddleKit Video store example from Webware
> 0.6.1b1. Unfortunately, python core dumps while running the
> Generate.py script:
>
> bash-2.03$ python ~/tmp/Webware-0.6.1b1/MiddleKit/Design/Generate.py
> --db MySQL --model Videos
> Generating SQL...
> Generating Python...
> Bus Error (core dumped)
> bash-2.03$
>
> None of the generated python classes get written to disk. I ran
> this under gdb, and traced the problem back to the mx libraries:
>
> Program received signal SIGSEGV, Segmentation fault.
> mxDateTime_SetFromDateAndTime (datetime=0x180458, year=2002, month=2,
> day=14, hour=15, minute=43, second=-2.1432582998047944e+307,
> calendar=0) at mx/DateTime/mxDateTime/mxDateTime.c:804
> 804 mx/DateTime/mxDateTime/mxDateTime.c: No such file or
> directory.
>
> Anybody else have similar problems? Any suggestions? (Should I
> try pestering the egenix people perhaps?)
>
> System Details:
>
> Sparc Solaris 5.8
> egenix-mx-base-2.0.3
> Python 2.1
> Webware 0.6 (also affects 0.6.1b1)
>
> Thanks in advance,
Works for me using:
Mandrake Linux 8.1
egenix 2.0.3
Python 2.1.1
Webware CVS
I'm not aware of any changes to Webware since 0.6.1b1 that would solve
a bus error.
I worked straight off the Videos example as included in the files:
Webware/MiddleKit/Docs/Videos/Middle
Perhaps you should upgrade Python to the latest maintenance release
(2.1.2), reinstall egenix and try again. You might also try Webware
CVS. I feel like it is very stable right now.
Also, see if mx has a "make test" you can run.
-Chuck
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss