Flair is not running

Versions

Please provide the used software versions.

FLUKA:version 4-5.2
Flair:version 3-4.5-4
Operating system:windows10 and WSL

Description

I was using Fluka/Flair on a computer under win10 remotedly through windows. Computer was running permanently, after its rebooting/restart one day some error happen and flair could not be able to run again, without any failure report.

We did upgrade of ubuntu and flair, but this does not help. It looks like everything is OK.

Input files

Please upload

all relevant files. (FLUKA input file, Flair project file, user routines, and data files)

Dear Dana,

Is the XMing (or another) window server running?

Cheers,
David

It seems to me that it is running. It behave like normally as usual.

The IT person who did the instalation used the program vcxsrv-64.1.17.2.0, but it worked.

Dear Dana,

Could you please check if the program xeyes works?

Plus, can you tell me the output of the following command?

echo $DISPLAY

Thanks!

Cheers,
David

I attached in printscreen.

In fact in the beginning there was an error when I upgraded ubuntu and flair, but the IT person somehow repaired it. I attache also that printscreen.

the program xeyes did not work, but there was a suggestion how to install it, now it works

Dear Dana,

Just to be certain, do you see the eyes following your mouse then xeyes is running?

Also could you run this command?

wsl.exe --version

Cheers,
David

Dear David, yes eyes are following mouse. Result of command is attached in a printscreen.

Hi Dana,

What it the output of the command:

flair --help

Cheers,
David

There is nothing. It does not react on it. Printsceen is attached.

Hi Dana,

I’m guessing something got corrupted in Flair. I would recommend to uninstall it completely, and then installing it again.

Cheers,
David

Dear David,

but how to uninstall it, just to remove the flair folder?

Dana

Dear Dana,

If you used the provided installation script, you can uninstall Flair with:

sudo apt remove flair flair-geoviewer

To install it again, run

sudo apt install flair

Cheers,
David

Dear David,

I think it was installed from repository, but I have run commands as you suggested. Folder with flair was removed and now is there a new one. But no change, flair cannot be opened.

It seems to me that it is something with python, I used the script check_fluka.sh and there is an error, it stops on python tkinter module.

Dear Dana,

I did a clean installation on my Windows 11 computer using the same Ubuntu 24.04 distribution, and Flair is working without an issue.

Maybe the easiest would be to reset your WSL completely, and start from a clean installation.

I you do a reset, please make sure you save any data stored in the WSL’s home directory

Cheers,
David