camelot-project / frontend

The frontend: The web-facing server software for CAMELOT
BSD 3-Clause "New" or "Revised" License
2 stars 14 forks source link

Unable to download query results from web app #100

Closed scog1234 closed 9 years ago

scog1234 commented 9 years ago

When I click on the "Download query results" button on the query output page on http://camelot-project.herokuapp.com, I get the following error:

Method Not Allowed

The method GET is not allowed for the requested URL.

keflavich commented 9 years ago

This is a clear bug in the URL, which is being rendered as action="method="get"" because {{tablefile}} is not being set properly.

keflavich commented 9 years ago

my solution is not complete, though.

keflavich commented 9 years ago

solved: http://stackoverflow.com/questions/20646822/how-to-serve-static-files-in-flask

keflavich commented 9 years ago

@scog1234 could you grab this branch and test locally, see if it solves your issue?

scog1234 commented 9 years ago

That seems to fix the problem