I'm trying to install a turbogears 2.1 app on linux rhel 6.5 server. All
goes well with standard installation (without virtualenv) however when I
enter "paster serve --reload development.ini" I get the following error:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[mpe25@au04uap210qanr2 projects]$ sudo paster serve --reload development.ini
Starting subprocess with file monitor
/usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning:
object .__new__() takes no parameters
obj = object.__new__(cls, *args, **kw)
Traceback (most recent call last):
File "/usr/bin/paster", line 8, in <module>
load_entry_point('pastescript==1.7.5', 'console_scripts', 'paster')()
File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 84,
in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 123,
in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 218,
in run
result = self.command()
File "/usr/lib/python2.6/site-packages/paste/script/serve.py", line 276, in
command
relative_to=base, global_conf=vars)
File "/usr/lib/python2.6/site-packages/paste/script/serve.py", line 313, in
loadapp
**kw)
File "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 204,
in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 225,
in loadobj
return context.create()
File "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 625,
in create
return self.object_type.invoke(self)
File "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 110,
in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/python2.6/site-packages/paste/deploy/util/fixtypeerror.py",
line 57, in fix_call
val = callable(*args, **kw)
File "/opt/tg21/projects/projects/config/middleware.py", line 35, in
make_app
app = make_base_app(global_conf, full_stack=True, **app_conf)
File
"/usr/lib/python2.6/site-packages/turbogears2-2.1.5-py2.6.egg/tg/configur
ation.py", line 945, in make_base_app
app = self.add_auth_middleware(app, skip_authentication)
File
"/usr/lib/python2.6/site-packages/turbogears2-2.1.5-py2.6.egg/tg/configur
ation.py", line 713, in add_auth_middleware
app = setup_sql_auth(app, skip_authentication=skip_authentication,
**auth_args)
File
"/usr/lib/python2.6/site-packages/repoze.what_quickstart-1.0.9-py2.6.egg/
repoze/what/plugins/quickstart/__init__.py", line 283, in setup_sql_auth
charset=charset,
TypeError: __init__() got an unexpected keyword argument 'charset'
[mpe25@au04uap210qanr2 projects]$
------------------------------------------------------------------------------
Any assistance in resolving this error would be greatly appreciated.
Thanks,
Michael
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.