Contact me: hankecnc@gmail.com

Python 3.9 #1776

推推 grbl 3年前 (2023-02-03) 285次浏览
打开
rennen11 开启了这个问题 2022 年 12 月 25 日 · 0 条评论
打开

Python 3.9#1776

rennen11 开启了这个问题 2022 年 12 月 25 日 · 0 条评论

评论

Python 3.9 #1776

我在 Windows 10 PC 上安装了带有 Python 3.9 的 bCNC。
但是我无法启动 bCNC。窗户只亮了一秒钟,我就收到了打字错误。

C:\Users\Administrator>py -m bCNC
new-config Utils <configparser.ConfigParser 对象位于 0x000001F914699D60>

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

self.canvas.winfo_id(): 133356
使用旧式 comports()!追溯
最近调用最后): 文件
“C:\ 文件“ Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC_ main .py”,第 2729 行,在 main()中

文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC_ main .py”,第 2696 行,在主
应用程序 = Application(tk )
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC_main.py 
,第 197 行,在初始
页 = cls( self.ribbon, self)
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\CNCRibbon.py”,第 115 行,在初始化
self.register()
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage.py”,第 392 行,在寄存器
self._register( (文件组,
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\CNCRibon.py”,第 134 行,在_register
w = f(self.master._pageFrame, self.app)
文件 “C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage .py”,第 254 行,在初始化
self.comportRefresh()中
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage.py”,第 342 行,在 comportRefresh
for i in self .comportsGet():
文件“C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\serial\tools\list_ports_windows.py”,第 256 行, 在comports
info.hwid = info.usb_info()
File “C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\serial\tools\ list_ports_common.py”, line 55, in usb_info
return ‘USB VID:PID={:04X}:{:04X}{}{}’.format(
TypeError:传递给 NoneType 的格式字符串不受支持。格式

C:\用户\管理员>

免费注册 在 GitHub 上加入此对话。已有帐户? 登录评论
标签
还没有
项目

还没有

发展

没有分支机构或拉取请求

1名参加者
Python 3.9 #1776

喜欢 (0)