Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert reports success even if file isn't converted. #75

Open
KoalaGeo opened this issue Feb 27, 2023 · 0 comments
Open

Convert reports success even if file isn't converted. #75

KoalaGeo opened this issue Feb 27, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@KoalaGeo
Copy link
Collaborator

41563.ags has duplicate headers so is unreadable by the python library.

Running this through the converter

curl -X 'POST' \
  'http://localhost:5000/convert/' \
  -H 'accept: application/x-zip-compressed' \
  -H 'Content-Type: multipart/form-data' \
  -F '[email protected]' \
  -F 'sort_tables=false'`

== 200 response

content-disposition: attachment; filename=results.zip 
 content-type: application/x-zip-compressed 
 date: Mon,27 Feb 2023 09:59:12 GMT 
 server: uvicorn 
 transfer-encoding: chunked `

Zip with conversion log:
image

Expected Behavior

Report file is unreadable and don't return a zip.

@KoalaGeo KoalaGeo added bug Something isn't working enhancement New feature or request labels Mar 1, 2023
@KoalaGeo KoalaGeo mentioned this issue May 9, 2023
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant