开源改变世界

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682

推推 grbl 3年前 (2023-01-29) 204次浏览
关闭
1个任务
Hortensie 打开了这个问题 2020 年 2 月 13 日 · 5 条评论
关闭
1个任务

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent:#682

Hortensie 打开了这个问题 2020 年 2 月 13 日 · 5 条评论

注释

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682

以下是我重现该问题所遵循的步骤:

1.将调试级别设置为 3,使用 modbus 加载经典梯形图
2. 从命令行运行 linucnc

这是我期望发生的事情:

调试日志中没有严重错误

这是发生了什么:

LINUXCNC – 2.9.0-pre0-774-ge67a63cb7
机器配置目录是 ‘/home/devil/linuxcnc/configs/AXIS_X_MODBUS’
机器配置文件是 ‘AXIS_X_MODBUS.ini’ 正在
启动 LinuxCNC…
找到文件(REL):./AXIS_X_MODBUS .hal
注意:使用 POSIX 实时
hm2:加载 Mesa HostMot2 驱动程序版本 0.15
hm2_pci:加载 Mesa AnyIO HostMot2 驱动程序版本 0.7
hm2_pci:在 0000:08:00.0
hm2/hm2_5i25.0 发现 5i25:智能串行固件版本 43
板 hm2_5i25.0.7i76 .0.0 硬件模式 0 = 标准
板 hm2_5i25.0.7i76.0.0 软件模式 0 = io_spin
板 hm2_5i25.0.7i76.0.0 软件模式 1 = io_ana_spin
板 hm2_5i25.0.7i76.0.0 软件模式 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0:使用的 34 个 I/O 引脚:
hm2/hm2_5i25.0:IO 引脚 000 (P3-01):StepGen #0,引脚方向(输出)
hm2/hm2_5i25.0:IO 引脚 001 (P3-14 ): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1 , pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1,引脚步进(输出)
hm2/hm2_5i25.0:IO 引脚 004(P3-03):StepGen #2,引脚方向(输出)
hm2/hm2_5i25.0:IO 引脚 005(P3-16):StepGen # 2 , pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3 , pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4 , pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4 , pin步骤(输出)
hm2/hm2_5i25.0:IO 引脚 010 (P3-07):智能串行接口 #0,引脚 TxData0(输出)
hm2/hm2_5i25.0:IO 引脚 011 (P3-08):智能串行接口 #0 , pin RxData0 (Input)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3- 11): 编码器 #0,引脚索引(输入)
hm2/hm2_5i25.0:IO 引脚 015 (P3-12):编码器 #0,引脚 B(输入)
hm2/hm2_5i25.0:IO 引脚 016 (P3-13) :编码器 #0,引脚 A(输入)
hm2/hm2_5i25.0:IO 引脚 017 (P2-01):智能串行接口#1,引脚 RxData0(输入)
hm2/hm2_5i25.0:IO 引脚 018 (P2-14):智能串行接口#1,引脚 RxData1(输入)
hm2/hm2_5i25.0:IO 引脚 019 (P2-02):智能串行接口#1,引脚 RxData2(输入)
hm2/hm2_5i25.0:IO 引脚 020 (P2-15):智能串行接口#1,引脚RxData3(输入)
hm2/hm2_5i25.0:IO 引脚 021 (P2-03):智能串行接口#1,引脚 TxData0(输出)
hm2/hm2_5i25.0:IO 引脚 022 (P2-16):智能串行接口#1 , 引脚 TxData1(输出)
hm2/hm2_5i25.0:IO 引脚 023 (P2-04):智能串行接口#1, 引脚 TxData2(输出)
hm2/hm2_5i25.0:IO 引脚 024 (P2-17):智能串行接口#1引脚 TxData3(输出)
hm2/hm2_5i25.0:IO 引脚 025 (P2-05):智能串行接口#1,引脚 RxData4(输入)
hm2/hm2_5i25.0:IO 引脚 026(P2-06):智能串行接口#1,引脚 RxData5(输入)
hm2/hm2_5i25.0:IO 引脚 027(P2-07):智能串行接口#1,引脚 RxData6(输入)
hm2/hm2_5i25.0:IO 引脚 028 (P2-08):智能串行接口#1,引脚 RxData7(输入)
hm2/hm2_5i25.0:IO 引脚 029 (P2-09) :智能串行接口#1,引脚 TxData4(输出)
hm2/hm2_5i25.0:IO 引脚 030 (P2-10):智能串行接口#1,引脚 TxData5(输出)
hm2/hm2_5i25.0:IO 引脚 031 (P2-11):智能串行接口#1,引脚 TxData6(输出)
hm2/hm2_5i25.0:IO 引脚 032 (P2-12):智能串行接口#1,引脚 TxData7(输出)
hm2/hm2_5i25.0:IO 引脚 033 (P2-13):智能串行接口#1,引脚TxEn7(输出)
hm2/hm2_5i25.0:已注册
hm2_5i25.0:在 0000:08:00.0 初始化 AnyIO 板
创建梯形状态
找到文件(REL):./custom.hal
INFO CLASSICLADDER—I/O modbus master closed !
INFO CLASSICLADDER—I/O modbus master 数据位 8 停止位 1 奇偶校验 0
INFO CLASSICLADDER—I/O modbus 主机(串行)初始化正常!
emcTrajSetJoints(3) returned 0
emcTrajSetSpindles(1) returned 0
emcTrajSetAxes(3, 7)
emcTrajSetUnits(1.0000, 1.0000)
emcTrajSetVelocity(0.0000, 2.5000) returned 0
emcTrajSetMaxVelocity(25.0000) returned 0
emcTrajSetAcceleration(999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.0000) returned 0
emcTrajSetMaxAcceleration(999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.0000)
emcTrajSetHome( 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000) 返回 0
emcJointSetType(0, 1)
emcJointSetUnits(0, 1.0000)
返回0
emcjointSetMinpositionLimit(0,-0.0100)返回0
emcJointSetMaxPositionLimit( 0,200.0000)返回0 emcJointSetSetFerror(0,10.0000)返回0
emcjointStemspositionLimit( 0,10.0000)返回0 emcjointSetsetsetsetsetsetsetsetsetsetMinferror(0 0.0000

0.000000000000000000000000000000000000000 000 0000.000000000000000000000000000 0000, 1.0000, 0.0000, 0.0000, 0, 0, 0, 999, 0) 返回 0
emcJointSetMaxVelocity(0, 3.3333) 返回 0
emcJointSetMaxAcceleration(0, 300.0000) 返回 0
emcJointActivate(0) 返回 0
emcJointSetType(1, 1)
emc1 ,Units(Joint) 1.0000)
emcJointSetBacklash(1, 0.0000) 返回 0
emcJointSetMinPositionLimit(1, -0.0100) 返回 0
emcJointSetMaxPositionLimit(1, 200.0000) 返回 0
emcJointSetFerror(1, 10.0000) 返回 0
emcJointSetMinFerror(1, 1.0000) 返回 0
emcJointSetHomingParams(1, 0.0000, 0.0000, -1.0000, 0.0000, 0.0000, 0, 0, 0, 999, 0) 返回 0, 0, 0, 999, 0) 返回
01 emcJointity5( 0, 0,0) 返回 0 0返回0 emcjointSetMaxCelation(1,750.0000
)0
emcjointActivate(1)返回0
emcJointSetType(2,1) emcjointSetunits
(2,1.0000)
emcjointSetBacklash(
2,2.0000
返回 0
emcJointSetFerror(2, 10.0000) 返回 0
emcJointSetMinFerror(2, 1.0000) 返回 0
emchointsethomingparams(2,0.0000,0.0000
,-1.0000,0.0000,0.0000,0.0000,0,0,0,0,0,999,0)返回0
emcJointSetSetMaxVelocity(2,25.0000)返回0 emcJointSetsetMaxAcceloration( 2,750.0000)返回0 emcax llim返回0
EMCAXIS(
2,750.0000 ) (0, -0.0100) 返回 0
emcAxisSetMaxPositionLimit(0, 200.0000) 返回 0
emcAxisSetMaxVelocity(0, 3.3333) 返回 0
emcAxisSetMaxAcceleration(0, 300.0000) 返回 0
emcAxisSetLockingJoint(0, -1) 返回 0
emcAxisLimitMin1.0 -0 返回
emcAxisSetMaxPositionLimit(1, 200.0000) 返回 0
emcAxisSetMaxVelocity(1, 25.0000) 返回 0
emcAxisSetMaxAcceleration(1, 750.0000) 返回 0
emcAxisSetLockingJoint(1, -1) 返回 0
emcAxisSetMinPositionLimit(2, -100.0000) 返回 0
emcAxisSetMaxPositionLimit(2, 0.0100) 返回 0
emcAxisSetMaxVelocity(2, 25.0000) 返回 0
emcAxisSetMaxAcceleration(2,
750.00.00cJ) 返回0
INFO CLASSICLADDER-要发送的 Modbus I/O 模块:Lgt=8 <- 从站地址-2 功能代码-6 Data-0 1 0 0 D8 39
INFO CLASSICLADDER-我们应该接收的 MODBUS 长度 =5 (+3)
串行配置。 ..
连载…
写完了!
选择()用于串行读取…
**(classicladder:4229):Gtk-CRITICAL :IA__gtk_widget_get_parent:断言’GTK_IS_WIDGET(小部件)’失败
注意:MAXV 最大值:25.000 单位/秒 1500.000 单位/分钟
注意:LJOG 最大值:25.000 单位/秒 1500.000 单位/分钟
注意:LJOG 默认值:6.000 单位/秒 360.000 单位/分钟
注意:jog_order=’XYZ’
注意:jog_invert= set([])
ERROR CLASSICLADDER- MODBUS NO RESPONSE (Errs=1/1) !?
INFO CLASSICLADDER- 收到 Modbus I/O 模块:Lgt=0 ->
ERROR CLASSICLADDER- MODBUS-LOW LEVEL ERROR IN RESPONSE!!!
串行冲洗所有!

有关我的硬件和软件的信息:

  • 我正在使用这个 Linux 发行版和版本(通常显示为lsb_release -a):
    发行商 ID:Debian
    描述:Debian GNU/Linux 9.11(stretch)
    版本:9.11
    代号:stretch

  • 我正在使用这个内核版本(显示为uname -a):
    Linux Hortes 4.9.0-11-rt-amd64使用 Tcl_SetResult 和 Tcl_GetStringResult  #1 SMP PREEMPT RT Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux

  • 我在跑步 …

    • 来自 linuxcnc.org 的二进制版本(包括 buildbot.linuxcnc.org)
  • 我正在使用这个 LinuxCNC 版本(显示在包管理器中,或者对于 git 版本,scripts/get-version-from-git):LINUXCNC – 2.9.0-pre0-774-ge67a63cb7

  • 我正在使用此用户界面 (GUI)(例如 AXIS、Touchy、gmoccapy 等):AXIS

  • 我正在使用此接口硬件供应商和芯片组(例如,并行端口、以太网端口、FPGA 卡): FPGA Mesa 5i25 + 7i76

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682
合作者

这是 classicladder 的实际问题还是只是听起来很可怕的错误消息?

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682
作者

至少在我的例子中,经典梯形图无法建立 modbus 通信。我想知道这是否是根本原因。

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682
合作者

很确定不是,因为我看到 modbus 错误消息仍在抱怨。

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682
作者

对,我解决了 modbus 问题。如果您认为可以忽略调试日志中的严重警告,我们可以关闭此问题。

Classicladder:4229:Gtk-CRITICAL **:IA__gtk_widget_get_parent: #682
合作者

好的,感谢您的更新。