Skip to content
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

Error : Unexpected Duplicate. with Warp backend. #64

Open
sheganinans opened this Issue May 24, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@sheganinans
Copy link

sheganinans commented May 24, 2018

I keep getting this error when using the jsaddle-warp backend.
However the same exact reflex widget when using jsaddle-webkit2gtk will work perfectly fine.

To replicate this error:

git clone --recurse-submodule https://github.com/sheganinans/reflex-warp
cd reflex-warp
reflex-platform/try-reflex
nix-shell -A shells.ghc
cabal new-repl warp-reflex
main

Connect a web browser to http://localhost:3911, and click the button a few times and check the output in the cabal repl. Soon enough the error will show up and the webapp will freeze.

However if you instead run cabal new-repl webkit-reflex and try pushing the button, the app will work exactly as expected.

@sheganinans sheganinans reopened this May 24, 2018

@sheganinans

This comment has been minimized.

Copy link
Author

sheganinans commented Jun 2, 2018

Any luck on the replication of this bug? I tried it on a different installation of NixOS and got the same behavior.

@nomeata

This comment has been minimized.

Copy link

nomeata commented Jul 18, 2018

Does the browser freeze with high CPU usage? That’s what I am observing here at least…

@nomeata

This comment has been minimized.

Copy link

nomeata commented Jul 18, 2018

According to https://www.reddit.com/r/haskell/comments/88k18x/monthly_hask_anything_april_2018/dwm8qzr/ it is a Firefox-specific problem, and using Chrome avoids it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.