[ase-users] ASE test Bug

Jakob Schiøtz schiotz at fysik.dtu.dk
Sat May 23 16:42:06 CEST 2020


> On 22 May 2020, at 15.18, Ask Hjorth Larsen <asklarsen at gmail.com> wrote:
> 
> Dear Dan, Jakob,
> 
> Am Fr., 22. Mai 2020 um 10:25 Uhr schrieb Jakob Schiøtz via ase-users
> <ase-users at listserv.fysik.dtu.dk>:
>> 
>> Dear Dan Bai,
>> 
>> This looks like the test suite tries to open a window on your screen, but because you are logged in without X forwarding it cannot.  That must be a bug in the test suite, it should not require an active X11 connection.
>> 
>> Just ignore this error.
> 
> (Right!)
> 
> FWIW the test is skipped if DISPLAY is not set, or if tkinter is not
> available.   The display is (apparently) set to "10.8.0.34:0.0" and
> therefore the test runs.  If there's better way to test whether the
> display *should* be valid then we could do that instead.

I am not aware of any better way, except maybe opening a window and catching the exception.

One problem is that the default builds of ssh only forward X11 connections for 20 or 30 minutes.  Then they stop accepting new connections for "security reasons".  Most linuxes fix that in the configuration file, but on some distributions (and on MacOS) the default is not changed.

Best regards

Jakob


> 
> Best regards
> Ask




More information about the ase-users mailing list