cetirizine.meta

Issues/PRs archive for MTRNord/cetirizine
git clone git://archive.git.mtrnord.blog/MTRNord/cetirizine.meta.git
Log | Files | Refs

2.md (2120B)


      1 # #2 Error: Expect an `UserId` instance, received `P` instead
      2 
      3 - **State:** open
      4 - **Author:** @abyxcos
      5 - **Created:** 2023-05-07T20:50:32Z
      6 - **Labels:** bug
      7 - **Assignees:** @MTRNord
      8 
      9 ---
     10 
     11 ```
     12 [Error] Error: Expect an `UserId` instance, received `P` instead
     13 (anonymous function) — vendor-6dbf17ae.js:60134:54597
     14 wasm-stub
     15 <?>.wasm-function[882]
     16 <?>.wasm-function[4103]
     17 <?>.wasm-function[610]
     18 wasm-stub
     19 rI — vendor-6dbf17ae.js:60134:14300
     20 (anonymous function) — client-4506e41d.js:1:28123
     21 
     22 	(anonymous function) (client-4506e41d.js:1:18597)
     23 ```
     24 
     25 This also occurs in updateTrackedUsers, and pops up multiple times during sync (usually a few minutes apart). 
     26 
     27 
     28 ## Comments
     29 
     30 ### @abyxcos — 2023-05-07T21:18:10Z
     31 
     32 ```
     33 [Error] Error: Expect an `UserId` instance, received `P` instead
     34 (anonymous function) — vendor-6dbf17ae.js:60134:54597
     35 wasm-stub
     36 <?>.wasm-function[882]
     37 <?>.wasm-function[4103]
     38 <?>.wasm-function[898]
     39 wasm-stub
     40 getMissingSessions — vendor-6dbf17ae.js:60134:29567
     41 (anonymous function) — client-4506e41d.js:1:20222
     42 shareKeys — client-4506e41d.js:1:20517
     43 (anonymous function) — client-4506e41d.js:1:19734
     44 
     45 	(anonymous function) (client-4506e41d.js:1:18597)
     46 ```
     47 
     48 
     49 ```
     50 [Error] Error: Expect an `UserId` instance, received `P` instead
     51 (anonymous function) — vendor-6dbf17ae.js:60134:54597
     52 wasm-stub
     53 <?>.wasm-function[882]
     54 <?>.wasm-function[4103]
     55 <?>.wasm-function[897]
     56 wasm-stub
     57 updateTrackedUsers — vendor-6dbf17ae.js:60134:26729
     58 (anonymous function) — client-4506e41d.js:1:32712
     59 
     60 	(anonymous function) (client-4506e41d.js:1:18597)
     61 ```
     62 
     63 
     64 ### @MTRNord — 2023-05-07T21:28:05Z
     65 
     66 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.
     67 
     68 Wasmer 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 :/
     69 
     70 ### @MTRNord — 2023-05-07T22:15:51Z
     71 
     72 bb599de8d242358ff6f17357f752696c063cce52 is a workaround for this. However an upstream fix would be nice.
     73