m5f file not loading anymore
-
Hi,
I was running since june a little program on my M5stick. Today I wan't to modify it, but is impossible to open the file in workflow UI.... When I look inside the m5f with a notepad it seems that more or less everything is here... but impossible to make the stuff working again.
If anyone could help me to recover my code it would be great !
Here is a link to the file :https://drive.google.com/file/d/1PFBu4VAHuXbSenaFG8Kt-Ia4xEs2p3xA/view?usp=sharing
-
I had the same happen to me recently. Some of my files were created a few months ago, but no longer work now. Looking at the Chrome developer console, there is this error when loading your file into uiFlow.
TypeError: Unknown block type: screen_set_stickc_brightness at Blockly.BlockSvg.Blockly.Block (scripts.3a80ddb4e78f6cf0af09.js:1) at new Blockly.BlockSvg (scripts.3a80ddb4e78f6cf0af09.js:1) at Blockly.WorkspaceSvg.newBlock (scripts.3a80ddb4e78f6cf0af09.js:1) at Object.Blockly.Xml.domToBlockHeadless_ (scripts.3a80ddb4e78f6cf0af09.js:1) at Object.Blockly.Xml.domToBlockHeadless_ (scripts.3a80ddb4e78f6cf0af09.js:1) at Object.Blockly.Xml.domToBlock (scripts.3a80ddb4e78f6cf0af09.js:1) at Object.Blockly.Xml.domToWorkspace (scripts.3a80ddb4e78f6cf0af09.js:1) at t.openM5F (main.5558dcaebe084d12c3eb.js:1) at t.M5F_create (main.5558dcaebe084d12c3eb.js:1) at FileReader.n.onload (main.5558dcaebe084d12c3eb.js:1)
I see the same error with my file. So something seems to have changed on the uiFlow side related to the StickC brightness block. @m5stack, please investigate this.
-
@nash68 I fixed it. In the file, I just replaced
screen_set_stickc_brightness
withscreen_set_brightness
and now it works.Here you go:
https://drive.google.com/file/d/1q_UiF1AxdNq2ee61XL0q9uee2aqpnBnM/view?usp=sharing -
@world101 said in m5f file not loading anymore:
@nash68 I fixed it. In the file, I just replaced
screen_set_stickc_brightness
withscreen_set_brightness
and now it works.Here you go:
https://drive.google.com/file/d/1q_UiF1AxdNq2ee61XL0q9uee2aqpnBnM/view?usp=sharingThanks @world101 that works.
-
@world101 wonderfull my friend ! You saved my work and ly nerfs lol. It works.