2.json (2559B)
1 { 2 "number": 2, 3 "title": "Error: Expect an `UserId` instance, received `P` instead", 4 "state": "open", 5 "author": "abyxcos", 6 "created_at": "2023-05-07T20:50:32Z", 7 "closed_at": null, 8 "labels": [ 9 "bug" 10 ], 11 "assignees": [ 12 "MTRNord" 13 ], 14 "body": "```\r\n[Error] Error: Expect an `UserId` instance, received `P` instead\r\n(anonymous function) \u2014 vendor-6dbf17ae.js:60134:54597\r\nwasm-stub\r\n<?>.wasm-function[882]\r\n<?>.wasm-function[4103]\r\n<?>.wasm-function[610]\r\nwasm-stub\r\nrI \u2014 vendor-6dbf17ae.js:60134:14300\r\n(anonymous function) \u2014 client-4506e41d.js:1:28123\r\n\r\n\t(anonymous function) (client-4506e41d.js:1:18597)\r\n```\r\n\r\nThis also occurs in updateTrackedUsers, and pops up multiple times during sync (usually a few minutes apart). ", 15 "comments": [ 16 { 17 "author": "abyxcos", 18 "created_at": "2023-05-07T21:18:10Z", 19 "body": "```\r\n[Error] Error: Expect an `UserId` instance, received `P` instead\r\n(anonymous function) \u2014 vendor-6dbf17ae.js:60134:54597\r\nwasm-stub\r\n<?>.wasm-function[882]\r\n<?>.wasm-function[4103]\r\n<?>.wasm-function[898]\r\nwasm-stub\r\ngetMissingSessions \u2014 vendor-6dbf17ae.js:60134:29567\r\n(anonymous function) \u2014 client-4506e41d.js:1:20222\r\nshareKeys \u2014 client-4506e41d.js:1:20517\r\n(anonymous function) \u2014 client-4506e41d.js:1:19734\r\n\r\n\t(anonymous function) (client-4506e41d.js:1:18597)\r\n```\r\n\r\n\r\n```\r\n[Error] Error: Expect an `UserId` instance, received `P` instead\r\n(anonymous function) \u2014 vendor-6dbf17ae.js:60134:54597\r\nwasm-stub\r\n<?>.wasm-function[882]\r\n<?>.wasm-function[4103]\r\n<?>.wasm-function[897]\r\nwasm-stub\r\nupdateTrackedUsers \u2014 vendor-6dbf17ae.js:60134:26729\r\n(anonymous function) \u2014 client-4506e41d.js:1:32712\r\n\r\n\t(anonymous function) (client-4506e41d.js:1:18597)\r\n```\r\n" 20 }, 21 { 22 "author": "MTRNord", 23 "created_at": "2023-05-07T21:28:05Z", 24 "body": "This is related to https://github.com/matrix-org/matrix-rust-sdk/blob/main/bindings/matrix-sdk-crypto-js/src/machine.rs#L200 being faulty.\r\n\r\nWasmer has a fix at https://github.com/wasmerio/wasmer/pull/3400 however https://github.com/wasmerio/wasm-bindgen-downcast is currently not public apparently making it questionable if it can be used in rust-sdk to fix this :/" 25 }, 26 { 27 "author": "MTRNord", 28 "created_at": "2023-05-07T22:15:51Z", 29 "body": "bb599de8d242358ff6f17357f752696c063cce52 is a workaround for this. However an upstream fix would be nice." 30 } 31 ] 32 }