On Saturday 10 March 2007, marmoute wrote:
> 
> Work for me. which Os are you using ?

Mandriva 2007.1 (Cooker)

I have pyrex 0.9.4.1, Soya 0.13, Python 2.5 and it bombs out with the 
following message when running e.g. basic-1.py:

Exception exceptions.OverflowError: 'long int too large to convert to int' in
'_soya._Material._pack' ignored

It will flood the terminal with these messages and then segfault. This was 
happening also with Soya 0.12.

I have found the following "fix" in the meantime which lets me run Soya at 
least:

--- Soya-0.13/c.pxd     2006-07-11 22:06:18.000000000 +0200
+++ Soya-0.13-patch/c.pxd       2007-03-10 03:14:50.000000000 +0100
@@ -39,4 +39,4 @@
        float floor (float x)
 
 cdef extern from "stdint.h":
-       ctypedef long intptr_t
+       ctypedef long long intptr_t


Jan




-- 

Jan Ciger
GPG public key: http://www.keyserver.net/

Attachment: pgpXSxtFJqq5o.pgp
Description: PGP signature

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to