medicafe 0.251027.0__py3-none-any.whl → 0.251027.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of medicafe might be problematic. Click here for more details.
- MediBot/__init__.py +1 -1
- MediCafe/MediLink_ConfigLoader.py +33 -7
- MediCafe/__init__.py +1 -1
- MediLink/__init__.py +1 -1
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/METADATA +1 -1
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/RECORD +10 -10
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/LICENSE +0 -0
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/WHEEL +0 -0
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/entry_points.txt +0 -0
- {medicafe-0.251027.0.dist-info → medicafe-0.251027.1.dist-info}/top_level.txt +0 -0
MediBot/__init__.py
CHANGED
|
@@ -43,8 +43,7 @@ def get_default_config():
|
|
|
43
43
|
'enabled': False,
|
|
44
44
|
'to': '',
|
|
45
45
|
'subject_prefix': 'MediCafe Error Report',
|
|
46
|
-
'max_bundle_bytes': 1572864
|
|
47
|
-
'transport': 'gmail_api'
|
|
46
|
+
'max_bundle_bytes': 1572864
|
|
48
47
|
}
|
|
49
48
|
},
|
|
50
49
|
# STRATEGIC NOTE (COB Configuration): COB library is fully implemented and ready
|
|
@@ -158,16 +157,43 @@ def load_configuration(config_path=os.path.join(os.path.dirname(__file__), '..',
|
|
|
158
157
|
print("Using default configurations due to missing files")
|
|
159
158
|
|
|
160
159
|
except ValueError as e:
|
|
160
|
+
# LOUD NOTIFICATION for malformed JSON files
|
|
161
|
+
print("\n" + "="*80)
|
|
162
|
+
print("*** CRITICAL ERROR: MALFORMED JSON CONFIGURATION FILES ***")
|
|
163
|
+
print("="*80)
|
|
161
164
|
if isinstance(e, UnicodeDecodeError):
|
|
162
|
-
print("
|
|
165
|
+
print("ERROR: Cannot decode configuration file - invalid character encoding")
|
|
166
|
+
print("DETAILS: {}".format(e))
|
|
163
167
|
else:
|
|
164
|
-
print("
|
|
165
|
-
|
|
168
|
+
print("ERROR: Configuration files contain invalid JSON syntax")
|
|
169
|
+
print("DETAILS: {}".format(e))
|
|
170
|
+
print("\nAFFECTED FILES:")
|
|
171
|
+
print("- Config file: {}".format(config_path))
|
|
172
|
+
print("- Crosswalk file: {}".format(crosswalk_path))
|
|
173
|
+
print("\nACTION REQUIRED:")
|
|
174
|
+
print("1. Check JSON syntax in both files")
|
|
175
|
+
print("2. Validate JSON using an online validator")
|
|
176
|
+
print("3. Fix syntax errors and restart the application")
|
|
177
|
+
print("\nFALLBACK: Using default configurations (may cause issues)")
|
|
178
|
+
print("="*80 + "\n")
|
|
179
|
+
|
|
166
180
|
config = get_default_config()
|
|
167
181
|
crosswalk = get_default_crosswalk()
|
|
168
182
|
except KeyError as e:
|
|
169
|
-
|
|
170
|
-
print("
|
|
183
|
+
# LOUD NOTIFICATION for missing required configuration keys
|
|
184
|
+
print("\n" + "="*80)
|
|
185
|
+
print("*** CRITICAL ERROR: MISSING REQUIRED CONFIGURATION ***")
|
|
186
|
+
print("="*80)
|
|
187
|
+
print("ERROR: Required configuration key is missing")
|
|
188
|
+
print("DETAILS: {}".format(e))
|
|
189
|
+
print("\nAFFECTED FILE: {}".format(config_path))
|
|
190
|
+
print("\nACTION REQUIRED:")
|
|
191
|
+
print("1. Ensure 'MediLink_Config' section exists in config.json")
|
|
192
|
+
print("2. Check that all required configuration keys are present")
|
|
193
|
+
print("3. Verify JSON structure matches expected format")
|
|
194
|
+
print("\nFALLBACK: Using default configurations (may cause issues)")
|
|
195
|
+
print("="*80 + "\n")
|
|
196
|
+
|
|
171
197
|
config = get_default_config()
|
|
172
198
|
crosswalk = get_default_crosswalk()
|
|
173
199
|
except Exception as e:
|
MediCafe/__init__.py
CHANGED
MediLink/__init__.py
CHANGED
|
@@ -12,7 +12,7 @@ MediBot/MediBot_dataformat_library.py,sha256=D46fdPtxcgfWTzaLBtSvjtozzZBNqNiODgu
|
|
|
12
12
|
MediBot/MediBot_debug.bat,sha256=F5Lfi3nFEEo4Ddx9EbX94u3fNAMgzMp3wsn-ULyASTM,6017
|
|
13
13
|
MediBot/MediBot_docx_decoder.py,sha256=9BSjV-kB90VHnqfL_5iX4zl5u0HcHvHuL7YNfx3gXpQ,33143
|
|
14
14
|
MediBot/MediBot_smart_import.py,sha256=Emvz7NwemHGCHvG5kZcUyXMcCheidbGKaPfOTg-YCEs,6684
|
|
15
|
-
MediBot/__init__.py,sha256
|
|
15
|
+
MediBot/__init__.py,sha256=lyqFeD1_7gd2pYechV5n8IZmOJBoz8cFanU3yDdYYTA,3192
|
|
16
16
|
MediBot/clear_cache.bat,sha256=F6-VhETWw6xDdGWG2wUqvtXjCl3lY4sSUFqF90bM8-8,1860
|
|
17
17
|
MediBot/crash_diagnostic.bat,sha256=j8kUtyBg6NOWbXpeFuEqIRHOkVzgUrLOqO3FBMfNxTo,9268
|
|
18
18
|
MediBot/f_drive_diagnostic.bat,sha256=4572hZaiwZ5wVAarPcZJQxkOSTwAdDuT_X914noARak,6878
|
|
@@ -21,8 +21,8 @@ MediBot/get_medicafe_version.py,sha256=uyL_UIE42MyFuJ3SRYxJp8sZx8xjTqlYZ3FdQuxLd
|
|
|
21
21
|
MediBot/process_csvs.bat,sha256=3tI7h1z9eRj8rUUL4wJ7dy-Qrak20lRmpAPtGbUMbVQ,3489
|
|
22
22
|
MediBot/update_json.py,sha256=vvUF4mKCuaVly8MmoadDO59M231fCIInc0KI1EtDtPA,3704
|
|
23
23
|
MediBot/update_medicafe.py,sha256=G1lyvVOHYuho1d-TJQNN6qaB4HBWaJ2PpXqemBoPlRQ,17937
|
|
24
|
-
MediCafe/MediLink_ConfigLoader.py,sha256=
|
|
25
|
-
MediCafe/__init__.py,sha256=
|
|
24
|
+
MediCafe/MediLink_ConfigLoader.py,sha256=heTbZ0ItwlpxqbAb0oV2dbTFRSTMnZyhBT9fS8nI0YU,12735
|
|
25
|
+
MediCafe/__init__.py,sha256=0mjW4VRx22WO9-iGooERKEGl9_XiPSXLPsmyAMhGcVk,5721
|
|
26
26
|
MediCafe/__main__.py,sha256=mRNyk3D9Ilnu2XhgVI_rut7r5Ro7UIKtwV871giAHI8,12992
|
|
27
27
|
MediCafe/api_core.py,sha256=wLAdRNZdmovKReXvzsmAgKrbYon4-wbJbGCyOm_C3AU,89896
|
|
28
28
|
MediCafe/api_factory.py,sha256=I5AeJoyu6m7oCrjc2OvVvO_4KSBRutTsR1riiWhTZV0,12086
|
|
@@ -63,15 +63,15 @@ MediLink/MediLink_insurance_utils.py,sha256=g741Fj2K26cMy0JX5d_XavMw9LgkK6hjaUJY
|
|
|
63
63
|
MediLink/MediLink_main.py,sha256=1nmDtbJ9IfPwLnFhCZvDtBPSG_8gzj6LneuoV60l4IQ,26736
|
|
64
64
|
MediLink/MediLink_smart_import.py,sha256=ZUXvAkIA2Pk2uuyLZazKfKK8YGdkZt1VAeZo_ZSUyxk,9942
|
|
65
65
|
MediLink/Soumit_api.py,sha256=5JfOecK98ZC6NpZklZW2AkOzkjvrbYxpJpZNH3rFxDw,497
|
|
66
|
-
MediLink/__init__.py,sha256=
|
|
66
|
+
MediLink/__init__.py,sha256=EXoIfj9XVlTBOpC-QfJ4xmQY8ILGHPxrd8xtgVQs-2U,3888
|
|
67
67
|
MediLink/gmail_http_utils.py,sha256=mYChIhkbA1oJaAJA-nY3XgHQY-H7zvZJUZPhUagomsI,4047
|
|
68
68
|
MediLink/gmail_oauth_utils.py,sha256=Ugr-DEqs4_RddRMSCJ_dbgA3TVeaxpbAor-dktcTIgY,3713
|
|
69
69
|
MediLink/openssl.cnf,sha256=76VdcGCykf0Typyiv8Wd1mMVKixrQ5RraG6HnfKFqTo,887
|
|
70
70
|
MediLink/test.py,sha256=DM_E8gEbhbVfTAm3wTMiNnK2GCD1e5eH6gwTk89QIc4,3116
|
|
71
71
|
MediLink/webapp.html,sha256=DwDYjVvluGJ7eDdvEogfKN4t24ZJRoIUuSBfCYCL-3w,21252
|
|
72
|
-
medicafe-0.251027.
|
|
73
|
-
medicafe-0.251027.
|
|
74
|
-
medicafe-0.251027.
|
|
75
|
-
medicafe-0.251027.
|
|
76
|
-
medicafe-0.251027.
|
|
77
|
-
medicafe-0.251027.
|
|
72
|
+
medicafe-0.251027.1.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
|
|
73
|
+
medicafe-0.251027.1.dist-info/METADATA,sha256=XLFJXaRWI3dI2gnxmGrhbt4aOPvqwqPsZwjl2pQaZ_E,3414
|
|
74
|
+
medicafe-0.251027.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
75
|
+
medicafe-0.251027.1.dist-info/entry_points.txt,sha256=m3RBUBjr-xRwEkKJ5W4a7NlqHZP_1rllGtjZnrRqKe8,52
|
|
76
|
+
medicafe-0.251027.1.dist-info/top_level.txt,sha256=U6-WBJ9RCEjyIs0BlzbQq_PwedCp_IV9n1616NNV5zA,26
|
|
77
|
+
medicafe-0.251027.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|