开源改变世界

自提交 33da2ad 后在 GUI 启动时崩溃 #1234

推推 grbl 2年前 (2023-02-02) 138次浏览
关闭
ted0xff 打开了这个问题 2019 年 6 月 1 日 · 2 条评论
关闭

自提交 33da2ad 后在 GUI 启动时崩溃#1234

ted0xff 打开了这个问题 2019 年 6 月 1 日 · 2 条评论

注释

自提交 33da2ad 后在 GUI 启动时崩溃 #1234

我使用的是2018 年 12 月 30 日的d6f90a4版本,没有问题。我尝试更新以获得最新功能,但 GUI 在启动时崩溃,版本为 f71b790

追溯:

$ ./bCNC.sh 
Launching bCNC from .
_GenericGRBL
Traceback (most recent call last):
  File "/home/teddy/dev/CNC/Appli/3_gcode_send/bCNC/bCNC-git/Sender.py", line 275, in controllerLoad
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Controller'
GRBL0
GRBL1
_GenericController
Traceback (most recent call last):
  File "/home/teddy/dev/CNC/Appli/3_gcode_send/bCNC/bCNC-git/Sender.py", line 275, in controllerLoad
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Controller'
SMOOTHIE
test supergen grbl
test supergen grbl
ctrlist
test supergen grbl
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/teddy/dev/CNC/Appli/3_gcode_send/bCNC/bCNC-git/bCNC/__main__.py", line 2678, in <module>
    main()
  File "/home/teddy/dev/CNC/Appli/3_gcode_send/bCNC/bCNC-git/bCNC/__main__.py", line 2646, in main
    application = Application(tk)
  File "/home/teddy/dev/CNC/Appli/3_gcode_send/bCNC/bCNC-git/bCNC/__main__.py", line 244, in __init__
    self.ribbon.addPage(self.pages[name],side)
KeyError: 'CAM'
bCNC-git $

我做了 bissect,这是 commit 33da2ad,与 CAM 相关,它引入了问题。

我想我需要安装一个模块/依赖项,但我不知道是哪个……

我还没有使用任何相机功能,而且我的电脑上也没有插入相机。

我恢复到dd4b603,在问题出现之前提交,我的 CNC 与这个配合得很好

自提交 33da2ad 后在 GUI 启动时崩溃 #1234 哈维 补充道 问题 标签 2019 年 6 月 1 日
自提交 33da2ad 后在 GUI 启动时崩溃 #1234
合作者
哈维 评论了 2019 年 6 月 1 日  

请阅读有关如何使用 pip 安装 bCNC 的文档,如果有帮助请告诉我们。

自提交 33da2ad 后在 GUI 启动时崩溃 #1234
作者

好的,我的错,从 pip2 重新安装而不是使用 git checkout 效果更好。

非常感谢您的反应和工作!