-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I've built a local Docker image from current master and the latest tag (v0.11.0) with docker build -t omk ., and then run it with:
mkdir -p /tmp/data/submissions /tmp/data/forms /tmp/data/deployments
docker run --rm -p 8080:3210 -v /tmp/data:/app/data --name omk omk
but although I'm able to upload the OMK sample XLS form (https://docs.google.com/spreadsheets/d/11H4-mGYTS61GLjSbVoTbmhoI5DjlF5fcBwNwQcvd2Go/edit?usp=sharing) or start from a fresh data dir mirroring that of data/ from the repo, in all cases I'm getting a 500 for HTTP GET /formList?json=true with the following traceback:
Error: not well-formed (invalid token)
at /app/api/odk/controllers/get-formlist.js:38:23
at buildXml (/app/node_modules/openrosa-formlist/index.js:77:21)
at /app/node_modules/openrosa-formlist/node_modules/async/lib/async.js:251:17
at done (/app/node_modules/openrosa-formlist/node_modules/async/lib/async.js:126:15)
at /app/node_modules/openrosa-formlist/node_modules/async/lib/async.js:32:16
at Parser.<anonymous> (/app/node_modules/openrosa-formlist/node_modules/async/lib/async.js:248:21)
at emitOne (events.js:101:20)
at Parser.emit (events.js:188:7)
at Parser.write (/app/node_modules/node-expat/lib/node-expat.js:68:10)
at Stream.ondata (internal/streams/legacy.js:16:26)
Is this a version mismatch perhaps with openrosa?
Or, more generally, might you all have any advice on how to proceed? (And sorry to post on issues; couldn't find a mailing list / slack channel / IRC)
Metadata
Metadata
Assignees
Labels
No labels