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/

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