Can't save files

all things webwizard here, please share suggestions, issues, or just anything related to the webwizard
Post Reply
kylejordanlibby
Posts: 6
Joined: Sun Aug 25, 2024 12:57 pm

Can't save files

Post by kylejordanlibby »

New user here
I want to be able to save/load code within Web Wizard. Whenever I open the menu and click "Save" I get the following error:

Unable to write to file somefilename.ino

Where is this trying to save the file to exactly? I can maintain my own code via git on my own but it would be nice to be able to load it directly in WebWizard
User avatar
brennyn21
Posts: 176
Joined: Mon Nov 23, 2020 5:40 pm

Re: Can't save files

Post by brennyn21 »

Can you try copying the code, clicking new pasting the code and saving it.

I'll have to look into more when I get home, but if my memory serves me correctly if you just uploaded your code it won't let you save it under a different file name as it automatically saves the code as "last uploaded.ino"

Hope this helps I'll do more investigating once I get home.
Sincerely, Brennyn
kylejordanlibby
Posts: 6
Joined: Sun Aug 25, 2024 12:57 pm

Re: Can't save files

Post by kylejordanlibby »

Tried that and still get the same error. It doesn't matter what I try to save the file name as.

In the browser I can see that the POST request to webwizard/savesketch.php is returning 200 with that message: "Unable to write to file filename.ino"

Maybe related if this is an auth issue... When logging into the Web Wizard I get redirected to the forum ucp.php?mode=login and it displays an error: "The submitted form was invalid. Try submitting again.". When logging in there I am redirected back to the Web Wizard and it looks as if I am authenticated properly.
User avatar
brennyn21
Posts: 176
Joined: Mon Nov 23, 2020 5:40 pm

Re: Can't save files

Post by brennyn21 »

I am looking into the issue and trying to replicate, can you please try it again?
Sincerely, Brennyn
kylejordanlibby
Posts: 6
Joined: Sun Aug 25, 2024 12:57 pm

Re: Can't save files

Post by kylejordanlibby »

Seems to be working fine now, thanks
Post Reply