Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
16 lines
742 B
Diff
16 lines
742 B
Diff
--- a/web/pgadmin/evaluate_config.py 2023-04-11 17:36:46.000000000 +0200
|
|
+++ b/web/pgadmin/evaluate_config.py 2023-04-14 09:54:33.496434314 +0200
|
|
@@ -76,6 +76,12 @@
|
|
custom_config_settings.update(config_system_settings)
|
|
except ImportError:
|
|
pass
|
|
+ except PermissionError:
|
|
+ print(f"Permission denied to open {str(system_config_dir + '/config_system.py')}. \n \
|
|
+ If you are running pgadmin4-desktopmode please make sure you disable \n \
|
|
+ the pgadmin NixOS module first. If you rely on settings in \n \
|
|
+ {str(system_config_dir + '/config_system.py')}, please check the correct permissions.")
|
|
+ pass
|
|
|
|
|
|
def evaluate_and_patch_config(config: dict) -> dict:
|