[cffi-devel] pythononlisp and array operation error

Hi, I am using pythononlisp(a unmaintained project) and trying to writing some python codes on that. Pythononlisp is dependent of cffi and this works perfectly fine in a 32-bit machine and fails in 64 bit machine. This is the error Attempt to do an array operation on #<Printer Error, obj=#x1000c10579: #<TYPE-ERROR @ #x1000c73d62>> which is not an array. this happens exactly when pythononlisp is trying to initiate the python module has someone faced this before? (cffi:defcfun ("Py_InitModule4" Py_InitModule4) :void (name :string) (methods :pointer) (doc :string) (self :pointer) (apiver :int)) and above is called like this: (Py_InitModule4 (first methods) methodptr (cffi:null-pointer) (cffi:null-pointer) 1011) -- regards, Prashanth http://munichlinux.blogspot.com

Prashanth wrote:
I am using pythononlisp(a unmaintained project) and trying to writing some python codes on that. Pythononlisp is dependent of cffi and this works perfectly fine in a 32-bit machine and fails in 64 bit machine.
I wonder, will Pyffi (http://www.cliki.net/Pyffi) have the same problem? Though it's rather unmaintained, too :) Sincerely yours, Dmitri

Hi On Tue, Mar 25, 2008 at 6:34 PM, Dmitri Hrapof <hrapof@common-lisp.ru> wrote:
I wonder, will Pyffi (http://www.cliki.net/Pyffi) have the same problem? Though it's rather unmaintained, too :)
any clue, reason or solution why is that because of ? -- regards, Prashanth http://munichlinux.blogspot.com

On Tue, Mar 25, 2008 at 12:53 PM, Prashanth <munichlinux@gmail.com> wrote:
I am using pythononlisp(a unmaintained project) and trying to writing some python codes on that. Pythononlisp is dependent of cffi and this works perfectly fine in a 32-bit machine and fails in 64 bit machine.
What version of CFFI are you using? Try grabbing the latest version from the darcs repository if you're not already doing that. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/
participants (3)
-
Dmitri Hrapof
-
Luís Oliveira
-
Prashanth