Problem Description
Trying to import chaco without X server running on Linux causes python to terminate.
Reproduction Steps:
- Ensure that the DISPLAY environment variable has been unset in the terminal.
unset DISPLAY
- Start the Python3.6 interpreter and run
import chaco.api
Expected behavior:
Import should not cause a crash.
This is important for example, when using chaco on a remote server without X server running.
Error on trying to display something is acceptable but not a crash when importing.
OS, Python version: Linux, Python3.6
Problem Description
Trying to import chaco without X server running on Linux causes python to terminate.
Reproduction Steps:
unset DISPLAYimport chaco.apiExpected behavior:
Import should not cause a crash.
This is important for example, when using chaco on a remote server without X server running.
Error on trying to display something is acceptable but not a crash when importing.
OS, Python version: Linux, Python3.6