Skip to content

Instantly share code, notes, and snippets.

@mkschulze
Created May 5, 2019 20:43
Show Gist options
  • Save mkschulze/b3f4f167e7b22a37a4a500b32ebbf11a to your computer and use it in GitHub Desktop.
Save mkschulze/b3f4f167e7b22a37a4a500b32ebbf11a to your computer and use it in GitHub Desktop.
* Detected change in '/Users/irre/dev/merge/webapp/account/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 295-664-690
27003 123145570037760
127.0.0.1 - - [05/May/2019 22:40:48] "GET /account HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/user/ HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/bootstrap/bootstrap2/swatch/default/bootstrap.min.css?v=2.3.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/bootstrap/bootstrap2/css/bootstrap-responsive.css?v=2.3.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/admin/css/bootstrap2/admin.css?v=1.1.1 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/vendor/select2/select2.css?v=3.5.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/vendor/jquery.min.js?v=2.1.4 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/static/vendor/bootstrap-daterangepicker/daterangepicker-bs2.css?v=1.3.22 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/bootstrap/bootstrap2/js/bootstrap.min.js?v=2.3.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/vendor/select2/select2.min.js?v=3.5.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/vendor/moment.min.js?v=2.9.0 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/vendor/bootstrap-daterangepicker/daterangepicker.js?v=1.3.22 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/admin/js/filters.js?v=1.0.0 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/admin/js/form.js?v=1.0.1 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/admin/js/actions.js?v=1.0.0 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:49] "GET /admin/static/bootstrap/bootstrap2/swatch/img/glyphicons-halflings.png HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:56] "GET /account HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:57] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:57] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:59] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:59] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:59] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
27003 123145570037760
127.0.0.1 - - [05/May/2019 22:41:05] "POST /account/createtable HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/Users/irre/dev/merge/webapp/account/views.py", line 56, in account_createtable
short_url = shortener.shorten_urls(new_url)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/bitlyshortener/shortener.py", line 198, in shorten_urls
short_urls = list(mapper(self._shorten_url, long_urls))
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/bitlyshortener/shortener.py", line 168, in _shorten_url
url_id = self._long_url_to_int_id(long_url)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/bitlyshortener/shortener.py", line 130, in _long_url_to_int_id
response = self._thread_local.session_post.post(url=endpoint, json={'long_url': long_url},
AttributeError: '_thread._local' object has no attribute 'session_post'
127.0.0.1 - - [05/May/2019 22:41:05] "GET /account/createtable?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:05] "GET /account/createtable?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:05] "GET /account/createtable?__debugger__=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:05] "GET /account/createtable?__debugger__=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:05] "GET /account/createtable?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:09] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:09] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:09] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:20] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:20] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:20] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:30] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:30] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:30] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:41] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:41] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:41] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:51] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:41:51] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:41:51] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment