No file open to run
-
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! -
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?
-
@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
-
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!
-
@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.
-
@Bernal-R This issue has been solved in Pymakr v1.4.2, which was released today.
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