Skip to content
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

"Failed to execute script start-nvpy" after syncing notes #225

Open
malcolmwood76 opened this issue Jan 14, 2022 · 1 comment
Open

"Failed to execute script start-nvpy" after syncing notes #225

malcolmwood76 opened this issue Jan 14, 2022 · 1 comment
Assignees
Milestone

Comments

@malcolmwood76
Copy link

I installed nvpy on Windows 10, after RespophNotes stopped being able to connect to SimpleNote. I started it, it downloaded a lot of my notes, and then it exited saying "Failed to execute script start-nvpy". Now it won't start - it gives the same error each time.

I got the source and debugged it.

Line 73 in utils.py is thrown an exception for the timestamps in several of my notes:
dt = datetime.datetime.fromtimestamp(timestamp)

One of the invalid values is "1375739839373.0".

@malcolmwood76
Copy link
Author

malcolmwood76 commented Jan 14, 2022

This seems to work around it:

>>   try:
        dt = datetime.datetime.fromtimestamp(timestamp)
>>   except Exception as e:
>>     logging.error('util.py: Error getting time stamp %s: %s' % (timestamp, str(e)))
>>     dt = datetime.datetime.now()

@yuuki0xff yuuki0xff self-assigned this Feb 9, 2022
@yuuki0xff yuuki0xff added this to the v2.4.0 milestone Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants