I've just upgraded to 0.8a2 and switched to using PackageHub, but on
start-up TG reports that no database configuration could be found. The
problem appears to be that set_db_uri() is adding its settings to the
config with an empty section i.e.

        cherrypy.config.update({'':
            {"%s.dburi" % package : dburi}
        })

and when PackageHub attempts to retrieve the db uri CherryPy defaults
to the 'global' section with the result that no db uri is found. A
quick fix is to replace the empty section with 'global' in
set_db_uri().

Robert

Reply via email to