Problems with Registration module

0 views
Skip to first unread message

JV

unread,
Sep 17, 2008, 4:44:16 AM9/17/08
to TurboGears
Hi

I updated my existing TurboGears project with the registration module,
following the post:
http://patrickhlewis.googlepages.com/registration.html

but after I updated it my tg-admin throws the following error on `tg-
admin sql create` as well as `tg-admin shell`


Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 8, in <module>
load_entry_point('TurboGears==1.0.4.4', 'console_scripts', 'tg-
admin')()
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/command/base.py", line 369, in main
command.run()
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/command/base.py", line 167, in run
self.find_config()
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/command/base.py", line 48, in find_config
load_project_config(self.config)
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/util.py", line 97, in load_project_config
modulename = package + ".config")
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/config.py", line 207, in update_config
configure_loggers(configdict)
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/config.py", line 146, in configure_loggers
_get_loggers(loggers, handlers)
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg/
turbogears/config.py", line 99, in _get_loggers
"handler %s" % (key, handler))
turbogears.config.ConfigError: Logger access references unknown
handler access_out


First it seemed to me that it was not able read the config/log.cfg but
then I realized that the error is originating from the dev.cfg. If I
comment out the logging section in dev.cfg tg-admin works.
But I don't think thats a good idea at the first place and moreover it
will keep creating problems further too.

Help, anyone?

Thanks in advance
JV

Patrick Lewis

unread,
Sep 17, 2008, 10:06:36 AM9/17/08
to TurboGears
Sorry, a bit out of pocket at the moment, but looking at the
traceback, I'm pretty sure it's not registration related. You may want
to do a normal 'tg-admin quickstart' on a new project, and then do tg-
admin shell just to verify. If that does throw the same error, then I
think the problem is with your copy of turbogears.

I saw your post in the main TG group, hopefully someone there can chip
in with some ideas, too.

JV

unread,
Sep 17, 2008, 10:24:56 AM9/17/08
to TurboGears

A fresh project (quickstart) with registration does not throw the
error.

Hope someone chips in or u get some free time to help me debug this.

Christopher Arndt

unread,
Sep 17, 2008, 11:20:49 AM9/17/08
to turbo...@googlegroups.com
JV schrieb:

> A fresh project (quickstart) with registration does not throw the
> error.
>
> Hope someone chips in or u get some free time to help me debug this.

Can you post your "dev.cfg" and "app.cfg" after the registration
extension installation to http://paste.turbogears.org/ ? Take care to
remove any db passwords etc.

Chris

JV

unread,
Sep 17, 2008, 11:41:03 AM9/17/08
to TurboGears
Chris

Here are the links for dev.cfg - http://paste.turbogears.org/paste/7123
and app.cfg - http://paste.turbogears.org/paste/7124

JV

On Sep 17, 8:20 pm, Christopher Arndt <chris.ar...@web.de> wrote:
> JV schrieb:
>
> > A fresh project (quickstart) with registration does not throw the
> > error.
>
> > Hope someone chips in or u get some free time to help me debug this.
>
> Can you post your "dev.cfg" and "app.cfg" after the registration
> extension installation tohttp://paste.turbogears.org/? Take care to
Reply all
Reply to author
Forward
0 new messages