On Monday 25 June 2007 16:07, prla wrote:
> Hi,
>
> While developing a little app here I've stumbled across the following
> error when I try to add stuff to the database:
>
>   File "<string>", line 5, in jsonify
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/TurboJson-1.1-py2.4.egg/turbojson/jsonify.py",
> line 50, in jsonify_sqlobject
>     while cls.sqlmeta.parentClass:
> AttributeError: type object 'sqlmeta' has no attribute 'parentClass'
>
> (I can provide a full trace if needed)
>
> The data however is inserted just fine into the database. The Ajax
> request simply doesn't go all  the way through, giving up with that
> error. Any ideas? Because I've run out of them...

The last release of TJ included code for traversal of InheritableSQLObjects. 
It looks as if that is buggy. Could you provide your model-file as well?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to