Contact me: hankecnc@gmail.com

Python 3 问题 #1362

推推 grbl 3年前 (2023-02-02) 255次浏览
关闭
levelentelist 打开了这个问题 2020 年 2 月 24 日 · 11 条评论
关闭

Python 3 问题#1362

levelentelist 打开了这个问题 2020 年 2 月 24 日 · 11 条评论

评论

Python 3 问题 #1362

亲爱的维护者,

我用 Python 3 尝试了 bCNC,我得到了这个:

python3 -m bCNC
new-config Utils <configparser.ConfigParser object at 0x7f6b38a38748>
使用后备 Utils.comports()!

警告:bCNC 最近被移植以支持 python v2.x 和 v3.x
大多数事情似乎在两个 python 版本中都运行良好。
请将任何问题报告给:https ://github.com/vlachoudis/bCNC/issues

self.canvas.winfo_id(): 98566234
Traceback (最近调用 last):
文件“/usr/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
” main “, mod_spec)
File “/usr/lib /python3.7/runpy.py”,第 85 行,在 _run_code
exec(code, run_globals)
文件“/home/lev/github/bCNC/bCNC/ main .py”,第 2716 行,在
main()
文件“/home /lev/github/bCNC/bCNC/ main .py”, line 2684, in main
application = Application(tk)
File “/home/lev/github/bCNC/bCNC/ main .py”, line 197, in init
page = cls(self.ribbon, self)
文件“/home/lev/github/bCNC/bCNC/CNCRibbon.py”,第 115 行,在初始化中
self.register()
文件“/home/lev/github/bCNC/bCNC/FilePage.py”,第 395 行,在寄存器中
(SerialFrame,))
文件“/home/lev/github/bCNC/bCNC/CNCRibbon.py” ,第 134 行,在 _register
w = f(self.master._pageFrame, self.app)
文件“/home/lev/github/bCNC/bCNC/FilePage.py”,第 253 行,在init
self.comportRefresh()
文件“ /home/lev/github/bCNC/bCNC/FilePage.py”, line 347, in comportRefresh
for hw in i[2].split(‘ ‘):
AttributeError: ‘NoneType’ object has no attribute ‘split’

有什么线索吗?

Python 3 问题 #1362
作者

问题是未安装 python3-serial。对不起噪音。