[pypy-dev] error from function.py

Arnd Rechenburg Arnd.Rechenburg at tomtom.com
Thu Dec 16 13:35:39 CET 2010


Hi,

 

I got the following error message:

 

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib-python/2.5.2/calendar.py",
line 11, in <module>

    import locale as _locale

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib-python/modified-2.5.2/local
e.py", line 30, in <module>

    from _locale import *

  File "/home/unixhome/rechenbu/output/pypy-1.4/lib_pypy/_locale.py",
line 8, in <module>

    from ctypes_support import standard_c_lib as libc

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib_pypy/ctypes_support.py",
line 24, in <module>

    standard_c_lib.__errno_location.restype =
ctypes.POINTER(ctypes.c_int)

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib-python/modified-2.5.2/ctype
s/__init__.py", line 363, in __getattr__

    func = self.__getitem__(name)

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib-python/modified-2.5.2/ctype
s/__init__.py", line 368, in __getitem__

    func = self._FuncPtr((name_or_ordinal, self))

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib_pypy/_ctypes/function.py",
line 112, in __init__

    ptr = self._getfuncptr([], ctypes.c_int)

  File
"/home/unixhome/rechenbu/output/pypy-1.4/lib_pypy/_ctypes/function.py",
line 197, in _getfuncptr

    return cdll.ptr(self.name, argshapes, resshape, self._flags_)

AttributeError: 'NoneType' object has no attribute 'ptr'

 

Someone knows more about it?

 

Regards,

Arnd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20101216/1679905d/attachment.html>


More information about the Pypy-dev mailing list