humanitiesplusdesign / palladio

An application that brings humanities research methods to data visualization.
BSD 3-Clause "New" or "Revised" License
170 stars 31 forks source link

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

Open ijohnson222 opened 5 years ago

ijohnson222 commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

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