Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main> python3 fixer.py -f/--file subscriptions.csv -j/--jsonHeader newpipe.json
usage: fixer.py [-h] -f FILE -j JSONHEADER [-e ENCODING]
fixer.py: error: unrecognized arguments: subscriptions.csv newpipe.json
PS D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main> python3 fixer.py -f subscriptions.csv -j newpipe.json
[*] Parsing CSV file...
[*] Converting parsed CSV to JSON file...
Traceback (most recent call last):
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 145, in
main()
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 133, in main
convertedCsvToJson: str = convertCsvToJson("parsed_subscriptions.csv")
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 108, in convertCsvToJson
csvConverted: dict = json.loads(readFile(jsonHeaderFile))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
PS D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main> python3 fixer.py -f subscriptions.csv -j newpipe.json -e cp437
[*] Parsing CSV file...
[*] Converting parsed CSV to JSON file...
Traceback (most recent call last):
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 145, in
main()
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 133, in main
convertedCsvToJson: str = convertCsvToJson("parsed_subscriptions.csv")
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 108, in convertCsvToJson
csvConverted: dict = json.loads(readFile(jsonHeaderFile))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
PS D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main> python3 fixer.py -f subscriptions.csv -j newpipe.json -e "cp437"
[*] Parsing CSV file...
[*] Converting parsed CSV to JSON file...
Traceback (most recent call last):
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 145, in
main()
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 133, in main
convertedCsvToJson: str = convertCsvToJson("parsed_subscriptions.csv")
File "D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main\fixer.py", line 108, in convertCsvToJson
csvConverted: dict = json.loads(readFile(jsonHeaderFile))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
PS D:\Users\menac\Downloads\Newpipe-CSV-Fixer-main\Newpipe-CSV-Fixer-main>
Seems that the JSON decoder is recieving a null value. Could you send your NewPipe header file? (The newpipe.json one)
That's the one giving problems
Closing it as you're not giving me enough information to help you.