Re: [fluka-discuss]: flair problem installation

From: muoio <muoio_at_lns.infn.it>
Date: Tue, 02 Apr 2024 15:20:10 +0200

dear experts

i find this

sicilab_at_sicilab-HP:/usr/local$ dpkg-deb -c flair_2.3-0dpy3_all.deb |
grep ini
-rw-r--r-- root/root 245510 2023-09-01 02:00
./usr/local/flair/db/card.ini
-rw-r--r-- root/root 5837 2023-09-01 02:00
./usr/local/flair/db/db2ini.r
-rw-r--r-- root/root 213720 2023-09-01 02:00
./usr/local/flair/db/isotopes.ini
-rw-r--r-- root/root 224388 2023-09-01 02:00
./usr/local/flair/db/material.ini
-rw-r--r-- root/root 10987 2023-09-01 02:00
./usr/local/flair/flair.ini
  what's wrong?

thanks Annamaria



Il 2024-04-02 13:53 muoio ha scritto:
> flair_2.3-0dpy3_all.deb
> i have installed it in path /usr/local like following command
>
> sudo dpkg -i flair-geoviewer_2.3-0dpy3_amd64.deb
> flair_2.3-0dpy3_all.deb
>
> i find flair.ini
> sicilab_at_sicilab-HP:~$ locate flair.ini
> /home/sicilab/.flair/flair.ini
> /usr/local/flair_old/flair.ini
>
> what's the problem?
> thanks
> Annamaria
>
> Il 2024-04-02 13:00 Paola Sala ha scritto:
>> Dera Annamaria
>> strange.
>> May I ask you a few questions:
>> - which version of flair? dpy3? from the rpm or the tgz?
>> - If from the tgz: where did you install it?
>> - It looks like you are launching flair from the /usr/bin directory,
>> which is quite unusual, do you have a specific reason?
>> -  from the traceback, it appears that the flair version that has been
>>    launched is the one in /usr/local/flair/, as it is for the
>> installation from rpm. Is this the flair you wanted to run?
>> - the traceback seems to point to a problem with the flair.ini file.
>> Could you please check  that it is there?  it should be
>>   /usr/local/flair/flair.ini  if installed via rpm.
>>
>> Let me know
>> Paola
>>
>>
>>
>> On 4/2/24 10:24, muoio wrote:
>>>  dear experts,
>>> i have installed flair, but i have a problem
>>>
>>> sicilab_at_sicilab-HP:/usr/bin$ flair
>>> Traceback (most recent call last):
>>>   File "/usr/local/flair/flair.py", line 2504, in <module>
>>>     tkFlair.init(ini)
>>>   File "/usr/local/flair/tkFlair.py", line 1756, in init
>>>     readIni()
>>>   File "/usr/local/flair/tkFlair.py", line 591, in readIni
>>>     initGlobalLayers()
>>>   File "/usr/local/flair/tkFlair.py", line 629, in initGlobalLayers
>>>     try: name = names[idx]
>>> IndexError: list index out of range
>>>
>>>
>>> thanks for your help
>>> Annamaria
>>>
>>> __________________________________________________________________________
>>> You can manage unsubscription from this mailing list at
>>> https://www.fluka.org/fluka.php?id=acc_info
>>>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Apr 02 2024 - 17:52:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 02 2024 - 17:52:13 CEST