l_samenv
67f5f46c7f
patch QApplication in order to distinguish settings of instances
...
use ~/.config/nicos_<instrument> instead of common ~/.config/nicos
2024-05-14 16:40:57 +02:00
bb9eac432e
fix handling of addons, 2nd attempt
2024-05-13 14:55:27 +02:00
02b24ed202
fix handling of addons in get_server_state
2024-05-13 14:30:44 +02:00
l_samenv
15abee1bb1
fix bug when seacfg is not known to frappy
2024-05-13 13:25:33 +02:00
b680563fcd
improve doc and cleanup code
2024-05-10 12:02:07 +02:00
f23d3e3624
remove test-proposed (not used yet...)
2024-05-10 11:19:21 +02:00
bce1d50f37
fix gitignore
2024-05-10 11:18:52 +02:00
l_samenv
9ddb7eb3df
[WIP] state as of 2024-05-10 on samenv
2024-05-10 11:09:04 +02:00
l_samenv
dc24f3585c
frappyman: fix make_proposed
2023-10-26 10:18:51 +02:00
085e493942
[WIP] fix frappycfgs
2023-10-17 13:18:32 +02:00
20665ae6f6
[WIP] fix: return frappycfgs instead fo ourcfgs
2023-10-17 13:13:39 +02:00
ac4e6f851a
[WIP] remove givencfgs from result
2023-10-17 13:06:40 +02:00
7e34c6f6cd
[WIP] do not skip handling proposed on error
2023-10-17 12:52:37 +02:00
2252fe7e86
[WIP] better remark
2023-10-17 11:28:09 +02:00
14c7100ca8
[WIP] bug fix: sealist / seacfgs are different
2023-10-17 11:11:24 +02:00
7cc025bef4
[WIP] introduce get_server_state
...
propose_cfgs will be obsolete
2023-10-17 11:01:33 +02:00
7ac25158eb
[WIP] improvements overview/test
2023-10-06 17:24:05 +02:00
92d44f5c94
[WIP] overview in table form, test
2023-09-23 10:32:33 +02:00
fc364f0fc6
improve frappy manager
...
- add functionality to guess combination of configurations from
the running sea and frappy servers
- instead of the name only, the references to the config in
the SeaClient modules are used
- make this information also visibible in frappy list
2023-09-20 17:01:06 +02:00
957a5f0b2c
fix bug when restarting all frappy services
...
- return a copy of the modified env dict instread of modifiying in place
2023-09-14 14:09:08 +02:00
5b7a151222
frappyman: fix missing addonsticks set
2023-09-14 09:14:32 +02:00
ac2ff53cb3
better handling of keyboard interrupt on 'run'
...
+ add ServiceManager.get_cfg (works then also for FrappyManager)
2023-09-14 09:12:24 +02:00
09a6d1cbbe
remove unneeded code
2023-09-13 17:42:44 +02:00
b651ad205f
respect sea cfg and confirmed plugged device
2023-09-13 17:20:07 +02:00
c5a7f4a494
[WIP] '?' for sea devices without frappy cfg
2023-09-12 11:37:39 +02:00
840bd59bb1
[WIP] sea info: return '?' for when confirmed device does not match
2023-09-12 09:05:44 +02:00
79ce2947a6
[WIP] include SEA info (2)
2023-09-11 08:47:02 +02:00
b7ab2f4656
Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager
2023-09-11 08:36:27 +02:00
008690fe84
[WIP] include SEA info
2023-09-11 08:35:38 +02:00
l_samenv
b4d41a297d
do not accept stop without instrument or 'all'
2023-08-25 21:07:49 +02:00
l_samenv
1c0ff3a121
do not crash when process is already killed in the mean time
2023-08-25 16:58:53 +02:00
l_samenv
a255b9b715
unify do_listcfg and nicos frappy_list()
2023-06-06 16:20:37 +02:00
6130c5b5c5
improve commandline argument behaviour
...
+ allow hprt2 / zebra2
2023-06-05 14:38:14 +02:00
l_samenv
fcef9cb142
remove debug print
2023-05-16 14:01:32 +02:00
l_samenv
e5f7aded92
starting multiple nodes with frappy cli
2023-05-16 14:00:11 +02:00
l_samenv
02ca6de3ec
make new version of frappy work
...
- frappy instead of secop
- python cfg files
2023-05-04 14:57:01 +02:00
l_samenv
42125b9887
fix restart without cfg
...
restart did not work when no cfg was given and process was
in zombie state
+ fix restart 'all'
2022-12-22 16:36:47 +01:00
l_samenv
91cf31dde5
rework sea cfg
...
use seaststus.tcl instead of a live connection for getting
the current SEA cfg. cfg is now shown also when all instruments
are listed
2022-12-21 13:37:17 +01:00
l_samenv
b387177668
add frappy cli
2022-12-09 16:01:49 +01:00
l_samenv
bca3ced5bd
increase start timeout to 30 sec
2022-12-09 16:01:35 +01:00
l_samenv
6c04fac37f
reload SeaServer executable when needed
2022-09-23 08:43:01 +02:00
b81c98448d
bug fix: FRAPPY_CONFDIR not mandatory
2022-09-20 14:29:05 +02:00
l_samenv
a7559c648e
missing expanduser in FrappyManager.config_dirs
...
+ start nicos with python3
2022-08-23 16:18:38 +02:00
l_samenv
e67fa0bc35
make 'frappy listcfg' bhave like nicos 'frappy_list()'
2022-07-06 08:45:26 +02:00
l_samenv
0904390dc3
allow <INS> in envrionment varables in servicemanager.cfg
2022-07-06 08:45:03 +02:00
a3453e6b0e
frappyman: inherit PYTHONPATH from starting process
...
on SINQ instruments, when frappy is started from nicos,
nicos.conf contains PYTHONPATH = /home/<instr>:/home/<instr>/.local...
this should be applied to the frappy process too
2022-06-20 15:03:39 +02:00
34e13ccc67
frappyman: raise from None
2022-06-08 16:40:17 +02:00
ac9e35123c
better error message when cfg file does not exist
2022-06-08 16:34:28 +02:00
l_samenv
5640c4ea08
Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager
2022-04-26 09:54:32 +02:00
4b38869edb
Merge branch 'master' of gitlab.psi.ch-samenv:samenv/servicemanager
...
Conflicts:
frappyman.py
2022-04-26 09:53:56 +02:00