☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

export_png not working with windows task scheduler

Community Support
david.w.gaibler
david.w.gaibler

All,

Has anyone had trouble getting “export_png” to work on scripts run as .bat called in windows task scheduler? I run the .bat without issue when I trigger the .bat manually but it fails when it is called by the task scheduler. I comment out the export_png line in the python script and the task scheduler initialized run completes w/o issue. I am confident it is related to this Bokeh feature but not sure why.

Thanks in advance!

Dave Gaibler

⌁   Link to post
Bryan
Bryan

Hi,

Is there any way to capture any additional information? console log output, etc.? If the bat script is not finding phantomjs for some reason, you can set the environment variable BOKEH_PHANTOMJS_PATH to point explicitly to it. Otherwise without more information I am not going to be able to help much as I hardly ever use windows, unfortunately, but perhaps another windows user will be able to offer suggestions.

Thanks,

Bryan

···

On Oct 8, 2018, at 16:23, david.w.gaibler@gmail.com wrote:

All,

Has anyone had trouble getting "export_png" to work on scripts run as .bat called in windows task scheduler? I run the .bat without issue when I trigger the .bat manually but it fails when it is called by the task scheduler. I comment out the export_png line in the python script and the task scheduler initialized run completes w/o issue. I am confident it is related to this Bokeh feature but not sure why.

Thanks in advance!
Dave Gaibler

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/c88a2fbe-b530-4b2e-934e-047e36bdf70b%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled