On 9/9/07, renier <[EMAIL PROTECTED]> wrote:

> I get the following trace with Elixir from trunk (as of 9/9/07 12:00pm
> [-0400 GMT]), SqlAlchemy 0.4beta5, and  TurboGears-1.0.3.2dev_r3487:

> --
>
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/Elixir-0.4.0-py2.5.egg/elixir/
> entity.py", line 600, in __getattribute__
>     elixir.setup_all()
>   File "/usr/lib/python2.5/site-packages/Elixir-0.4.0-py2.5.egg/elixir/
> __init__.py", line 120, in setup_all
>     setup_entities(_delayed_entities)
>   File "/usr/lib/python2.5/site-packages/Elixir-0.4.0-py2.5.egg/elixir/
> __init__.py", line 107, in setup_entities
>     method()
>   File "/usr/lib/python2.5/site-packages/Elixir-0.4.0-py2.5.egg/elixir/
> entity.py", line 365, in setup_mapper
>     *args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/Elixir-0.4.0-py2.5.egg/elixir/
> entity.py", line 673, in mapper
>     cls.mapper = self.context.mapper(cls, *args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.0beta5-
> py2.5.egg/sqlalchemy/ext/activemapper.py", line 26, in __getattr__
>     return getattr(self.context.current, name)
> AttributeError: 'Session' object has no attribute 'mapper'

This a variant of a known incompatibility issue between TurboGears and
the latest trunk version of Elixir. As, I explained in the following
thread, it would be cleaner to fix the problem on TurboGear's side of
things (by including explicit support for Elixir). I'll try to come up
with a decent solution to that problem in Elixir anyway.

http://groups.google.com/group/sqlelixir/browse_frm/thread/af8a646cf3c1bf8f/#

> Could one of the developers shed some light? I'm experimenting and
> willing to test fixes and use the trunk.

I'll let you know whenever I have a possible fix for this, so that you
can test it.
-- 
Gaƫtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to