Bug 681547 - Errors running nag-mail
Summary: Errors running nag-mail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 14:37 UTC by Matt Brodeur
Modified: 2011-04-06 15:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-06 15:29:05 UTC


Attachments (Terms of Use)

Description Matt Brodeur 2011-03-02 14:37:36 UTC
Description of problem:
When running nag-mail provided in beaker-server-0.6.5-2.el5.noarch we get these errors:

(apache)$ /usr/bin/nag-mail -t 8 -s Scheduler
/usr/lib/python2.4/site-packages/sqlalchemy/engine/default.py:241: SAWarning: Unicode type received non-unicode bind param value 'Scheduler'
  param.append(processors[key](compiled_params[key]))                                                                                       
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.username" is deprecated, please use       
"mail.smtp.username" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.password" is deprecated, please use       
"mail.smtp.password" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.tls" is deprecated, please use            
"mail.smtp.tls" instead                                                                                                                     
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.debug" is deprecated, please use          
"mail.smtp.debug" instead                                                                                                                   
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.jobs" is deprecated, please use           
"mail.smtp.max_messages_per_connection" instead                                                                                             
  warnings.warn(warn_text, category=DeprecationWarning)



(apache)$ /usr/bin/nag-mail -t 8 -s WEBUI
/usr/lib/python2.4/site-packages/sqlalchemy/engine/default.py:241: SAWarning: Unicode type received non-unicode bind param value 'WEBUI'    
  param.append(processors[key](compiled_params[key]))                                                                                       
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.username" is deprecated, please use       
"mail.smtp.username" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.password" is deprecated, please use       
"mail.smtp.password" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.tls" is deprecated, please use            
"mail.smtp.tls" instead                                                                                                                     
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.debug" is deprecated, please use          
"mail.smtp.debug" instead                                                                                                                   
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.jobs" is deprecated, please use           
"mail.smtp.max_messages_per_connection" instead                                                                                             
  warnings.warn(warn_text, category=DeprecationWarning)



Automated scripts are expected to run without errors or warnings.

Comment 1 Dan Callaghan 2011-03-08 04:41:56 UTC
I've cleaned up a whole bunch of warnings in Beaker, but the warnings from TurboMail are due to a bug in that package:

https://bitbucket.org/gothalice/turbomail/issue/5/deprecation-warnings-raised-on-unused

https://bitbucket.org/gothalice/turbomail/changeset/c855f742e008

It is fixed in the latest bugfix release of TurboMail, which we should probably upgrade to.

Comment 2 Bill Peck 2011-04-06 15:02:23 UTC
I pinged lmacken and he built version 3.0.3 for rawhide.  I've rebuilt it internally and will deploy to stage.


Note You need to log in before you can comment on or make changes to this bug.