← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3690: Return a warning at startup if X rendering is unavailable despite gui is required.

 

------------------------------------------------------------
revno: 3690
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Tue 2013-09-10 16:53:54 +0200
message:
  Return a warning at startup if X rendering is unavailable despite gui is required.
modified:
  core/main/main.py.in


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'core/main/main.py.in'
--- core/main/main.py.in	2013-09-05 07:52:37 +0000
+++ core/main/main.py.in	2013-09-10 14:53:54 +0000
@@ -248,6 +248,7 @@
 		# usually Xlib.error.DisplayError, but there can be Xlib.error.XauthError etc as well
 		# let's just pretend any exception means the display would not work
 		gui=None
+		print 'Warning: no X rendering available (see https://bbs.archlinux.org/viewtopic.php?id=13189)'
 
 # run remote access things, before actually starting the user session (not while imported by other python application)
 if __name__ == "__main__":