-
Notifications
You must be signed in to change notification settings - Fork 6
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
I have got an error message "Chart download failed." #8
Comments
Hi Slava, please have a look in the log file of the background worker scraping the charts: Datawrapper changed their URL scheme recently. Newly generated charts have URLs starting with In my case that error caused scraping of charts to fail. To use the new datawrapper URL scheme, you need to add it to the list of supported hosts in the Cheers |
Many thanks for your answer. We have the problem resolved. Strange but the version of pageflow-chart folder has other content of files For this reason I have replaced the folder "pageflow-chart" completely with $ cd /var/lib/gems/2.1.0/gems Many thanks for your support. |
Can I use this URL? |
You have to add a new supported host in the initializer. See the updated README (configuration section) I've now released v0.1.1. Before, there were some yet unreleased changes in the github repository. If you wish to use an upstream version straight from github again in the future, I'd suggest using bundler's git support instead of tinkering with the gem folder manually. |
Like this? Pageflow::Chart.configure do |config| Allow scraping charts from custom account URLsconfig.supported_hosts << 'http://charts.datawrapper.de' |
Which command must I use? |
Yes, that's the correct config file. |
No. You have to use bundler. Please understand that we can not provide support for general Ruby on Rails questions in this context. Have a look at the Updating Pageflow wiki page. The steps there also apply to other pageflow gems like this one. Also have a look at the bundler docs for more background info. |
Thank you. |
Or simply |
Many thanks! It works! |
Great. I'll close this issue then. |
Hello,
I have got always an error message "Chart download failed." after typing a diagramm URL, e.g. for URL http://cf.datawrapper.de/d02Bg/1/
This URL is correct. How can I eliminate this error. I have a very little knowlidges about ruby on rails.
My apache settings are
Many thanks for your help.
Slava
The text was updated successfully, but these errors were encountered: