WebUSB workbench issue: Stuck on "Waiting to list presets..."

Been having this issue lately where the workbench is stuck on “Waiting to list presets…”. The Tracks load fine. Removing the preset file works fine for the first reload but then hangs up again upon a second reload after it re-creates a base preset.ini file. Likewise, copying a known working preset will work the first time and hang up the next time despite not doing anything to it. In serial monitor, I can list presets fine and run all commands there.

ProffieOS 7.10
v3.9 board
Windows 10 and 11
Chrome 118.0.5993.88
sdtest results:
Time to open files: Average time: 2757.65 us
Time to read blocks: Average speed: 1609.47 kb/s, 17.11 simultaneous audio streams.

Tried another hilt. Same thing though on first try, it’s slooooooow as molasses switching presets and editing, board status led stays solid for a good long time before it returns to blinking. Reloading hilt gives same “waiting to list presets” for more than an hour issue.

Are there any errors in the javascript console in chrome?

None, other than one unrelated error coming off my Ad-blocker (which I disabled to try again but still has the same issues after disabling).

Unfortunately I don’t have a clue here, it seems to work for me, and I’m not sure what is different in your setup.

I guess whatever Chrome did in their most recent update fixed things a bit but still really laggy. Was it possibly corrupting the txt file?

Noticed I added some extra ALT_COLOR_ARG 6-10 arguments in one config, would that have an impact?

I don’t think so.

Tried it again after a while and new OS+CHrome.

Main error in console is this:

Uncaught (in promise) timeout
Run2 @ app.html:1281
await in Run2 (async)
RunUSB @ app.html:1342
await in RunUSB (async)
onclick @ app.html:1564

However, all the presets are then listed in the console. Everything fine with the saber. Just doesn’t load on WebUSB.

Do you have mass storage on?
Do you use save directories? (Because there was a fix in 7.13 for that.)

No Mass storage, just Serial+WebUSB.

And I don’t use save directories on this one.

Tracks will load after an hour but none of the presets.

I’m going to have to see if I can reproduce this or not.
Can you post your config file?

Pastebin has a max of 512kb so had to split the config in two.

That is terrifying!

1 Like

My first attempt at reproducing this didn’t work, but I’m using a lot of stuff that is different, like linux, ProffieOS 8.x and I don’t have all the fonts you have…

That said, I did run into a bug that may (or may not) be related, so I’m going to try to fix that and then we can get back to see if that helps you or not.

1 Like

Does it work better now?
(Make sure you’re using the version directly from github.)

1 Like

Just tried (using the github version). Tracks seem to load a little faster on WebUSB but the presets do not load at all.

Ok, but now I realize I wasn’t very clear…

Are you using the workbench from github?
Or are you using ProffieOS from github?
(Or both?)

Ah yes, I saw you meant. Both!

Still finding the same issue on 7.14 this time on both the original saber and another just made. Chrome browser 130.0.6735.44.

Error just after loading presets:
Uncaught (in promise) timeout
Run2 @ app.html:1281
await in Run2 (async)
RunUSB @ app.html:1342
await in RunUSB (async)
onclick @ app.html:1564

Edit: Latest Microsoft Edge shows same issue

1 Like