-
Notifications
You must be signed in to change notification settings - Fork 3.6k
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
missing image specified in chart.plotBackgroundImage causes phantom page to time out #2474
Comments
When an image is undefined or unreachable, the PhantomJS script proceed instead of waiting for the image until timeout. We can implement this by adding an error event handler like this: |
Sorry, but my implementation of the fix was done a kind of hasty. This is the corrected commit 7c722ca |
I am afraid I am now getting an error from phantom stdout: Update: from source, the error is on |
Ok. Are you running the latest highcharts code from github? |
I apologize, I had swapped highcharts with highstock mistakenly. However, after I deleted everything in phantomjs and downloaded it from scratch, the timeout error still occurs (I verified that your patch was applied). |
Yes, I can confirm the timeout error still occurs and sometimes it finishes within the timeout. So, perhaps you should increase the config.TIMEOUT parameter on L.26. Please let me know if this makes it stable for you. |
It still times out after adding 10 seconds. Perhaps I need to modify my phantom settings. |
I tried adding the line |
The configuration I used was With a short timeout setting it crashes for the first run on the timeout error, the second run passes due to caching og phantomjs |
Happens to be for a bubble chart. Please let me know if you need any more information. I poked around for a while in highcharts-convert but didn't notice anything obviously amiss. This works fine in real browsers (Chrome, Firefox). I don't know if the problem is in Phantom or exporting-server/phantom/highcharts-convert.js
This config file fails, but succeeds when chart.plotBackgroundImage is removed. The image in question is missing, but I assume the page should not time out if it's missing, but rather show nothing or a broken image placeholder. Thanks :)
The text was updated successfully, but these errors were encountered: