mdify-cli 2.11.1__py3-none-any.whl → 2.11.3__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.
- mdify/__init__.py +1 -1
- mdify/cli.py +25 -17
- {mdify_cli-2.11.1.dist-info → mdify_cli-2.11.3.dist-info}/METADATA +1 -1
- mdify_cli-2.11.3.dist-info/RECORD +12 -0
- mdify_cli-2.11.1.dist-info/RECORD +0 -12
- {mdify_cli-2.11.1.dist-info → mdify_cli-2.11.3.dist-info}/WHEEL +0 -0
- {mdify_cli-2.11.1.dist-info → mdify_cli-2.11.3.dist-info}/entry_points.txt +0 -0
- {mdify_cli-2.11.1.dist-info → mdify_cli-2.11.3.dist-info}/licenses/LICENSE +0 -0
- {mdify_cli-2.11.1.dist-info → mdify_cli-2.11.3.dist-info}/top_level.txt +0 -0
mdify/__init__.py
CHANGED
mdify/cli.py
CHANGED
|
@@ -1032,25 +1032,33 @@ def main() -> int:
|
|
|
1032
1032
|
f"{progress} {input_file.name} ✗ ({format_duration(elapsed)})"
|
|
1033
1033
|
)
|
|
1034
1034
|
if container_alive:
|
|
1035
|
-
print(
|
|
1035
|
+
print(
|
|
1036
|
+
" Error: Connection lost (server may have crashed and restarted)",
|
|
1037
|
+
file=sys.stderr,
|
|
1038
|
+
)
|
|
1036
1039
|
else:
|
|
1037
|
-
print(
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1040
|
+
print(
|
|
1041
|
+
" Error: Container crashed while processing file",
|
|
1042
|
+
file=sys.stderr,
|
|
1043
|
+
)
|
|
1044
|
+
print(
|
|
1045
|
+
" File may be too complex, large, or malformed",
|
|
1046
|
+
file=sys.stderr,
|
|
1047
|
+
)
|
|
1048
|
+
|
|
1049
|
+
# Always show logs for connection errors to surface root cause
|
|
1050
|
+
print(" Retrieving container logs...", file=sys.stderr)
|
|
1051
|
+
logs = container.get_logs(tail=30)
|
|
1052
|
+
if logs:
|
|
1053
|
+
print(" Container logs (last 30 lines):", file=sys.stderr)
|
|
1054
|
+
for line in logs.strip().split("\n"):
|
|
1055
|
+
print(f" {line}", file=sys.stderr)
|
|
1056
|
+
else:
|
|
1057
|
+
print(" No logs available", file=sys.stderr)
|
|
1058
|
+
|
|
1051
1059
|
if not container_alive:
|
|
1052
|
-
print(
|
|
1053
|
-
|
|
1060
|
+
print(" Stopping remaining conversions", file=sys.stderr)
|
|
1061
|
+
|
|
1054
1062
|
# Stop processing if container is dead
|
|
1055
1063
|
if not container_alive:
|
|
1056
1064
|
break
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
assets/mdify.png,sha256=qUj7WXWqNwpI2KNXOW79XJwqFqa-UI0JEkmt1mmy4Rg,1820418
|
|
2
|
+
mdify/__init__.py,sha256=GlGKobSG1CjB2wWU0rcHqyoF3anj9VL2qCQq_-d2Sdc,91
|
|
3
|
+
mdify/__main__.py,sha256=bhpJ00co6MfaVOdH4XLoW04NtLYDa_oJK7ODzfLrn9M,143
|
|
4
|
+
mdify/cli.py,sha256=wTBs4-xZaRRyr9uyUQNDIPjQD1VTMPL0jU26mCT82Hk,36918
|
|
5
|
+
mdify/container.py,sha256=JoN8mUE1hIIVnrxZwdHud70vgNo_1ZIJtmNoPwBWk8I,6647
|
|
6
|
+
mdify/docling_client.py,sha256=xuQR6sC1v3EPloOSwExoHCqT4uUxE8myYq-Yeby3C2I,7975
|
|
7
|
+
mdify_cli-2.11.3.dist-info/licenses/LICENSE,sha256=NWM66Uv-XuSMKaU-gaPmvfyk4WgE6zcIPr78wyg6GAo,1065
|
|
8
|
+
mdify_cli-2.11.3.dist-info/METADATA,sha256=bfHgj5vYwvGRLAWex6-n867GkBvlYK2tizOnPe5YGYI,9623
|
|
9
|
+
mdify_cli-2.11.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
+
mdify_cli-2.11.3.dist-info/entry_points.txt,sha256=0Xki8f5lADQUtwdt6Eq_FEaieI6Byhk8UE7BuDhChMg,41
|
|
11
|
+
mdify_cli-2.11.3.dist-info/top_level.txt,sha256=qltzf7h8owHq7dxCdfCkSHY8gT21hn1_E8P-VWS_OKM,6
|
|
12
|
+
mdify_cli-2.11.3.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
assets/mdify.png,sha256=qUj7WXWqNwpI2KNXOW79XJwqFqa-UI0JEkmt1mmy4Rg,1820418
|
|
2
|
-
mdify/__init__.py,sha256=RVkAMYdoP74oQx7cL4Tm3Tq1JIbOIa3o41jzrH00ZOU,91
|
|
3
|
-
mdify/__main__.py,sha256=bhpJ00co6MfaVOdH4XLoW04NtLYDa_oJK7ODzfLrn9M,143
|
|
4
|
-
mdify/cli.py,sha256=MYTR8Vpu7p88Hf2KOyINGYlVq4dyUiQ094On-0XOkmA,36780
|
|
5
|
-
mdify/container.py,sha256=JoN8mUE1hIIVnrxZwdHud70vgNo_1ZIJtmNoPwBWk8I,6647
|
|
6
|
-
mdify/docling_client.py,sha256=xuQR6sC1v3EPloOSwExoHCqT4uUxE8myYq-Yeby3C2I,7975
|
|
7
|
-
mdify_cli-2.11.1.dist-info/licenses/LICENSE,sha256=NWM66Uv-XuSMKaU-gaPmvfyk4WgE6zcIPr78wyg6GAo,1065
|
|
8
|
-
mdify_cli-2.11.1.dist-info/METADATA,sha256=CRZHevY6HxWmqppUMq3UuSC92sYtPOm5sKnCJDPwrMU,9623
|
|
9
|
-
mdify_cli-2.11.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
-
mdify_cli-2.11.1.dist-info/entry_points.txt,sha256=0Xki8f5lADQUtwdt6Eq_FEaieI6Byhk8UE7BuDhChMg,41
|
|
11
|
-
mdify_cli-2.11.1.dist-info/top_level.txt,sha256=qltzf7h8owHq7dxCdfCkSHY8gT21hn1_E8P-VWS_OKM,6
|
|
12
|
-
mdify_cli-2.11.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|