export_png not working with windows task scheduler

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

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, [email protected] 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 [email protected].
To post to this group, send email to [email protected].
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.