Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Deserialization Error with the latest commit #245

Open
Jasonthefirst opened this issue Nov 6, 2023 · 1 comment
Open

Deserialization Error with the latest commit #245

Jasonthefirst opened this issue Nov 6, 2023 · 1 comment

Comments

@Jasonthefirst
Copy link

I updated the repository to the latest release 3.1.4 but now I all my matrix bots have the following error in the docker console:

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^
[Error: Failed to deserialize or serialize a JSON value missing field `version` at line 1 column 6903] {
  code: 'GenericFailure'
}
Node.js v20.9.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried to downgrade but the error persists. Is there anything I can try? Do I need to reset my bots (deleting the storage)?

@bertybuttface
Copy link
Collaborator

bertybuttface commented Nov 6, 2023

Yup that is turt2live/matrix-bot-sdk#321 you are running into.

Clearing the storage is the best way forward.

I'm going to overhaul the storage to separate out the matrix stuff (keys etc) from the LLM history at some point.

You should still be able to use a tagged release (3.1.4) you just can't use the latest development code without resetting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants