Error message regarding development.ini #107

Closed
tengels opened this Issue Jan 22, 2011 · 1 comment

Projects

None yet

2 participants

@tengels
tengels commented Jan 22, 2011

Created a project called 'Dibbus' using the pyramid_routesalchemy template(s). First paragraph of development.ini:

[app:Dibbus]
use = egg:Dibbus
reload_templates = true
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = true
default_locale_name = en
sqlalchemy.url = sqlite:///%(here)s/Dibbus.db

However when running paster serve development.ini --reload I am getting this error message:

LookupError: No section 'dibbus' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /path/to/Dibbus/development.ini

When changing the first line in development.ini

[app:Dibbus]

to

[app:dibbus]

the error message is 'gone', however looking from other documentation, this entry should contain the project name (Dibbus) and not the package name (dibbus).

@mcdonc
Member
mcdonc commented Jan 23, 2011
  • The production.ini generated by all paster templates now have an
    effective logging level of WARN, which prevents e.g. SQLAlchemy statement
    logging and other inappropriate output.
  • The production.ini of the pyramid_routesalchemy and
    pyramid_alchemy paster templates did not have a sqlalchemy logger
    section, preventing paster serve production.ini from working.
  • The pyramid_routesalchemy and pyramid_alchemy paster templates used
    the {{package}} variable in a place where it should have used the
    {{project}} variable, causing applications created with uppercase
    letters e.g. paster create -t pyramid_routesalchemy Dibbus to fail to
    start when paster serve development.ini was used against the result.
    See https://github.com/Pylons/pyramid/issues/#issue/107

Closed by a87a68d

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment