Closed prawnhead closed 4 years ago
Workaround: Stop running code on the device using Ctrl-C
Hi @prawnhead, could you update pymakr to 1.4.0
and try it again? Thanks!
Sorry for the delay. Been on holidays :P. I have updated to Atom 1.28.2 (x64) with Pymakr 1.4.1. Behaviour is exactly as reported under Steps to Reproduce in my original post. Let me know if I can provide more info. Thanks, Chris.
Just checking back in. Atom 1.28.2 and Pymakr 1.4.1 are still current and the issue is not yet resolved as far as I can test.
Hi @prawnhead, I tried reproducing your issue, however I couldn't reach point 4 (although I'm using macOS). I believe when you run the code, the first press runs it, second press stops it. The REPL console always returned after the second press for me.
As for the disappearing buttons, have you tried closing the pymakr plugin a few times (with the arrow on the right hand side)? Sometimes that works for me.
@prawnhead has this issue been solved in the meantime? Or is it still active?
I get very similar problems running my code reading from both the PyTrack and the expansion board 3.0. Using the "Packages/Pymakr/Toggle Pycom Console" to close and re-open the console window seems to restore the lost options of Upload, Download and Run. However, using Ctrl-C to stop running code doesn't always work. I'm using Atom 1.28.2, not sure about the Pymakr version - how do I check?
I found Packages/Pymakr/Run the current file restores Upload/Download/Run buttons that often vanish after a reconnect. Heaps quicker than quitting/reloading the package.
Hi, I have the same problem, when I try to run or upload I receive the message: failed to connect. click here to try again.
I'm using a Wipy card with a pysense expansion card and I'm running Windows 7 pro, I've assigned the card to the COM8 port and upgraded the firmware. Atom sometimes detects pycom but when I want to upload it tells me: Error: Writing to COM port (GetOverlappedResult): Operation aborted)
Versions: Atom: 1.37.0 x64 Pymakr: 1.4.13 And I tried with Pymakr: 1.0.1, always the same problem.
Moreover, if I run, then upload a cancel button appears but I can't click on it and connect, upload and download buttons disappear. I need help to solve that please.
Fixed on Pymakr 2.0
Issue: When stopping running code on a device using the Run button, communications to the device are lost. This is not intermittent, it occurs every time the Run button is used to stop running code.
Steps to reproduce:
Versions:
Code to reproduce (any code will show fault)