Contact me: hankecnc@gmail.com

QTVCP 弃用警告 #979

推推 grbl 3年前 (2023-01-30) 257次浏览
关闭
1个任务
satiowadahc 打开了这个问题 2020 年 11 月 17 日 · 2 条评论
关闭
1个任务

QTVCP 弃用警告#979

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

注释

QTVCP 弃用警告 #979
贡献者

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

  1. 使用我们自己的自定义 UI,基于 qtvcp 和一些 pyqtvcp
  2. 运行 CI 测试,测试我们 90% 的功能
  3. 目前关闭了 limuxcmc 的 Rene-Devs 分支…将暂时关闭 master 再试一次

这是我期望发生的事情:

../../../../usr/lib/python3/dist-packages/qtvcp/core.py:118
  /usr/lib/python3/dist-packages/qtvcp/core.py:118: PyGIDeprecationWarning: GObject.SIGNAL_RUN_FIRST is deprecated; use GObject.SignalFlags.RUN_FIRST instead
    'toolfile-stale': (GObject.SIGNAL_RUN_FIRST, GObject.TYPE_NONE, (GObject.TYPE_PYOBJECT,)),

../../../../usr/lib/python3/dist-packages/qtvcp/core.py:142
  /usr/lib/python3/dist-packages/qtvcp/core.py:142: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
    GObject.threads_init()

../../../../usr/lib/python3/dist-packages/qtvcp/core.py:143
  /usr/lib/python3/dist-packages/qtvcp/core.py:143: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead
    GObject.timeout_add(100, self.update)

/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py:191: DeprecationWarning: This method will be removed in a future version of Python. Use 'locale.format_string()' instead.
    self.tabledata[row][column] = locale.format(tmpl, i[column])

/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py:187: DeprecationWarning: This method will be removed in a future version of Python. Use 'locale.format_string()' instead.
    self.tabledata[row][column] = locale.format(degree_tmpl, rot)

 /usr/lib/python3/dist-packages/qtvcp/qt_action.py:209: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    self.cmd.program_open(str(fname))

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

  • 我正在使用这个 Linux 发行版和版本(通常显示为lsb_release -a):
    Ubuntu 20.04,可在 Linux Mint 和 Lubuntu 上复制

  • 我正在使用此内核版本(显示为uname -a):
    Linux CHAD-I7-LINUX 5.4.61-rt37使用 Tcl_SetResult 和 Tcl_GetStringResult  #1 SMP PREEMPT_RT Wed Sep 2 11:08:45 CST 2020 x86_64 x86_64 x86_64 GNU/Linux

  • 我在跑步 …

    • 我自己从 rene-dev/limuxcmc 构建的二进制文件
  • 我正在使用这个 LinuxCNC 版本:2.9.0

  • 我正在使用此用户界面 (GUI):Custom QTVCP

  • 我正在使用这个接口硬件供应商和芯片组:Sim machine

QTVCP 弃用警告 #979
贡献者作者

我已经拉进了主人,它似乎已经清理了这些。我今天可能会花一些时间来进行文档和代码测试

QTVCP 弃用警告 #979
贡献者作者

这是由#1195关闭的