Yea, and fair warning to elixir users, I'm not likely to fix this
myself, nor are we likely to release tg2 with this broken.

So, if it does not get fixed in the next few days there's a reasonable
possibility that elixir support I will drop elixir support from tg2
before the 2.0 release.

Even if that happens, we'd be glad to put it back in if somebody steps
up and agrees to maintain and support it.  Meaning, keep the template
up-to-date, and answer mailing list questions about elixir.

I'm not opposed to elixir, but I just use plain SA and have very
little interest in elixir for my projects, so I'm not the one to
support it.   And others on the TG2 dev team have not said they are
able to support it either.  But we're willing to support it we a
couple people who are committed to supporting it take responsibility
to make it happen.

--Mark Ramm

On Sun, Dec 14, 2008 at 10:47 AM, Gustavo Narea <[email protected]> wrote:
>
> I would be nice if someone who uses Elixir could take a look into this.
>
> Thanks in advance.
>
> ----------  Forwarded Message  ----------
>
> Subject: [TurboGears] #2078: websetup.py is broken with Elixir
> Date: Sunday December 14, 2008
> From: "TurboGears" <[email protected]>
> To:
>
> #2078: websetup.py is broken with Elixir
> ------------------------+---------------------------------------------------
>  Reporter:  Gustavo     |       Owner:  faide
>     Type:  defect      |      Status:  new
>  Priority:  low         |   Milestone:  2.0b1
> Component:  TurboGears  |     Version:  trunk
>  Severity:  major       |    Keywords:  model, elixir
> ------------------------+---------------------------------------------------
>  If I create a project with authentication and authorization, powered by
>  Elixir, I'll get the following error when I run ''paster setup-app
>  development.ini'':
>
>  {{{
>  Traceback (most recent call last):
>   File "/home/gustavo/System/Pyenvs/tg2/bin/paster", line 8, in <module>
>     load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", line 84, in
>  run
>     invoke(command, command_name, options, args[1:])
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", line 123,
>  in invoke
>     exit_code = runner.run(args)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line 68,
>  in run
>     return super(AbstractInstallCommand, self).run(new_args)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", line 218,
>  in run
>     result = self.command()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line
>  456, in command
>     self, config_file, section, self.sysconfig_install_vars(installer))
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line
>  598, in setup_config
>     mod.setup_app, command, filename, section, vars)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line
>  612, in _call_setup_app
>     func(command, conf, vars)
>   File "/home/gustavo/aut/aut/websetup.py", line 19, in setup_app
>     u = model.User()
>   File "build/bdist.linux-i686/egg/elixir/entity.py", line 718, in
>  __call__
>   File "<string>", line 4, in __init__
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/attributes.py", line
>  858, in initialize_instance
>     fn(self, instance, args, kwargs)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/mapper.py", line
>  1726, in _event_on_init
>     instrumenting_mapper.compile()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/mapper.py", line
>  679, in compile
>     mapper._post_configure_properties()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/mapper.py", line
>  701, in _post_configure_properties
>     prop.init(key, self)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/interfaces.py", line
>  404, in init
>     self.do_init()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/properties.py", line
>  579, in do_init
>     self._post_init()
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/properties.py", line
>  838, in _post_init
>     self.backref.compile(self)
>   File "/home/gustavo/System/Pyenvs/tg2/lib/python2.5/site-
>  packages/SQLAlchemy-0.5.0rc4-py2.5.egg/sqlalchemy/orm/properties.py", line
>  987, in compile
>     **self.kwargs)
>  TypeError: __init__() got an unexpected keyword argument 'local_colname'
>  }}}
>
>  Note that this is a problem in the Elixir model itself, not in the
>  repoze.what SQL plugin.
>
> --
> Ticket URL: <http://trac.turbogears.org/ticket/2078>
> TurboGears <http://www.turbogears.org/>
> TurboGears front-to-back web development
>
> -------------------------------------------------------
> --
> Gustavo Narea <http://gustavonarea.net/>.
>
> Get rid of unethical constraints! Get freedomware:
> http://www.getgnulinux.org/
>
> >
>



-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

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

Reply via email to