[cffi-devel] pythononlisp and array operation error

Prashanth munichlinux at gmail.com
Tue Mar 25 12:53:14 UTC 2008


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



More information about the cffi-devel mailing list