bool settings extracted as strings : 'False' is True. #19

ccomb opened this Issue May 26, 2012 · 0 comments

2 participants


I'm getting the follwing stacktrace using pyramid_mailer. It comes from mail.tls being extracted as 'False' instead of False, when I set mail.tls = False in the deploy.ini. But 'False' is True.
(first entered on bitbucket, I hadn't seen it moved)

Exception happened during processing of request from ('', 51027)
Traceback (most recent call last):
File "/home/ccomb/.buildout/eggs/Paste-", line 1068, in process_request_in_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/", line 638, in init
File "/home/ccomb/.buildout/eggs/Paste-", line 442, in handle
File "/usr/lib/python2.7/", line 340, in handle
File "/home/ccomb/.buildout/eggs/Paste-", line 437, in handle_one_request
File "/home/ccomb/.buildout/eggs/Paste-", line 287, in wsgi_execute
File "/home/ccomb/.buildout/eggs/Paste-", line 203, in call
return app(environ, start_response)
File "/home/ccomb/.buildout/eggs/Beaker-1.6.3-py2.7.egg/beaker/", line 155, in call
return self.wrap_app(environ, session_start_response)
File "/home/dadafkas/projets/showroom/showroom/showroom/", line 54, in call
return, start_response)
File "/home/ccomb/.buildout/eggs/pyramid-1.3.2-py2.7.egg/pyramid/", line 187, in call
response = self.handle_request(request)
File "/home/ccomb/.buildout/eggs/pyramid-1.3.2-py2.7.egg/pyramid/", line 20, in excview_tween
response = handler(request)
File "/home/ccomb/.buildout/eggs/pyramid_tm-0.4-py2.7.egg/pyramid_tm/", line 102, in tm_tween
return response
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 116, in __exit_
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 107, in commit
return self.get().commit()
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 354, in commit
reraise(t, v, tb)
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 345, in commit
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 493, in _commitResources
reraise(t, v, tb)
File "/home/ccomb/.buildout/eggs/transaction-1.3.0-py2.7.egg/transaction/", line 475, in _commitResources
File "/home/ccomb/.buildout/eggs/repoze.sendmail-3.2-py2.7.egg/repoze/sendmail/", line 70, in tpc_finish
File "/home/ccomb/.buildout/eggs/repoze.sendmail-3.2-py2.7.egg/repoze/sendmail/", line 70, in send
raise RuntimeError('TLS is not available but TLS is required')
RuntimeError: TLS is not available but TLS is required

@mmerickel mmerickel closed this in 145e71b Nov 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment