-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvpy is just not working anymore #238
Comments
Please tell me the following info:
|
2a. Bodhi Linux, basically 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 |
It's strange that the updating note causes 404 errors. Did you delete notes from other clients while starting nvpy? |
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. # 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 UPDATE: 2024-12-10 Change commit ID to branch name. |
I fixed the nvpy-db-utils.py crash issue. Available on the master branch.
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. |
Will this shit ever work again? |
I deleted a note that made problems. No difference. It synchonizes into oblivion. I deleted all notes on simplenot for a fresh synronization. nvpy error log is full of 2024-12-08 16:43:44,455 - DEBUG - Updating note af9a8866398e4e07b0fec413956362d0 (local key af9a8866398e4e07b0fec413956362d0) to server. |
Could you please provide the steps you took, the logs, and the results in chronological order? Without being able to reproduce the issue, it will be difficult to investigate and fix |
Linux version of Simplenote (built with Electron) https://github.com/Automattic/simplenote-electron/releases Using app.simplenote.com through a web browser is another option. |
Regarding the issue that initiated this matter, investigation is impossible due to a lack of information.
I seems to you might be making the problem worse yourself. nvPY's sync system performs bidirectional synchronization between the local database and Simplenote. To achieve this, it keeps track of the sync status in the local database. The following actions are not supported and could lead to issues:
These actions could cause inconsistencies in the local database. This might be the root cause of the various problems you're experiencing in your environment. If you store valuable notes in Simplenote, you should avoid reckless attempts to fix issues. If you intend to continue using nvPY, you should follow these steps:
|
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':
The text was updated successfully, but these errors were encountered: