Trying to use SMTPHandler for logging with Pylons trunk version.

[handler_smtp]
class = SMTPHandler
args = ('localhost','[email protected]', ...', '...')
formatter = generic

  File "D:\Python25\Scripts\paster-script.py", line 8, in <module>
    load_entry_point('pastescript==1.7.3', 'console_scripts', 'paster')
()
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\c
ommand.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\c
ommand.py", line 123, in invoke
    exit_code = runner.run(args)
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\c
ommand.py", line 218, in run
    result = self.command()
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\s
erve.py", line 271, in command
    self.logging_file_config(log_fn)
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\c
ommand.py", line 757, in logging_file_config
    fileConfig(config_file)
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\u
til\logging_config.py", line 85, in fileConfig
    handlers = _install_handlers(cp, formatters)
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\u
til\logging_config.py", line 155, in _install_handlers
    klass = _resolve(klass)
  File "d:\python25\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste
\script\u
til\logging_config.py", line 95, in _resolve
    found = __import__(used)
ImportError: No module named SMTPHandler
Exception in thread Thread-1 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
  File "D:\Python25\lib\threading.py", line 460, in __bootstrap
  File "D:\Python25\lib\threading.py", line 440, in run
  File "d:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste
\reloader.py",
line 86, in periodic_reload
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'_exit'

--~--~---------~--~----~------------~-------~--~----~
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