In one place in app i change

def WrapperType_Lookup(_type, name):
    for base in _type.__mro__[:-1]:
        if base != ProxyBase:
            try:
                return base.__dict__[name]
            except:
                pass

    return None


to

def WrapperType_Lookup(_type, name):
    for base in _type.__mro__[:-1]:
        if base is not ProxyBase:
            try:
                return base.__dict__[name]
            except:
                pass

    return None

And i receive exceptions.SystemError . When i has "if base !=
ProxyBase " in log i receive RuntimeWarning: tp_compare didn't return
-1 or -2 for exception



On Jan 15, 12:36 pm, Микола <crchem...@gmail.com> wrote:
> My app at GAE raise this exception:
>
> type 'exceptions.SystemError'>: NULL result without error in
> PyObject_Call
> Traceback (most recent call last):
>   File "/base/data/home/apps/gae-rp/1.330716401851788358/zwrcl.py",
> line 166, in <module>
>     from zope.security.management import endInteraction,
> newInteraction
>   File "/base/data/home/apps/gae-rp/1.330716401851788358/
> py_zimport.py", line 262, in load_module
>     exec code in mod.__dict__
>   File "/base/data/home/apps/gae-rp/1.330716401851788358/eggs/
> zope.security-3.4.1-py2.5-linux-i686.egg/zope/security/management.py",
> line 23, in <module>
>
> At sdk-1.1.7 Fedora-10 python-2.5.2 32bit app works fine. Is it GAE
> python bug or it is bug in my app?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to