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

Deploying code freezes Ascope #284

Open
asid61 opened this issue Dec 7, 2024 · 6 comments
Open

Deploying code freezes Ascope #284

asid61 opened this issue Dec 7, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@asid61
Copy link

asid61 commented Dec 7, 2024

Describe the bug
Sometimes, deploying code causes Ascope to freeze completely. No buttons can be pressed and the readings do not update. No zooming.

To Reproduce
Deploy code on a non-Akit project. Sometimes it freezes (25% of the time? 50%?)

Expected behavior
It should never freeze irreparably.

Screenshots
I'll add a sc later next time it happens

Version (required):
Version: 4.0.0-beta-3
Distributor: FRC 6328
Platform: win32-x64
Build Date: 11/12/2024, 05:08:23 UTC
Electron: 32.0.2
Chromium: 128.0.6613.84
Node: 20.16.0

Additional context

@asid61 asid61 added the bug Something isn't working label Dec 7, 2024
@jwbonner
Copy link
Member

What tab were you using when this happened? It is occurs again, it would be helpful if you can export the layout and send it here (File > Export Layout...).

@owen1050
Copy link

I have this happen almost every time I reload a simulation while the robot is enabled. Next time it happens, can I export logs somehow?

@jwbonner
Copy link
Member

What would be most helpful is to get an export of the tab layout (File > Export Layout...) plus a screenshot of what was displayed on the screen when it froze. If possible, it would also be helpful if you can send a copy of the code you were running in simulation when it happened.

@blaze-developer
Copy link

blaze-developer commented Feb 12, 2025

This is starting to happen for my team as well, about half the time when deploying code, AdvantageScope freezes. It doesn't seem to matter which tab is open or anything of the sort, and has been happening for different tabs. My project is AdvantageKit based so it most likely isn't a problem with the code not being AdvantageKit based.

@jwbonner
Copy link
Member

jwbonner commented Feb 12, 2025

Unfortunately no-one has managed to determine conditions under which this issue can be consistently recreated across multiple devices. If you can recreate the problem across multiple devices, I encourage you to upload any information you can regarding the setup (code, network conditions, full tab layout, etc). Until we can recreate the problem, there is unfortunately very little that we can do to fix it.

@blaze-developer
Copy link

Next time this happens to me, I will be sure to send as much information your way as I can. By the way, thank you for your continued support during the season, I, and many others greatly appreciate it.

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

No branches or pull requests

4 participants