On Aug 22, 2010, at 4:51 PM, Jacek Kałucki wrote:

> I receive exception message on application startup:
> 
> Traceback (most recent call last):
>   File "alio.py", line 7, in <module>
>     import dabo
>   File "C:\Python25\lib\site-packages\dabo\__init__.py", line 136, in 
> <module>
>     logging.config.fileConfig(logConfFile)
>   File "C:\Python25\lib\logging\config.py", line 85, in fileConfig
>     _install_loggers(cp, handlers)
>   File "C:\Python25\lib\logging\config.py", line 229, in _install_loggers
>     logger.addHandler(handlers[string.strip(hand)])
> KeyError: 'fileHandler'

        First, confirm that your update added the 'logging.conf' file to your 
base 'dabo' directory, and that it has the lines:

[handlers]
keys=consoleHandler, fileHandler, dbHandler

...and: 

[handler_fileHandler]

in it. If all that looks normal, then can you add test code like this to 
dabo/__init__.py:

http://dabo.codepad.org/QzWWZynA



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to