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

Unable to read a dynamically created CSV, more poor error reporting #189

Open
ijohnson222 opened this issue May 31, 2019 · 2 comments
Open

Comments

@ijohnson222
Copy link

Maybe this is out of scope, but I am trying to read a CSV file which is a. not in DropBox and b. is created dynamically (and is rather slow to respond). The URL is:
https://heuristplus.sydney.edu.au/h5-ao/viewers/smarty/showReps.php?db=dpmck_us_mexico_travelers&w=a&q=t%3A49&publish=1&debug=0&template=CSV%20Ship%20voyages.tpl

All I get is an error telling me it failed to load. So I don't know if it can't cope with https, can't cope with non-dropbox files, doesn't have appropriate mime type, took too long to respond, had data errors in it (although the output loads OK if I paste it in), or ... Please could it at least say what went wrong?

@esjewett
Copy link
Member

@ijohnson222 Sorry for the delay in response. In this case it is a CORS issue. You'll need to go through the steps outlined here for the server at https://heuristplus.sydney.edu.au : https://enable-cors.org

I'll leave the issue here open as the error reporting could certainly be improved in this way. Thanks!

@ijohnson222
Copy link
Author

Thanks, useful pointer which is actually very relevant to an upcoming project. I'll pass it on to my developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants