Skip to content

Instantly share code, notes, and snippets.

@douglatornell
Created January 2, 2013 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglatornell/4435214 to your computer and use it in GitHub Desktop.
Save douglatornell/4435214 to your computer and use it in GitHub Desktop.
pyramid_mailer transaction traceback from Python 3.3
Traceback (most recent call last):
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_debugtoolbar-1.0.3-py3.3.egg/pyramid_debugtoolbar/panels/performance.py", line 55, in resource_timer_handler
result = handler(request)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid-1.4-py3.3.egg/pyramid/tweens.py", line 21, in excview_tween
response = handler(request)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/__init__.py", line 82, in tm_tween
reraise(*exc_info)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/compat.py", line 13, in reraise
raise value
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/__init__.py", line 63, in tm_tween
response = handler(request)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid-1.4-py3.3.egg/pyramid/router.py", line 161, in handle_request
response = view_callable(context, request)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid-1.4-py3.3.egg/pyramid/config/views.py", line 345, in rendered_view
result = view(context, request)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid-1.4-py3.3.egg/pyramid/config/views.py", line 465, in _class_requestonly_view
response = inst()
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_deform-0.2a5-py3.3.egg/pyramid_deform/__init__.py", line 69, in __call__
result = success_method(validated)
File "/Users/doug/Documents/devel/python/randopony-tetra/randopony/views/site/populaire.py", line 195, in register_success
mailer.send_to_queue(message)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_manager.py", line 120, in __exit__
self.commit()
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_manager.py", line 111, in commit
return self.get().commit()
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_transaction.py", line 280, in commit
reraise(t, v, tb)
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_compat.py", line 55, in reraise
raise value
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_transaction.py", line 271, in commit
self._commitResources()
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/transaction-1.4.0b1-py3.3.egg/transaction/_transaction.py", line 386, in _commitResources
L.sort(key=rm_key)
TypeError: unorderable types: int() < str()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment