120 Commits

Author SHA1 Message Date
dmc
910f281b0c add nicosenv to PATH before starting
asssure that PATH and therefore python venv ist the same when
starting frappy from NICOS and from commandline
2024-11-26 14:57:23 +01:00
8b13e32ed7 some more cosmetic changes
- fix an intend
- add TODO: remove pkg
- add .before_bott_at to backup of seastatus.tcl
2024-06-27 15:37:59 +02:00
dmc
95a3ff4ffd allow PY in commands, to be replaced with a specific python executable 2024-06-12 09:23:18 +02:00
l_samenv
9a30ee6bc7 Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager 2024-06-10 10:23:30 +02:00
l_samenv
f9fbd90945 Merge branch 'tmp' 2024-06-10 10:20:16 +02:00
l_samenv
e31d0248d7 include changes from tmp branch 2024-06-10 10:19:22 +02:00
l_samenv
4d9e0c757f improve FrappyManager.get_server_state
look at frappy server cfg when sea and frappy cfg are both
unrelated
2024-06-10 07:49:16 +02:00
1636dd1c3c bin/nicos_sinq: sys.argv must be altered when calling main() 2024-06-06 08:21:28 +02:00
94c514bd59 version from branch tmp as of 2025-05-27 2024-05-27 17:26:56 +02:00
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
6201a6bc81 fix buf: cfg == 'none' instead of cfg is 'none' 2024-05-08 15:01:59 +02:00
f91a51dc93 add bin/nicos_sinq: simplified 'nicos' command as at samenv.psi.ch
adds 'nicos cli' and 'nicos gui' to login without being asked for password
2024-05-08 14:37:56 +02:00
l_samenv
3d8f220182 fix invert sea_info 2024-04-03 14:08:02 +02:00
0d026c91de invert sea_info dict 2024-04-03 13:25:03 +02:00
l_samenv
9fed0ead11 fix nicos help 2024-02-26 09:08:55 +01:00
a32f1c05f5 cosmetics in help 2024-02-26 09:07:22 +01:00
98cdb71856 add .idea to gitignore 2024-02-26 08:27:08 +01:00
343e607c1b [WIP] improve help message 2024-02-23 18:01:43 +01:00
l_samenv
0b099bab28 allow options to the commands
especially -v for frappy
2024-02-23 10:45:34 +01:00
l_samenv
d8bb4999dc better error message when instance is missing 2023-12-12 10:46:55 +01:00
l_samenv
49b11bfa81 fix copy seastatus 2023-11-14 11:56:52 +01:00
7f2ba5766c copy the seastatus before first start after boot time
after a crash the previous seastatus is not read correctly
for debugging reasons we should check if the status file is
invalid
2023-11-14 11:40:56 +01:00
785ca1b290 summarize_server_state: make more robust
an error may raise when a sea config file is deleted, but
still active on a sea server
2023-11-08 15:00:14 +01:00
7f6a8b4187 further fixes in FrappyManager 2023-10-27 08:05:26 +02:00
64634bd790 fix frappyman.do_listcfg 2023-10-26 10:30:23 +02:00
49336a4f26 fix summarize_server_state 2023-10-26 10:26:19 +02:00
l_samenv
dc24f3585c frappyman: fix make_proposed 2023-10-26 10:18:51 +02:00
9839d4df0c Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager 2023-10-26 10:16:26 +02:00
df00960244 try-catch around renaming old SeaServer 2023-10-26 10:15:03 +02:00
a7bdd91663 bug fix (sea cfg ext must be .addon not .addons) 2023-10-24 13:07:44 +02:00
aeebccdf89 catch missing previous SeaServer on reload 2023-10-24 13:07:16 +02:00
2d3394e205 rework guess_cfg to get_server_state 2023-10-17 15:16:08 +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
dmc
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