Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2078 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Remove elixir option from quickstart

Reported by: Gustavo Owned by: mramm
Priority: normal Milestone: 2.0b1
Component: TurboGears Version: trunk
Severity: major Keywords: model, elixir
Cc:

Description

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.

Change History

comment:1 Changed 11 years ago by mramm

  • Summary changed from websetup.py is broken with Elixir to update repoze.who requirement to 1.0.7

If this is not fixed in time for the b1 release, we should just remove the elixir option to quickstart.

comment:2 Changed 11 years ago by mramm

  • Summary changed from update repoze.who requirement to 1.0.7 to websetup.py is broken with Elixir

comment:3 Changed 11 years ago by mramm

  • Summary changed from websetup.py is broken with Elixir to Remove elixir option from quickstart

OK, looks like we need to drop official elixir support in quickstart, as nobody seems ready to help us maintain and support it.

comment:4 Changed 11 years ago by mramm

  • Owner changed from faide to mramm
  • Priority changed from low to normal
  • Status changed from new to assigned

comment:5 Changed 11 years ago by mramm

  • Status changed from assigned to closed
  • Resolution set to fixed

Removed in r5971

comment:6 follow-up: ↓ 7 Changed 11 years ago by vinces1979

the elixir option does work with the newest version of repoze.who

comment:7 in reply to: ↑ 6 Changed 11 years ago by vinces1979

Replying to vinces1979:

the elixir option does work with the newest version of elixir 0.7.0 (from svn)

Note: See TracTickets for help on using tickets.