npbackup icon indicating copy to clipboard operation
npbackup copied to clipboard

ERROR :: Cannot decode JSON from restic data: the JSON object must be str, bytes or bytearray, not bool

Open chrispersonal opened this issue 1 year ago • 1 comments

Windows v3.0.0-rc6-pub-3.1.1-x64

Consistently seeing this error when the following is run via TaskScheduler or cmdline with admin privileges: -c "npbackup.conf" --group-operation backup --repo-group default_group --run-as-cli

However, if npbackup-gui.exe -c npbackup.conf --backup --run-as-cli is run from the cmdline, this error does not appear.

Also seeing ERROR :: Cannot find processed bytes: 'total_bytes_processed' with same symptoms. Let me know if you want a separate issue for that message.

chrispersonal avatar Sep 29 '24 16:09 chrispersonal

I've rewritten RC6 to include a way faster JSON decoder. It looks like it doesn't decode everything the way it's supposed to. I'll have a look, thanks for reporting.

deajan avatar Sep 30 '24 22:09 deajan

New RC released including the fix.

deajan avatar Oct 25 '24 13:10 deajan