wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 78 forks source link

Python requests.post failing on TAB files #62

Closed matias-piin closed 3 years ago

matias-piin commented 7 years ago

Hi,

I've been trying to get this working for quite a while within my python environment with little success. I have a zipped MapInfo file which when sent through an HTTP client (like Postman) work great, but when I try to send the same file via the python requests library, I get the following error:

{"errors":["FAILURE:","Unable to open datasource `/tmp/5-1lgxaqi\' with the following drivers.","  -> ESRI Shapefile","  -> MapInfo File","  -> UK .NTF","  -> SDTS","  -> TIGER","  -> S57","  -> DGN","  -> VRT","  -> REC","  -> Memory","  -> BNA","  -> CSV","  -> NAS","  -> GML","  -> GPX","  -> LIBKML","  -> KML","  -> GeoJSON","  -> Interlis 1","  -> Interlis 2","  -> GMT","  -> GPKG","  -> SQLite","  -> ODBC","  -> WAsP","  -> PGeo","  -> MSSQLSpatial","  -> PostgreSQL","  -> PCIDSK","  -> OpenFileGDB","  -> FileGDB","  -> XPlane","  -> AVCBin","  -> AVCE00","  -> DXF","  -> Geoconcept","  -> GeoRSS","  -> GPSTrackMaker","  -> VFK","  -> PGDump","  -> OSM","  -> GPSBabel","  -> SUA","  -> OpenAir","  -> PDS","  -> WFS","  -> HTF","  -> AeronavFAA","  -> Geomedia","  -> EDIGEO","  -> GFT","  -> GME","  -> SVG","  -> CouchDB","  -> Idrisi","  -> ARCGEN","  -> SEGUKOOA","  -> SEGY","  -> XLS","  -> ODS","  -> XLSX","  -> ElasticSearch","  -> PDF","  -> Walk","  -> CartoDB","  -> SXF",""]}

Python version: Python 2.7.6

I've checked the headers and content being sent, and nothing looks out of the ordinary or wrong, not sure what could be causing this.

Any help would be immensely appreciated! Thank you!!!

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 5 days with no activity.