Skip to content

Instantly share code, notes, and snippets.

View bgirardot's full-sized avatar

Blake Girardot bgirardot

View GitHub Profile
@bgirardot
bgirardot / gist:1709547493dcf946fbf3
Created February 18, 2015 23:12
gitcachbuster stack trace
pyramid_mako.MakoRenderingException
MakoRenderingException:
Traceback (most recent call last):
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/pyramid_mako/__init__.py", line 148, in __call__
result = template.render_unicode(**system)
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode
as_unicode=True)
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/runtime.py", line 803, in _render
<rekth> hello
<mataharimhairi> hello rekth and arushi
<rekth> mataharimhairi: hi :)
<arushi> Hello everyone !
<dodobas> hi arushi
<arushi> hi !
<brianohare> hi all..
<dodobas> we might as well start
<dodobas> i might drop out, internet connection is not to stable
<dodobas> so we got some items on the agenda https://hackpad.com/TWG-Meeting-06.2015-JE12VBlrKJ5
@bgirardot
bgirardot / gist:11ca7b8c45c1db0ea7eb
Created June 16, 2015 05:45
JOSM Presets Unique Key Names
access
across
addr:city
addr:country
addr:district
addr:flats
addr:hamlet
addr:housename
addr:housenumber
addr:inclusion
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bgirardot
bgirardot / osmtm_1913_99_Western_Kelani_River_Basin.geojson
Last active May 23, 2016 02:00
osmtm_1913_99_Western_Kelani_River_Basin.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2016-06-17T23:19:08.970296+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2016-06-17T23:19:08.965560+00:00 app[web.1]: npm ERR! npm bugs slack-irc
2016-06-17T23:19:09.814373+00:00 heroku[web.1]: State changed from starting to crashed
2016-06-17T23:19:34.871722+00:00 heroku[web.1]: State changed from crashed to down
2016-06-17T23:19:38.347039+00:00 heroku[api]: Scale to worker=1 by ethan@ethan-nelson.com
2016-06-17T23:19:40.758274+00:00 heroku[worker.1]: State changed from starting to up
2016-06-17T23:19:42.307615+00:00 app[worker.1]:
2016-06-17T23:19:42.307644+00:00 app[worker.1]: > slack-irc@3.8.1 start /app
2016-06-17T23:19:42.307651+00:00 app[worker.1]: > node dist/index.js "--config" "./config.js"
2016-06-17T23:19:42.364739+00:00 app[worker.1]: ^
@bgirardot
bgirardot / gist:9e0124e4cb53dedeee8ddc702e017ce1
Created July 5, 2016 01:04
HTML from OSM TM Message all contributors message
<!DOCTYPE html>
<html>
<head>
<title>
HOT Tasking Manager
- Messages</title>
<link rel="shortcut icon" href="http://tasks.hotosm.org/static/630a797be797ad1d3cfefb9efdc144f3/img/favicon.ico">
<link rel="stylesheet" href="http://tasks.hotosm.org/static/369de5e8a2e60fcfcb9780487741aa76/css/main.css">
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
app_green_1 | StaleDataError: DELETE statement on table 'project_priority_areas' expected to delete 1 row(s); Only 2 were matched.
app_green_1 | [2017-03-14 10:49:37 +0000] [19] [ERROR] Error handling request /project/2333/edit
app_green_1 | Traceback (most recent call last):
app_green_1 | File "/opt/app/env/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
app_green_1 | self.handle_request(listener, req, client, addr)
app_green_1 | File "/opt/app/env/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
app_green_1 | respiter = self.wsgi(environ, resp.start_response)
app_green_1 | File "/opt/app/env/lib/python2.7/site-packages/pyramid/router.py", line 223, in __call__
app_green_1 | response = self.invoke_subrequest(request, use_tweens=True)
app_green_1 | File "/opt/app/env/lib/python2.7/site-packages/pyramid/router.py", line 198, in invoke_subrequest
(venv) blake@blake-VirtualBox:~/tasking-manager$ pg_restore -h localhost -U hottm -d hottm tm3_20170429_154633.dmp
Password:
pg_restore: [archiver (db)] connection to database "hottm" failed: FATAL: password authentication failed for user "hottm"
FATAL: password authentication failed for user "hottm"
(venv) blake@blake-VirtualBox:~/tasking-manager$ pg_restore -h localhost -U hottm -d hottm tm3_20170429_154633.dmp
Password:
pg_restore: [archiver (db)] connection to database "hottm" failed: FATAL: database "hottm" does not exist
(venv) blake@blake-VirtualBox:~/tasking-manager$ pg_restore -h localhost -U hottm -d tasking-manager tm3_20170429_154633.dmp
Password:
pg_restore: [archiver (db)] Error while PROCESSING TOC: