Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message regarding development.ini #107

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

Error message regarding development.ini #107

tengels opened this issue Jan 22, 2011 · 1 comment

Comments

@tengels
Copy link

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
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants