-
Notifications
You must be signed in to change notification settings - Fork 2
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
byte length error when Deno upgraded to v1.31.2 #2
Labels
bug
Something isn't working
Comments
halparn
changed the title
byte length error when Deno upgraded in v1.31.2
byte length error when Deno upgraded to v1.31.2
Mar 17, 2023
Hi @halparn, thank you for reporting. |
It's a bug of |
Fixed in denoland/deno#18518 and released in Deno v1.32.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, for a while i'm using btrdb databeses for simple data storage in Deno. After i upgrade Deno it's last version, and try to creating table and upsert some initial datas in it I encountered this error message:
error: Uncaught Error: Expect 16 == 19 throw new Error("Expect " + r.written + " == " + len); ^ at writeValue (https://deno.land/x/[email protected]/src/utils/binval.ts:75:13) at writeValue (https://deno.land/x/[email protected]/src/utils/binval.ts:107:9) at DocumentValue.writeTo (https://deno.land/x/[email protected]/src/utils/value.ts:141:5) at InFileStorage.addData (https://deno.land/x/[email protected]/src/pages/storage.ts:325:11) at async DbDocSet._set (https://deno.land/x/[email protected]/src/database/DbDocSet.ts:150:13) at async DbDocSet.upsert (https://deno.land/x/[email protected]/src/database/DbDocSet.ts:114:5)
Here is an example code how i offently upsert data usage:
After i encountered this error, downgraded deno to 1.31.1 fix this issue. This error produced v1.31.2 or later.
The text was updated successfully, but these errors were encountered: