storm doesn't work under pypy-2.0beta1

Bug #1082655 reported by Milos Negovanovic
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

I am testing on of my storm apps against pypy. This is the result:

2012-11-24 10:11:16+0000 [-] Unhandled Error
        Traceback (most recent call last):
          File "/opt/pypy20beta1/lib-python/2.7/threading.py", line 524, in __bootstrap
            self.__bootstrap_inner()
          File "/opt/pypy20beta1/lib-python/2.7/threading.py", line 551, in __bootstrap_inner
            self.run()
          File "/opt/pypy20beta1/lib-python/2.7/threading.py", line 504, in run
            self.__target(*self.__args, **self.__kwargs)
        --- <exception caught here> ---
          File "/home/stuff/pypy20beta1-env/site-packages/twisted/python/threadpool.py", line 167, in _worker
            result = context.call(ctx, function, *args, **kwargs)
          File "/home/stuff/pypy20beta1-env/site-packages/twisted/python/context.py", line 118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/home/stuff/pypy20beta1-env/site-packages/twisted/python/context.py", line 81, in callWithContext
            return func(*args,**kw)
          File "/home/0dot01/projects/python/secure.0dot01.com/gateway/../dotone/dotone.py", line 30, in ___
            r = fn(*args, **kwargs)
          File "/home/0dot01/projects/python/secure.0dot01.com/gateway/src/controllers/g.py", line 116, in _do
            location = store.get(dotone.Location, location_id)
          File "/home/stuff/pypy20beta1-env/site-packages/storm/store.py", line 182, in get
            return self._load_object(cls_info, result, values)
          File "/home/stuff/pypy20beta1-env/site-packages/storm/store.py", line 707, in _load_object
            obj_info = get_obj_info(obj)
        exceptions.RuntimeError: maximum recursion depth exceeded

I get the same error with pypy-1.9. App works fine under CPython. Under pypy I am using psycopg2ct in psycopg2 compat mode.

Tags: pypy
Revision history for this message
Oscar Campos (oscar-campos) wrote :

Same problem here on Gentoo Linux and pypy-1.9

Revision history for this message
Oscar Campos (oscar-campos) wrote :

I've tried with the trunk version of the code and the `maximum recursion depth exceeded` problem seems to be solved at least using SQLite

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.