python
Python 3.10.1 (main, Dec 6 2021, 22:25:40) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Please read [/Users/***user***/w2j/w2j.log] to check the conversion states.
Traceback (most recent call last):
File "/Users/***user***/.virtualenvs/python_test/bin/w2j", line 8, in <module>
sys.exit(main())
File "/Users/***user***/.virtualenvs/python_test/lib/python3.10/site-packages/w2j/__init__.py", line 69, in main
ad.sync_note_by_location(args.location, args.location_children)
File "/Users/***user***/.virtualenvs/python_test/lib/python3.10/site-packages/w2j/adapter.py", line 577, in sync_note_by_location
self.sync_folders()
File "/Users/***user***/.virtualenvs/python_test/lib/python3.10/site-packages/w2j/adapter.py", line 431, in sync_folders
jf = self.jda.post_folder(title=l2f.title)
File "/Users/***user***/.virtualenvs/python_test/lib/python3.10/site-packages/w2j/joplin.py", line 282, in post_folder
data = resp.json()
File "/Users/***user***/.virtualenvs/python_test/lib/python3.10/site-packages/httpx/_models.py", line 742, in json
return jsonlib.loads(self.content.decode(encoding), **kwargs)
File "/usr/local/Cellar/python@3.10/3.10.1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python@3.10/3.10.1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python@3.10/3.10.1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/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)
修改为 python 3.9.9 报错依旧
···
...
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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)
wiznote
I used the privatization deployment of wiz
joplin
python Python 3.10.1 (main, Dec 6 2021, 22:25:40) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
use command
error
修改为 python 3.9.9 报错依旧
··· ... File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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)
···