Thank you Marius for your suggestion,

After a short investigation, I notice that, for a strange reason, the
script is searching for a section named [logger_ routes] (with a blank
space between _ and routes) while my .ini file has a [logger_routes]
section (without the blank space).

Same behaviour with the other logger sections: [logger_sqlalchemy],
[logger_myproject]

Other problem related to logging: the script does not find the key
'threadName' in the logger format.
format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s

Is it a bug in the logging package ? Wrong versions or dependencies ?
Do you have some suggestions ?

Fabrice

On 28 September 2010 16:02, Marius Gedminas <[email protected]> wrote:
> Hi,
>
> On Tue, Sep 28, 2010 at 10:00:44AM +0200, Fabrice Estiévenart wrote:
>> When running setup-app, I get the following error :
>>
>> Traceback (most recent call last):
>>   File 
>> "/home/fabrice/myworkspace/lib/python2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/config.py",
>> line 171, in fileConfig
>>     qn = cp.get(sectname, "qualname")
>>   File "/usr/lib/python2.6/ConfigParser.py", line 531, in get
>>     raise NoSectionError(section)
>> NoSectionError: No section: 'logger_ routes'
>> Running setup_config() from pynews.websetup
>>
>> What's wrong ? Thank you,
>
> Your paster .ini file would be my guess.  Please attach, we'll take a look.
>
> Marius Gedminas
> --
> Colorless green ideas sleep furiously.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAkyh9YwACgkQkVdEXeem14+0NQCeNQV6VfXo075jdy8GqA57X1hW
> WYgAn3C2u4HHUJ7IoXh2Xq+Sk/OTP7Wp
> =dwzF
> -----END PGP SIGNATURE-----
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to