(Solved) - Error starting gmoccapy
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1942
- Thank you received: 780
04 Jul 2022 03:07 - 04 Jul 2022 03:11 #246557
by spumco
(Solved) - Error starting gmoccapy was created 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.
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.
- TOLP2
- Offline
- Elite Member
-
Less
More
- Posts: 225
- Thank you received: 178
06 Jul 2022 08:34 #246702
by TOLP2
Replied by TOLP2 on topic (Solved) - Error starting gmoccapy
Appears to have GtkSource not installed, cause unknown.
You might try to install the library, see
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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20192
- Thank you received: 6873
06 Jul 2022 09:01 #246703
by tommylight
Replied by tommylight on topic (Solved) - Error starting gmoccapy
Moved to "GmoccaPy" section.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1942
- Thank you received: 780
08 Jul 2022 01:22 #246850
by spumco
Replied by spumco on topic (Solved) - Error starting gmoccapy
Installing the library did the trick, thanks a ton.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.230 seconds