meco-group / omg-tools

Optimal Motion Generation-tools: motion planning made easy
GNU Lesser General Public License v3.0
565 stars 98 forks source link

Importing Tkinter in gui doesn't work on Travis #53

Closed timmercy closed 7 years ago

timmercy commented 7 years ago

It seems like the import of Tkinter in gui.py breaks the testing of some examples, giving this error:

File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1767, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
timmercy commented 7 years ago

This is now fixed, by making a virtual screen on Travis, by using xvfb