🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    m5f file not loading anymore

    Scheduled Pinned Locked Moved Bug Report
    5 Posts 3 Posters 9.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      nash68
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • world101W Offline
        world101
        last edited by world101

        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.

        1 Reply Last reply Reply Quote 0
        • world101W Offline
          world101
          last edited by world101

          @nash68 I fixed it. In the file, I just replaced screen_set_stickc_brightness with screen_set_brightness and now it works.

          Here you go:
          https://drive.google.com/file/d/1q_UiF1AxdNq2ee61XL0q9uee2aqpnBnM/view?usp=sharing

          ajb2k3A N 2 Replies Last reply Reply Quote 1
          • ajb2k3A Offline
            ajb2k3 @world101
            last edited by

            @world101 said in m5f file not loading anymore:

            @nash68 I fixed it. In the file, I just replaced screen_set_stickc_brightness with screen_set_brightness and now it works.

            Here you go:
            https://drive.google.com/file/d/1q_UiF1AxdNq2ee61XL0q9uee2aqpnBnM/view?usp=sharing

            Thanks @world101 that works.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • N Offline
              nash68 @world101
              last edited by

              @world101 wonderfull my friend ! You saved my work and ly nerfs lol. It works.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post