Open JENKOP opened 4 months ago
Please tell me the following info:
~/.nvpy/nvpy.log
.2a. Bodhi Linux, basically Distributor ID:Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy
2b. Python 3.10.12
3.Log is full of this and only this (example):
2024-05-01 17:02:28,461 - ERROR - Could not get/update note af9a8866398e4e07b0fec413956362d0: update_error=HTTP Error 404: Not Found, get_error=HTTP Error 404: Not Found 2024-05-01 17:02:28,462 - DEBUG - Updating note 8dc6e0c3-8e25-419f-9f65-34398a3ce90c (local key 8dc6e0c3-8e25-419f-9f65-34398a3ce90c) to server. 2024-05-01 17:02:33,357 - ERROR - Could not get/update note 8dc6e0c3-8e25-419f-9f65-34398a3ce90c: update_error=HTTP Error 404: Not Found, get_error=HTTP Error 404: Not Found
It's strange that the updating note causes 404 errors.
Did you delete notes from other clients while starting nvpy? Does the problem stay even after a full synchronization? Is only two notes (8dc6e0c3-8e25-419f-9f65-34398a3ce90c, af9a8866398e4e07b0fec413956362d0) having synchronizing issue?
No. I think it is basically all notes. Possibly a hundred, When I experienced problems, I opened new simplenote account. After a failed sync attempt, I tried to delete notes directly in simplenote.com
If you are okay with discarding remote notes, you can upload all notes from local to remote using the nvpy-db-utils.py. https://github.com/cpbotha/nvpy/blob/7fa6ab6fe8aef2492a9981345e66a5c6f89a7b4a/debug-utils/nvpy-db-utils.py
# Back up the nvpy database.
cp -a ~/.nvpy/ ~/.nvpy.backup
# Try to upload a note.
./debug-utils/nvpy-db-utils.py delete --remote af9a8866398e4e07b0fec413956362d0
./debug-utils/nvpy-db-utils.py update --direction upload af9a8866398e4e07b0fec413956362d0
# Try to upload all notes.
./debug-utils/nvpy-db-utils.py delete --remote --all
./debug-utils/nvpy-db-utils.py update --direction upload --all
I fixed the nvpy-db-utils.py crash issue. Available on the master branch.
When I experienced problems, I opened new simplenote account.
The first issue remains unclear. If you have logs when this issue first occurred, please share me.
"I fixed the nvpy-db-utils.py crash issue. Available on the master branch."
Should I update it? How? pip install?
Download from https://github.com/cpbotha/nvpy/blob/master/debug-utils/nvpy-db-utils.py and run it.
If you installed nvpy with pip, the required modules (nvpy
and simplenote
) have already been installed.
Sync issues. Python 3 problem. SInce I installed nvpy with apt I removed it and installed it with pip
Still cant sync.
Sync step 1 error. Could not update note. some hex numbers.... server{'update_error':<HTTPError 404: 'Not Found'>, 'get_error':