cr-proc 0.1.13__py3-none-any.whl → 0.1.14__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.
- code_recorder_processor/api/load.py +7 -7
- {cr_proc-0.1.13.dist-info → cr_proc-0.1.14.dist-info}/METADATA +1 -1
- {cr_proc-0.1.13.dist-info → cr_proc-0.1.14.dist-info}/RECORD +5 -5
- {cr_proc-0.1.13.dist-info → cr_proc-0.1.14.dist-info}/WHEEL +0 -0
- {cr_proc-0.1.13.dist-info → cr_proc-0.1.14.dist-info}/entry_points.txt +0 -0
|
@@ -97,22 +97,22 @@ def load_jsonl(file: Path) -> tuple[dict[str, Any], ...]:
|
|
|
97
97
|
with file.open("r", encoding="utf-8", errors="replace") as plain_file:
|
|
98
98
|
data = _load_jsonl(plain_file)
|
|
99
99
|
except FileNotFoundError as e:
|
|
100
|
-
raise FileNotFoundError(f"Error reading file
|
|
100
|
+
raise FileNotFoundError(f"Error reading file: {e}")
|
|
101
101
|
except ValueError as e:
|
|
102
|
-
raise ValueError(f"Invalid JSONL format
|
|
102
|
+
raise ValueError(f"Invalid JSONL format (plain read fallback): {e}")
|
|
103
103
|
except Exception as e:
|
|
104
104
|
raise IOError(
|
|
105
|
-
f"Error loading JSONL file
|
|
105
|
+
f"Error loading JSONL file without compression (magic={magic!r}): {type(e).__name__}: {e}"
|
|
106
106
|
)
|
|
107
107
|
except FileNotFoundError as e:
|
|
108
|
-
raise FileNotFoundError(f"Error reading file
|
|
108
|
+
raise FileNotFoundError(f"Error reading file: {e}")
|
|
109
109
|
except ValueError as e:
|
|
110
|
-
raise ValueError(f"Invalid JSONL format
|
|
110
|
+
raise ValueError(f"Invalid JSONL format: {e}")
|
|
111
111
|
except Exception as e:
|
|
112
|
-
raise IOError(f"Error loading JSONL file
|
|
112
|
+
raise IOError(f"Error loading JSONL file: {type(e).__name__}: {e}")
|
|
113
113
|
|
|
114
114
|
if not data:
|
|
115
|
-
raise ValueError(f"JSONL file is empty
|
|
115
|
+
raise ValueError(f"JSONL file is empty")
|
|
116
116
|
|
|
117
117
|
return data
|
|
118
118
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
code_recorder_processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
code_recorder_processor/api/build.py,sha256=XuF8Vx9mDdRqeaxCVgYAdn4NFJzkRt4Q839m15th0Fo,9908
|
|
3
3
|
code_recorder_processor/api/document.py,sha256=eIsGBCPq234cPiPN_ktBOoVrt0G1hHqbgvhXwMXQdnU,11343
|
|
4
|
-
code_recorder_processor/api/load.py,sha256=
|
|
4
|
+
code_recorder_processor/api/load.py,sha256=NaX9ixF3tzlrwrEB-qk8dNAtBOug21tWt1XhEX94M4w,5458
|
|
5
5
|
code_recorder_processor/api/output.py,sha256=HLa6DtN4i-wW0-vyE7SzqLeq35nhSoj2yHc9RjTPcBc,2441
|
|
6
6
|
code_recorder_processor/api/verify.py,sha256=6D8Zs8NBziG1kNc6HgH59yQp4u1wa4zyCuNE0qLTlpk,36040
|
|
7
7
|
code_recorder_processor/cli.py,sha256=giFUu9KiB40k5Z2CwZK9CDL7dQOicBLCGBx0Uzki39o,26329
|
|
8
8
|
code_recorder_processor/display.py,sha256=He5loCMrm1S1186N2BgDy6bl0v__kiosJ_qDxpa4hbM,8657
|
|
9
9
|
code_recorder_processor/playback.py,sha256=6-OJtQOHKgfutxUNBMunWl-VVSIB0zUDENSl0EsPCh4,4008
|
|
10
|
-
cr_proc-0.1.
|
|
11
|
-
cr_proc-0.1.
|
|
12
|
-
cr_proc-0.1.
|
|
13
|
-
cr_proc-0.1.
|
|
10
|
+
cr_proc-0.1.14.dist-info/METADATA,sha256=EByCqMzLEpjY_sfGWTzq2jQam3mqm6JnfyaRfmZncG4,9812
|
|
11
|
+
cr_proc-0.1.14.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
12
|
+
cr_proc-0.1.14.dist-info/entry_points.txt,sha256=xb5dPAAWN1Z9NUHpvZgNakaslR1MVOERf_IfpG_M04M,77
|
|
13
|
+
cr_proc-0.1.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|