Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Several reloads of the app ends with the cytoscape component not showing up #45

Open
Akronix opened this issue Mar 13, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Akronix
Copy link
Collaborator

Akronix commented Mar 13, 2019

To test it, select a wiki and a network and then reload the page one or two times.
For instance, you can launch the app with run_develop.sh and go to http://localhost:5000/app/?wikis=es.lagunanegra.wikia.com&network=co_editing_network&upper_bound=1274800435&lower_bound=1243696435 and then reload the page.
You will see that the cytoscape component stop showing up.

I think this bug has to do with a incorrectly coded PreventUpdate() call, maybe this one: https://github.com/Grasia/WikiChron-networks/blob/develop/wikichron/dash/main.py#L578

@FRYoussef can you take a look at this?

@Akronix Akronix added the bug Something isn't working label Mar 13, 2019
@FRYoussef
Copy link
Collaborator

I've tried to reproduce the bug with your steps, but it works for me and the console doesn't launch any error.
I've tried it with run_develop.sh and run_standalone_dashapp.sh files.
Please, try to reproduce it for your own again and check if it still happen.

@Akronix
Copy link
Collaborator Author

Akronix commented Mar 14, 2019

I have screencasted the issue:

Wch-networks-issue-45-short
You can see there it stops working after the second reload. Nothing strange is shown in the terminal.


Another, longer, screencast starting the app from a selection opened previously in another time and, potentially, by a different user:

Wch-networks-issue-45

@Akronix
Copy link
Collaborator Author

Akronix commented Mar 15, 2019

We have found out that this bug happens in Chromium (v.72) but not in Firefox (v.65).
@FRYoussef what about edge?

@FRYoussef
Copy link
Collaborator

It works fine in Microsoft Edge 44.17763.1.0

@Akronix
Copy link
Collaborator Author

Akronix commented Apr 18, 2019

Humm is still this an issue? Maybe it has been fixed in newer versions of dash?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants