Open lukesneeringer opened 2 years ago
I am looking at this further and the root issue appears to be https://github.com/serde-rs/json/issues/559.
I am spelunking through the playwright-rust code ~to see if I can determine where to apply the workaround~ and found the error within a deserializer, but could not determine where the deserialization call was, which is where the workaround goes.
Playwright fails to load any browser correctly if one has the following dependency in
Cargo.toml
If one removes
features = [ "arbitrary_precision"]
, then it works. This occurs on at least theasync-std
andtokio
executors.I would love to submit a PR to fix this bug, but I have not the foggiest idea how to get started fixing it. :-/
Reproduction case
Logs
Here are the logs you get if you try to load with
arbitrary_precision
feature turned on:Traceback
And here is the traceback you get if you change the appropriate
?
to.unwrap()
and run withRUST_BACKTRACE=1
: