On Mon, Sep 29, 2008 at 10:17 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> Now this is something I haven't seen, as long as there isn't any name
>> collisions, which doesn't seem to be this should never happen. Could
>> you make sure some extra files aren't been added, say an old .pyc or a
>> copy made by an ide (or a backup) defining several times the same
>> models? did you try running it outside ipython, maybe something is
>> doing a strange thing there.
>
> Even worse, I just tried creating another project using elixir and
> creating the same simple object and nothing else (no identity stuff):
>
> class Experiment(Entity):
>   name = Field(Unicode(30), primary_key=True)
>   desc = Field(UnicodeText)
>
> and this is the result:
>
>>>> Experiment(u'1', u'one')
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
>  File "/usr/lib64/python2.5/site-packages/Elixir-0.6.1-py2.5.egg/
> elixir/entity.py", line 718, in __call__
>    return type.__call__(cls, *args, **kwargs)
> TypeError: __init__() takes exactly 1 argument (3 given)

Then this seems like a dependency bug. According to
http://elixir.ematia.de/trac/browser/elixir/tags/0.6.1/CHANGES the
support SA just fine so maybe a tg issue, I'm not familiar with elixir
so I really don't have any more clues to give you. Maybe something has
changed in the way elixir should work, that isn't documented in that
tutorial yet, or maybe they support an earlier version of SA only?

--~--~---------~--~----~------------~-------~--~----~
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