[openstreetmap/openstreetmap-website] Internal Server Error on upload GPS trace to api06.dev.openstreetmap.org (#1209)
Tobias Zwick
notifications at github.com
Sat Apr 23 22:04:22 UTC 2016
Currently it is not possible to upload a GPS trace to the dev api server. The API call returns i.e. error code 500: `Errno::ENOENT: No such file or directory @ sys_fail2 - (/tmp/0.1109884814850981, /home/osm/traces/793.gpx)`
I tested this by using this simple HTML form to upload each a minimal GPX file to http://api.openstreetmap.org/api/0.6/gpx/create and to http://api06.dev.openstreetmap.org/api/0.6/gpx/create. The live API correcly returns simply the trace ID in plain text, the dev API returns the mentioned error.
```
<html>
<body>
<form enctype="multipart/form-data" action="http://api06.dev.openstreetmap.org/api/0.6/gpx/create" method="post">
<input name="file" type="file" />
<input value="test case desc" name="description" />
<input value="a tag" name="tags" />
<input value="private" name="visibility" />
<input type="submit"/>
</form>
</body>
</html>
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1209
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160423/34f3a9b5/attachment.html>
More information about the rails-dev
mailing list