Hello

I cannot use scripts/runtests on tests/mydir/test.hal  with .xml containing a pyvcp widget

I get error saying "no display name and no $DISPLAY

but:

'printenv' and 'echo $DISPLAY'  show DISPLAY=:0.0


So, I reduced the test.hal to only loadusr the .xml file and 'start'

and reduced the .xml file to s simple label widget


Afterwards, I get the same error with 'scripts/runtests'

and no error with 'halrun -v -g tests.hal


so i guess its  a bug



I am guessing that the DISPLAY in the error

is not the display for X

and the message is poor ( like AI relationships)

I guess the DISPLAY is from a .ini file, meaning AXIS or such

I guess this from the list of questions for the biug repoirt:

those questions keep asking about linuxcnc user gui

rather than the simple harun -f test.hal idea/ ( no gui )

just a guess :-)

thnak tomp

<?xml version='1.0' encoding='UTF-8'?>
<pyvcp>
	<vbox>
		 <label>
                	<text>"I am Groot"</text>
		</label>
	</vbox>
</pyvcp>
###########################################
# 20nob test file lbl.hal
# #########################################
loadusr -Wn fred pyvcp -c fred lbl.xml
start
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to