On Wed, Sep 29, 2010 at 05:20:13PM +0200, Fabrice Estiévenart wrote:
> Hello,
> 
> I solved my first issue by removing the blank spaces in the following
> line of my .ini file:
> [loggers]
> keys = root,routes,myproject,sqlalchemy
> (strange that nobody had this problem before...)

Because we all use 'logging' from the Python Standard Library, and it
doesn't have that problem (nor the threadName problem you're also
experiencing).

> Concerning the other problem, I still have a "keyError: 'threadName'"
> message when doing the "paster setup-app"
> It seems that I'm using the logging library of my virtual environment
> because the Traceback comes from the following file:
> File 
> "/home/fabrice/mydevenv/lib/python2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py

This is http://pypi.python.org/pypi/logging, which is needed for ancient
Python versions.  It's ancient code from 2005.  You don't need it.
Remove it.

Marius Gedminas
-- 
Software programmers should not think that they have to write multi-threaded
programs. It's too hard, and the payoff is too little. And it absolutely isn't
where the industry is even going.
        -- Linus Torvalds

Attachment: signature.asc
Description: Digital signature

Reply via email to