On Jul 11, 2007, at 3:19 AM, beachcoder wrote:
This happens with r2134:File "/var/tesla-pylons-elixir/tests/output/ProjectName/projectname/ config/environment.py", line 23, in load_environment config['pylons.g'] = app_globals.Globals() TypeError: __init__() takes exactly 3 arguments (1 given); got ({'error_...me'}, beaker.session.key=..., beaker.session.secret=..., cache_dir=..., sqlalchemy.default.echo=..., sqlalchemy.default.uri=...), wanted (global_conf, full_stack=True, **app_conf) Line should read: config['pylons.g'] = app_globals.Globals(global_conf, app_conf)
It looks like your app_globals.py file is out of date with the latest template, which has the Globals() object not taking any params (it should use the config object instead).
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
