plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
292 stars 40 forks source link

Error in .External2: unable to start data viewer #373

Closed chok68 closed 3 years ago

chok68 commented 3 years ago

Hi,

I'm getting this error when trying to plot some data. It used to work before orca was installed. This only happens on EC2 headless server (Red Hat Linux 7.5), not locally (Ubuntu with gtk desktop).

Warning: Error in .External2: unable to start data viewer
  125: View

We add this line to the /etc/systemd/system/shiny-server.service file, under [Service]

Environment="DISPLAY=:1

Also this (should run before launching shiny service?)

# launch headless server (the final & makes the program run in background)
Xvfb :1 -screen 0 1024x768x16 &

Thanks!

chok68 commented 3 years ago

Closing as it was not related with orca