Skip to content

Instantly share code, notes, and snippets.

@jeremyjbowers
Created June 17, 2013 15:13
Show Gist options
  • Save jeremyjbowers/5797670 to your computer and use it in GitHub Desktop.
Save jeremyjbowers/5797670 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/fabric/main.py", line 717, in main
*args, **kwargs
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/fabric/tasks.py", line 299, in execute
multiprocessing
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/fabric/tasks.py", line 198, in _execute
return task.run(*args, **kwargs)
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/fabric/tasks.py", line 112, in run
return self.wrapped(*args, **kwargs)
File "/Users/jbowers/Projects/playgrounds2/fabfile.py", line 456, in deploy
render_playgrounds()
File "/Users/jbowers/Projects/playgrounds2/fabfile.py", line 235, in render_playgrounds
content = view(playground_id)
File "/Users/jbowers/Projects/playgrounds2/app.py", line 60, in _playground
return render_template('playground.html', **context)
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/flask/templating.py", line 125, in render_template
context, ctx.app)
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/flask/templating.py", line 107, in _render
rv = template.render(context)
File "/Users/jbowers/.virtualenvs/playgrounds2/lib/python2.7/site-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/Users/jbowers/Projects/playgrounds2/templates/playground.html", line 1, in top-level template code
{% extends '_base.html' %}
File "/Users/jbowers/Projects/playgrounds2/templates/_base.html", line 71, in top-level template code
{% block outer_content %}
File "/Users/jbowers/Projects/playgrounds2/templates/_base.html", line 99, in block "outer_content"
{% block content %}
File "/Users/jbowers/Projects/playgrounds2/templates/playground.html", line 103, in block "content"
{% for nearby in playground.nearby(3) %}
File "/Users/jbowers/.virtualenvs/playgrounds2/src/peewee/peewee.py", line 1455, in __iter__
return iter(self.execute())
File "/Users/jbowers/.virtualenvs/playgrounds2/src/peewee/peewee.py", line 1451, in execute
self._qr = ResultWrapper(self.model_class, self._execute(), None)
File "/Users/jbowers/.virtualenvs/playgrounds2/src/peewee/peewee.py", line 1400, in _execute
return self.database.execute_sql(sql, params, self.require_commit)
File "/Users/jbowers/.virtualenvs/playgrounds2/src/peewee/peewee.py", line 1811, in execute_sql
res = cursor.execute(sql, params or ())
sqlite3.OperationalError: user-defined function raised exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment