globalvoices / NewsFrames-Code

Code for the NewsFrames Platform available at newsframes.org
https://newsframes.globalvoices.org
Other
2 stars 1 forks source link

Cannot download Media Cloud Saved Searches .csvs #25

Closed connieimdialog closed 6 years ago

connieimdialog commented 6 years ago

Hi, something appears to have broken, not sure when but it is both on staging and on production. If you select any saved search and try to download a story or a frequency CSV, it says "something is wrong"

connieimdialog commented 6 years ago

note that Media Cloud has been going up and down - apparently they have hardware server issues (something is to be replaced by end of week). so may be related. but if that's the case, then wondering if there's a more elegant solution/error message ("Media Cloud not responding")

scttnlsn commented 6 years ago

@connieimdialog Seems we're getting a lot of errors from the MediaCloud API at the moment- I also can't make any sort of query.

Error(s): Caught exception in MediaWords::Controller::Api::V2::Stories_Public->count Error fetching Solr response: Solr error: undefined field sentence

We could certainly show a better error message here- I'll submit a PR for that.

scttnlsn commented 6 years ago

PR opened: https://github.com/globalvoices/NewsFrames-Code/pull/26

CrisNelson commented 6 years ago

Hard to test as we need MC to not function in order to see the new error message. OK to push with the next release.

shrutimehta13 commented 6 years ago

MC Save Search showing error- Media Cloud not responding.

MC Download csv shows error most of the time (tried multiple times around 8:30pm IST) We're sorry, but something went wrong. If you are the application owner check the logs for more information.

screen shot 2018-06-15 at 8 26 26 pm

@scttnlsn strange behaviour please check this http://gv-stage.dev.colab.coop/projects/78# . Here first saved search by the name 'google assistant' works but none of the others. so is this search specific not a communication problem with mc?

CrisNelson commented 6 years ago

This last test was not using the story based searching.

CrisNelson commented 6 years ago

@connieimdialog @scttnlsn - does anything need to be done here? We have to wait for MC to go down to check the error messaging, yes?

connieimdialog commented 6 years ago

looks good