(Solved) - Error starting gmoccapy

More
04 Jul 2022 03:07 - 04 Jul 2022 03:11 #246557 by spumco
MX21, LCNC 2.9 RIP

Trying to start gmoccapy and I'm getting an error.  Only shows up in the terminal - no wrror windows.

Found file(REL): ./spindle_sim.hal
Found file(REL): ./simulated_home.hal
Traceback (most recent call last):
  File "/home/mill/linuxcnc-dev/bin/gmoccapy", line 43, in <module>
    import gladevcp.makepins   # needed for the dialog"s calculator widget
  File "/home/mill/linuxcnc-dev/lib/python/gladevcp/__init__.py", line 1, in <module>
    from .hal_pythonplugin import *
  File "/home/mill/linuxcnc-dev/lib/python/gladevcp/hal_pythonplugin.py", line 42, in <module>
    from .hal_sourceview import *
  File "/home/mill/linuxcnc-dev/lib/python/gladevcp/hal_sourceview.py", line 28, in <module>
    gi.require_version("GtkSource","3.0")
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkSource not available
Shutting down and cleaning up LinuxCNC...

axis, qtpyvcp screens, and qtvcp all start OK.

Some dependency thing?

EDIT - glade vcp demo also fails with the same error.
Last edit: 04 Jul 2022 03:11 by spumco. Reason: more testing

Please Log in or Create an account to join the conversation.

More
06 Jul 2022 08:34 #246702 by TOLP2
Appears to have GtkSource not installed, cause unknown. 

You might try to install the library, see
https://linux-packages.com/debian-10-buster/package/gir12-gtksource-30
The following user(s) said Thank You: spumco

Please Log in or Create an account to join the conversation.

More
06 Jul 2022 09:01 #246703 by tommylight
Moved to "GmoccaPy" section.
The following user(s) said Thank You: spumco

Please Log in or Create an account to join the conversation.

More
08 Jul 2022 01:22 #246850 by spumco
Installing the library did the trick, thanks a ton.

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.080 seconds
Powered by Kunena Forum