Skip to content

Instantly share code, notes, and snippets.

View bgirardot's full-sized avatar

Blake Girardot bgirardot

View GitHub Profile
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\4f930fa56111-stdouterr.log (2 hits)
Line 26: [2018-03-29 12:44:45,566] CRITICAL in mapping_apis: Task Lock API - unhandled error: Multiple rows were found for one()
Line 87: [2018-03-29 14:05:39,783] CRITICAL in mapping_apis: Task Lock API - unhandled error: Multiple rows were found for one()
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\d4445ce306d0-stdouterr.log (1 hit)
Line 18: [2018-03-29 13:50:32,760] CRITICAL in mapping_apis: Task Lock API - unhandled error: No row was found for one()
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\d4445ce306d0-stdouterr_1.log (1 hit)
Line 18: [2018-03-29 13:50:32,760] CRITICAL in mapping_apis: Task Lock API - unhandled error: No row was found for one()
(venv) ubuntu@ip-172-31-44-114:~/tasking-manager$ cd client/ && npm install && gulp build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN hot-tasking-manager@3.0.0 No repository field.
fs.js:961
return binding.readdir(pathModule._makeLong(path), options.encoding);
^
Error: ENOENT: no such file or directory, scandir '/home/ubuntu/tasking-manager/client/node_modules/node-sass/vendor'
at Error (native)
This is a Mailman mailing list bounce action notice:
List: HOT
Member: lozjuan@gmail.com
Action: Subscription disabled.
Reason: Excessive or fatal bounces.
The triggering bounce notice is attached below.
<darkblue-b> BlakeGirardot: where is the 'portable openstreetmap package' master?
<BlakeGirardot> Kind of hoping it is something obvious to someone familiar with the stack.
<BlakeGirardot> Let me find out
<osmbot> [osm-id|master|Bryan Housel] Match '+' as-is (no shift, because shift '+' is '?' on some non-US keyboards) https://github.com/openstreetmap/iD/commit/dffc354
<TomH> I would suggest your bundle is wrong
<TomH> Both Gemfile and Gemfile.lock should list canonical_rails - if they don't they you have a screwy setup
<TomH> sorry canonical-rails
<pnorman> BlakeGirardot: have you had success deploying openstreetmap-website first?
<BlakeGirardot> Ok, sorry, that first question trigged us for things to try... so... we are trying a few of those things and I am passing all these comments to David and Seth (devops and dev)
<BlakeGirardot> The trouble is we are really learning the osm stack as we go along here. The portable openstreetmap devs know it backward and forward, but us as consumers are still finding ou
@bgirardot
bgirardot / gist:3cad9a02ff813a6d66c47e81023957fb
Created May 25, 2017 14:56
./venv/bin/python3.6 manage.py db upgrade errors
(venv) bg@bg-VirtualBox:~/tasking-manager$ ./venv/bin/python3.6 manage.py db upgrade
/home/bg/tasking-manager/venv/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 8aa8f8d6a0c3, empty message
INFO [alembic.runtime.migration] Running upgrade 8aa8f8d6a0c3 -> a7c617755721, empty message
INFO [alembic.runtime.migration] Running upgrade a7c617755721 -> 48c3aed123cf, empty message
INFO [alembic.runtime.migration] Running upgrade 48c3aed123cf -> 0aaac86a48dc, empty message
INFO [alembic.runtime.migration] Running upgrade 0aaac86a48dc -> c4670f3bb828, empty message
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3375; 0 1277792 TABLE DATA alembic_version www-hot-data
pg_restore: [archiver (db)] COPY failed for table "alembic_version": ERROR: duplicate key value violates unique constraint "alembic_version_pkc"
DETAIL: Key (version_num)=(a7c617755721) already exists.
CONTEXT: COPY alembic_version, line 1
pg_restore: [archiver (db)] Error from TOC entry 3203; 0 1276773 TABLE DATA spatial_ref_sys postgres
pg_restore: [archiver (db)] could not execute query: ERROR: permission denied for relation spatial_ref_sys
Command was: COPY spatial_ref_sys FROM stdin;
pg_restore: [archiver (db)] Error from TOC entry 3379; 0 1277812 TABLE DATA tags www-hot-data
(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:
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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">