vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.56k stars 532 forks source link

'utf-8' codec can't decode byte 0xa9 in position 4: invalid start byte #1388

Open olablt opened 4 years ago

olablt commented 4 years ago

Flashed the firmware: https://github.com/bdring/Grbl_Esp32 Can connect over wifi and move the CNC on all the axies

Cloned the latest bCNC source, installed sudo pip3 install ., started python3 -m bCNC Error when connecting to ESP32 board over USB from bCNC

Port: /dev/ttyUSB1 Baud: 115200 Controller: GRBL1

'utf-8' codec can't decode byte 0xa9 in position 4: invalid start byte
GitHubCaps commented 4 years ago

Not enough information, the full traceback would help to figure out where the problem is.

olablt commented 4 years ago

this is all I see. any other way to get the traceback?

image

maduka-ariyasiri commented 2 years ago

Similarly, we had a problem.

image

After editing sender.py 775 line,

line = str(self.serial.readline().decode("ascii", "ignore")).strip()

image

problem solved