Created
May 2, 2013 23:46
-
-
Save xmonader/5506317 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OPTIMISTIC ROLLBACK | |
| INSERT INTO "Link" ("long_link", "short_link") VALUES (?, ?) | |
| [u't.co', u'3THKS'] | |
| COMMIT | |
| RELEASE_CONNECTION | |
| Traceback (most recent call last): | |
| File "/home/striky/Envs/bottleurl/lib/python2.7/site-packages/bottle.py", line 764, in _handle | |
| return route.call(**args) | |
| File "/home/striky/Envs/bottleurl/lib/python2.7/site-packages/bottle.py", line 1575, in wrapper | |
| rv = callback(*a, **ka) | |
| File "app.py", line 89, in shorturl_ajax | |
| return dict(data='<a href="/%s">%s</a>'%(l.short_link, appurl+l.short_link), success=True) | |
| File "/home/striky/Envs/bottleurl/lib/python2.7/site-packages/pony/utils.py", line 65, in new_func | |
| return old_func(*args, **kwargs) | |
| File "/home/striky/Envs/bottleurl/lib/python2.7/site-packages/pony/orm/core.py", line 871, in __get__ | |
| if not obj._cache_.is_alive: throw(TransactionRolledBack, 'Object belongs to obsolete cache') | |
| File "/home/striky/Envs/bottleurl/lib/python2.7/site-packages/pony/utils.py", line 92, in throw | |
| raise exc | |
| TransactionRolledBack: Object belongs to obsolete cache | |
| localhost.localdomain - - [03/May/2013 01:42:04] "POST /shorturl_ajax HTTP/1.1" 500 1990 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment