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

Application freezes #187

Closed
mfranzen0906 opened this issue Feb 16, 2024 · 7 comments
Closed

Application freezes #187

mfranzen0906 opened this issue Feb 16, 2024 · 7 comments

Comments

@mfranzen0906
Copy link

mfranzen0906 commented Feb 16, 2024

I work at a school, where we try to convert "Filius" (a software for simulating network communcation" to JS,
since it can't be used on iPads.

I added my project as an attachment.
The source code of Filius is taken from: https://gitlab.com/filius1/filius/-/tree/v1.14.2?ref_type=tags
I compiled it with all dependencies included.

When I start it, I can add a PC with drag and drop. But then I click on Run and the simulation starts. You can click on the PC and install software on it. But when I choose a software and want to add it, the application freezes and I have to close the tab.

Unfortunately there is no error message in the console.
Do you have a way to see more information about why it crashed?

config.zip

@alexp-sssup
Copy link
Member

We have identified that the version of slf4j used by this app depends on NoSuchMethodError's being thrown, which is not currently supported by CheerpJ. We have added this issue to our internal bug tracker, but it might take some time before is fixed.

@mfranzen0906
Copy link
Author

mfranzen0906 commented Feb 18, 2024

@alexp-sssup Thanks for the slf4j tip. By using a regex in a python script, I managed to delete all occurrences of slf4j and then recompiled it. Now it works!

@mfranzen0906
Copy link
Author

@alexp-sssup The touch on mobile devices doesn't work. Do you know a solution?

@alexp-sssup
Copy link
Member

Mobile is currently not officially supported, there is no solution at this time. It's a known issue:

#110

@mfranzen0906
Copy link
Author

But was this also a problem in cheerpj 2.3?

@alexp-sssup
Copy link
Member

alexp-sssup commented Feb 19, 2024

Yes, nothing has changed in the AWT implementation

For these sort of discussions, please join our Discord, this is not the right platform: https://discord.gg/X9ruPkchM5

@bates64
Copy link
Contributor

bates64 commented Mar 4, 2024

Going to close this as it was resolved (#187 (comment)). Mobile support is tracked in #110.

@bates64 bates64 closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants