[pypy-dev] Memory error when importing optparse module

Maciej Fijalkowski fijall at gmail.com
Sat Nov 20 09:09:22 CET 2010


Hey.

Unfortunately we don't have a full-time OS X developer and it makes it
harder for this platform to be fully spported. Is your python 32bit or
64bit? How did you build that executable?

On Fri, Nov 19, 2010 at 9:46 PM, Roman Prykhodchenko
<romcheg.prihod at gmail.com> wrote:
> Hi guys,
>
>
> I'm trying to port my scripts to pypy but when I import the optparse module I get the error:
>
>>>>> import optparse
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
>  File "/opt/local/share/pypy-1.3/lib-python/2.5.2/optparse.py", line 84, in <module>
>   from gettext import gettext
>  File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/gettext.py", line 49, in <module>
>   import locale, copy, os, re, struct, sys
>  File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/locale.py", line 30, in <module>
>   from _locale import *
>  File "/opt/local/share/pypy-1.3/pypy/lib/_locale.py", line 6, in <module>
>   from ctypes import (Structure, POINTER, create_string_buffer,
>  File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/ctypes/__init__.py", line 489, in <module>
>   _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr)
>  File "/opt/local/share/pypy-1.3/pypy/lib/_ctypes/function.py", line 104, in __init__
>   ffiargs, ffires, self._flags_)
> MemoryError
>
>
> OS: Mac OS Snow Leopard 10.6.5
>
> I tried to sign up your bugtracker to report a bug but the registration is broken  -- I got  the error message when I was trying to confirm my registration.
> My login is prykhodchenko
>
>
> ---
> Roman Prykhodchenko
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
>



More information about the Pypy-dev mailing list