Skip to content

Instantly share code, notes, and snippets.

@vernnobile
Created September 5, 2013 19:27
Show Gist options
  • Save vernnobile/6454920 to your computer and use it in GitHub Desktop.
Save vernnobile/6454920 to your computer and use it in GitHub Desktop.
fontbakery - browser - debian
vern@debian:~/src/fontbakery$ make run
. venv/bin/activate; python entry.py
127.0.0.1 - - [2013-09-05 11:01:15] "GET / HTTP/1.1" 200 2593 1.244479
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/css/bootstrap.min.css HTTP/1.1" 304 148 0.544201
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/jquery-2.0.3.min.js HTTP/1.1" 304 147 0.000197
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/css/bootstrap-responsive.min.css HTTP/1.1" 304 147 0.000179
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/font-awesome/css/font-awesome.min.css HTTP/1.1" 304 147 0.152929
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/main.css HTTP/1.1" 304 145 0.000186
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 146 0.094156
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/socket.io.min.js HTTP/1.1" 304 146 0.000189
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/jquery.pjax.js HTTP/1.1" 304 146 0.000197
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/tablesorter/jquery.tablesorter.min.js HTTP/1.1" 304 147 0.104099
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/jquery.number.min.js HTTP/1.1" 304 146 0.000168
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/main.js HTTP/1.1" 304 145 0.000154
127.0.0.1 - - [2013-09-05 11:01:39] "GET /static/font-awesome/font/fontawesome-webfont.woff?v=3.2.1 HTTP/1.1" 304 147 0.263760
127.0.0.1 - - [2013-09-05 11:01:40] "GET / HTTP/1.1" 200 2593 0.002390
Traceback (most recent call last):
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 438, in handle_one_response
self.run_application()
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 425, in run_application
self.process_result()
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 416, in process_result
self.write(data)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 373, in write
self.socket.sendall(msg)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/socket.py", line 509, in sendall
data_sent += self.send(_get_memory(data, data_sent), flags)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/socket.py", line 483, in send
return sock.send(data, flags)
error: [Errno 32] Broken pipe
<SocketIOServer fileno=3 address=0.0.0.0:5000>: Failed to handle request:
request = GET /static/font-awesome/font/fontawesome-webfont.ttf?v=3.2.1 HTTP/1.1 from ('127.0.0.1', 34568)
application = <werkzeug.wsgi.SharedDataMiddleware object at 0x3c90d90>
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/font-awesome/font/fontawesome-webfont.ttf?v=3.2.1 HTTP/1.1" 200 8464 0.946082
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/bootstrap/css/bootstrap.min.css HTTP/1.1" 304 148 0.000276
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/bootstrap/css/bootstrap-responsive.min.css HTTP/1.1" 304 147 0.000185
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/font-awesome/css/font-awesome.min.css HTTP/1.1" 304 147 0.000196
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/main.css HTTP/1.1" 304 145 0.000165
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/jquery-2.0.3.min.js HTTP/1.1" 304 147 0.000183
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 146 0.000169
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/socket.io.min.js HTTP/1.1" 304 146 0.000154
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/jquery.pjax.js HTTP/1.1" 304 146 0.000320
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/tablesorter/jquery.tablesorter.min.js HTTP/1.1" 304 147 0.000224
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/jquery.number.min.js HTTP/1.1" 304 146 0.000183
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/main.js HTTP/1.1" 304 145 0.000363
127.0.0.1 - - [2013-09-05 11:01:41] "GET /static/font-awesome/font/fontawesome-webfont.woff?v=3.2.1 HTTP/1.1" 304 147 0.000313
127.0.0.1 - - [2013-09-05 11:01:41] "GET /socket.io/1/websocket/527347383992 HTTP/1.1" 101 - -
!!! this gets me to the fontbakery login page @ localhost:5000 !!!
!!! Then i login with my github password, and get 'Internal Server Error' page in chrome and the following output in terminal; !!!
Traceback (most recent call last):
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 438, in handle_one_response
self.run_application()
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 424, in run_application
self.result = self.application(self.environ, self.start_response)
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.4-py2.7.egg/werkzeug/wsgi.py", line 579, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/vern/src/fontbakery/bakery/gitauth/views.py", line 79, in authorized
user = User.get_or_init(me['login'])
File "/home/vern/src/fontbakery/bakery/gitauth/models.py", line 48, in get_or_init
user = User.query.filter_by(login=login).first()
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2278, in first
ret = list(self[0:1])
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2145, in __getitem__
return list(res)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2349, in __iter__
return self._execute_and_instances(context)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/orm/query.py", line 2364, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py", line 662, in execute
params)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
compiled_sql, distilled_params
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py", line 874, in _execute_context
context)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
exc_info
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/util/compat.py", line 195, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py", line 867, in _execute_context
context)
File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.8.2-py2.7-linux-x86_64.egg/sqlalchemy/engine/default.py", line 324, in do_execute
cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such table: users u'SELECT users.id AS users_id, users.login AS users_login, users.name AS users_name, users.avatar AS users_avatar, users.email AS users_email, users.github_access_token AS users_github_access_token \nFROM users \nWHERE users.login = ?\n LIMIT ? OFFSET ?' (u'vernnobile', 1, 0)
<SocketIOServer fileno=3 address=0.0.0.0:5000>: Failed to handle request:
request = GET /auth/callback?code=bf77de95f9c460692536&next=http%3A%2F%2Flocalhost%3A5000%2F HTTP/1.1 from ('127.0.0.1', 34616)
application = <werkzeug.wsgi.SharedDataMiddleware object at 0x3c90d90>
127.0.0.1 - - [2013-09-05 12:13:20] "GET /auth/callback?code=bf77de95f9c460692536&next=http%3A%2F%2Flocalhost%3A5000%2F HTTP/1.1" 500 161 1.035012
127.0.0.1 - - [2013-09-05 12:13:21] "GET /favicon.ico HTTP/1.1" 404 1366 0.018054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment