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.
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.
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.