sg-wireless / pymakr-vsc

GNU General Public License v3.0
97 stars 25 forks source link

error with your serialport module, Pymakr will likely not work properly #149

Closed PrimeTime416 closed 2 years ago

PrimeTime416 commented 2 years ago

Hello Pymakr stopped working for me, please note I tried it both under linux and Windows 10 (VM). If you open VSCode you will get a message saying:

There was an error with your serialport module, Pymakr will likely not work properly. Please try to install again or report an issue on our github (see developer console for details)

I have never had an issue with Pymakr until now, please help, thanks all.

tronto commented 2 years ago

I'm having the same issue. Running VS code 1.59.1 on mac 10.15.7

m21ecom commented 2 years ago

I have the same issue with Mac OS 11.5.2, VS Code 1.58.2 on a M1 Chip

anomaly256 commented 2 years ago

Same with vscode 1.59.1 and pymakr extension v1.1.12 on an amd64 debian 10 linux

swordfishBob commented 2 years ago

Me also, Win 10, VS Code.

PrimeTime416 commented 2 years ago

I am not sure if this is related to the vsCode trust verification? the code looked, looks like it use node.js serialport? I tested serial by it self and I can communicate to the ESP32:

const SerialPort = require('serialport');

const comX = '/dev/ttyUSB0';
const Readline = SerialPort.parsers.Readline;
const port = new SerialPort(comX, {baudRate: 115200});
const parser = new Readline();
port.pipe(parser);
parser.on('data', (dataX)=>{
    console.log(dataX);
});
port.write('\x03\n\r'); //<CTRL-C>

process.stdout.write('hello world');

process.stdin.on('data',(dataX)=>{
    dataX = dataX.toString().trim();
    port.write(`${dataX}\r\n`);
});
jakobrosenberg commented 2 years ago

Closing in favor of https://github.com/pycom/pymakr-vsc/issues/119