Module gnumed
source code
Author:
H. Herb <hherb@gnumed.net>, K. Hilbert
<Karsten.Hilbert@gmx.net>, I. Haywood
<i.haywood@ugrad.unimelb.edu.au>
License:
GPL v2 or later (details at http://www.gnu.org)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup_paths_and_files()
Create needed paths in user home directory. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Imports:
sys,
platform,
tempfile,
faulthandler,
random,
logging,
datetime,
signal,
os,
shutil,
stat,
regex,
gmI18N,
gmTools,
gmDateTime,
gmPG2,
gmConnectionPool,
gmHooks
Detect and setup access to GNUmed config file.
Parts of this will have limited value due to wxPython not yet being
available.
|
Run a console tool.
Exit codes as per man page:
0: normal termination of the client
< 0: some error occurred while trying to run a console tool
-1: an unknown console tool was requested
< -1: an error occurred while a console tool was run
-999: hard abort of the client
One of these needs to be returned from this function (and,
by extension from the tool having been run, if any).
|
MANPAGE
- Value:
""".\\" ========================================================
.\\" SPDX-License-Identifier: GPL-2.0-or-later
.\\" ========================================================
.TH GNUmed 1 "%s" "Manual for GNUmed"
.SH NAME
.B GNUmed
...
|
|
__doc__
- Value:
""".\\" ========================================================
.\\" SPDX-License-Identifier: GPL-2.0-or-later
.\\" ========================================================
.TH GNUmed 1 "%s" "Manual for GNUmed"
.SH NAME
.B GNUmed
...
|
|
import_error_sermon
- Value:
"""
GNUmed startup: Cannot load GNUmed Python modules !
---------------------------------------------------
CRITICAL ERROR: Program halted.
Please make sure you have:
1) the required third-party Python modules installed
...
|
|
missing_cli_config_file
- Value:
"""
GNUmed startup: Missing configuration file.
-------------------------------------------
You explicitly specified a configuration file
on the command line:
--conf-file=%s
...
|
|
no_config_files
- Value:
"""
GNUmed startup: Missing configuration files.
--------------------------------------------
None of the below candidate configuration
files could be found:
%s
...
|
|