我通过 apt 安装 python-serial 和 pip2 安装 pserial。 las,软件连接到机器后(图标连接正常),发送的 gcode 无效,我进入了终端: Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/cedric/.local/lib/python2.7/site-packages/bCNC/Sender.py", line 875, in serialIO self.mcontrol.parseBracketAngle(line, cline) File "/home/cedric/.local/lib/python2.7/site-packages/bCNC/controllers/GRBL0.py", line 84, in parseBracketAngle self.master.log.put((Sender.MSG_RECEIVE, line)) NameError: global name 'Sender' is not defined
python2 -m bCNC
new-config Utils <ConfigParser.ConfigParser instance at 0x7f4624be3bd8>
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/tuxburner/.local/lib/python2.7/site-packages/bCNC/Sender.py", line 875, in serialIO
self.mcontrol.parseBracketAngle(line, cline)
File "/home/tuxburner/.local/lib/python2.7/site-packages/bCNC/controllers/GRBL0.py", line 84, in parseBracketAngle
self.master.log.put((Sender.MSG_RECEIVE, line))
NameError: global name 'Sender' is not defined
您好
,我尝试将 bCNC 与 grbl 和 ubuntu 18.04 全新安装一起使用。
我通过 apt 安装 python-serial 和 pip2 安装 pserial。
las,软件连接到机器后(图标连接正常),发送的 gcode 无效,我进入了终端:
Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/cedric/.local/lib/python2.7/site-packages/bCNC/Sender.py", line 875, in serialIO self.mcontrol.parseBracketAngle(line, cline) File "/home/cedric/.local/lib/python2.7/site-packages/bCNC/controllers/GRBL0.py", line 84, in parseBracketAngle self.master.log.put((Sender.MSG_RECEIVE, line)) NameError: global name 'Sender' is not defined请注意,我对这两个 grbl 协议都有相同的结果