Quite amusing (because I was able to work around it) bug.
I’ve not fully checked I can repro from a fresh flash but I believe all I did was:
Full Flash 1.05 from Windows on top of a fresh from factory 4.1 board.
Try config and have it fail (don’t think it’s related).
Power cycle
Attempt to rename / modify files on Android 12 running Chrome 136..0.7103.87 connecting via Maslow-self-hotspot.
Soooooo when I did this, if I tried to rename a file (ie maslow.yaml → maslow_bak.yaml), it instead renamed it to ‘Ok.js’. File itself was unchanged so it appears it’s pulling the string for the button name rather than the text field.
And I tried creating a folder and canceling that and it called it ‘Cancel’ (maybe .js I forgot to check).
I wonder if it’s related to:
I wasn’t able to delete the folder, but I also bailed from trying to work around it on my phone at that point.
I bought it in, and connecting to my laptop inside I was able to upload a new maslow.yaml, so I went off to keep trying at that point.
I’ll try to find some time to look at the code see if I can find where it’s doing it once i’ve got myself set up building the source (unless someone can spot it easily).
I think there might be the same / similar problem with the filename for saving serial - on Android Chrome + FW 1.06 the filename I get when trying to save the serial is the entire serial output (as far as I can tell).
I still see it with 1.07. I have a sneaking suspicion it worked before you fixed the other bug too
BUT
I’m not sure i’d jump to assuming it’s a Maslow bug and not something specific to my device (as no-one else has talked about it). Chrome on my mac and windows laptops don’t do it.
Turns out this latest behaviour was user error on my part. It’s the result of me running Chrome on Android:
Attaching to the device network, but not actually signing into the network ‘As Is’.
In both cases (on my phone at least) attaching by the auto-open and putting in the IP address it is attaching in ‘AP’ (Access Point I think) mode, and it’s not visibly intuitive it’s different.
Without signing into the network you get restricted permissions behaviour, which mostly means no you can interact with the page, but file operations are blocked.
It’s interesting that the result of attempting to do the save serial ends up as the whole serial file being piped to the filename, but from when i’ve looked at the console log, I think it might be turning it all into a string first then saving it when it works right, so I can see how it might possibly happen.
This has created other weird and hard to debug issues in the past too. I wonder if there is a way that we could detect this and give the user a popup warning them that they might see some strange behavior?
the server can see what url is being requested, if it’s not an IP address or the
maslow.local name, we can return a different page (or do a popup) This
page/popup should list the URL that is being requested and ask the user to
report it to the forum (even after we do the other fixes below, there may be new
combinations in the future)
In addition, we should do a poll/research project to find all the URLs that the
different systems (OS and browser combinations) go to to try and tell if they
have Internet access.
Once we have done this, we can make the system detect those URLs and return the
appropriate response to trick the browsers into thinking that they hvae access
I know that early on there were some patches posted to do this
detection/response for a few OS/browser combinations, but we need to do more
testing to find more and add them to the system.
ideally we fake the detection so that the systems think they are connected to
the Internet, but since that changes over time, detecting when this isn’t the
case and letting the user know is a good backup to have in place.