ogx786 commited on
Commit
6b128af
·
verified ·
1 Parent(s): 58c454f

Update error

Browse files
Files changed (1) hide show
  1. error +6 -2
error CHANGED
@@ -1,8 +1,12 @@
 
1
  Found 1 file(s) matching input pattern
2
  - data.json
3
  [FAILED] data.json: could not parse as JSON, concatenated JSON, or JSON Lines.
4
- First 200 chars: '{\n "_id": "6a30f84db2bafb037face9c6",\n "hasMore": true,\n "limitReached": false,\n "pageSize": 20,\n "requestID":"6a30f84db2bafb037face9c6",\n "requestType": "find",\n "response": [\n '
5
- Error: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
 
 
 
6
  Loaded 0 raw records
7
  Extracted 0 raw pairs (0 records skipped for missing data/REQUEST_BODY blocks)
8
  Per-field raw counts: Counter()
 
1
+ (venv) PS D:\AI\models\urdu> python data_extraction.py --input "data.json" --output-dir ./output
2
  Found 1 file(s) matching input pattern
3
  - data.json
4
  [FAILED] data.json: could not parse as JSON, concatenated JSON, or JSON Lines.
5
+ Whole-file parse error: Extra data: line 906 column 1 (char 37228)
6
+ Context around error position:
7
+ ...' "x-sub-channel-id": "HBL",\n "x-country-code": "PK"\n }\n }\n ],\n "type": "find"\n}\n' <-- ERROR HERE --> '\u200b{\n "_id": "6a30f8c6b2bafb037facf79d",\n "hasMore": true,\n "limitReached": false,\n "pageSize": 20,\n "reque'...
8
+ (concatenated-JSON attempt error: Expecting value: line 906 column 1 (char 37228))
9
+ (JSON-Lines attempt error: Expecting property name enclosed in double quotes: line 1 column 2 (char 1))
10
  Loaded 0 raw records
11
  Extracted 0 raw pairs (0 records skipped for missing data/REQUEST_BODY blocks)
12
  Per-field raw counts: Counter()