Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    No file open to run

    Scheduled Pinned Locked Moved SiPy
    sigfox
    6 Posts 4 Posters 1.4k Views 4 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.
    • B Offline
      Bernal-R
      last edited by

      Hi guys, i have this error. I'm using atom to run code.
      I already uninstalled pymakr plugin, cleaned Atom cache and installed again but i have the error yet.
      Thanks!

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralph
        last edited by

        Hey @Bernal-R, this feature should work, as long as you actually opened a .py file that you want to run. I have seen a glitch a long time ago where it wouldn't run, but that was solved by switching to a different file and than back to the one you want to run. Is that what's happening in your case?

        1 Reply Last reply Reply Quote 0
        • R Offline
          RWall
          last edited by

          @ralph - I just encountered this issue too. As you suggest, switching to a "different file" instead of the one we "want to run" works. However, this is a work-around instead of a solution to the issue. Is anything more known about this behavior? Thanks, Roger

          1 Reply Last reply Reply Quote 0
          • danD Offline
            dan
            last edited by

            Hi @Bernal-R and @RWall,

            For me, this only happens when you click on a file once and you haven't changed anything. This is because Atom opens the file as a "preview", so you can switch between files quickly without opening each one of them in a new tab. If you double-click on the file, it'll open it properly. You can also see whether a file is open or just previewed in the Title Bar, if the filename is in italics, it's just preview, otherwise open.

            Let me know if this helps!

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Ralph @dan
              last edited by

              @dan I didn't realise this till now, but you're right. Clicking a file once makes it a 'preview', which is not detected as an open file by Pymakr. So for now, double clicking the file is the workaround. I'll try to find a way to add support for running 'preview' files.

              1 Reply Last reply Reply Quote 0
              • R Offline
                Ralph
                last edited by

                @Bernal-R This issue has been solved in Pymakr v1.4.2, which was released today.

                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
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom