- Posts: 1947
- Thank you received: 338
Another plasma component...
- bevins
- Offline
- Platinum Member
-
Less
More
7 years 4 months ago - 7 years 4 months ago #136378
by bevins
Replied by bevins on topic Another plasma component...
You need to install glade? IT complains of no glade.
Also it pulled 2.9. this normal?
Also it pulled 2.9. this normal?
Code:
Machine configuration file is 'imperial_plasmac.ini'
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found /home/denis/linuxcnc-plasmac/lib/hallib/basic_sim.tcl
twopass:found ./plasmac.hal
setup_kins: cmd=loadrt trivkins coordinates=xyyz
twopass:pass0: loadusr -W hal_manualtoolchange
Note: Using POSIX realtime
setup_kins: cmd=loadrt trivkins coordinates=xyyz
APP: ./test/plasmac_test.py found: </home/denis/linuxcnc-plasmac/configs/by_machine/plasmac/gmoccapy/./test/plasmac_test.py>
Traceback (most recent call last):
File "/home/denis/linuxcnc-plasmac/bin/gmoccapy", line 36, in <module>
import gladevcp.makepins # needed for the dialog"s calculator widget
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/__init__.py", line 1, in <module>
from hal_pythonplugin import *
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/hal_pythonplugin.py", line 20, in <module>
from led import HAL_LED
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/led.py", line 6, in <module>
import gtk.glade
ImportError: No module named glade
Shutting down and cleaning up LinuxCNC...
task: 13 cycles, min=0.000009, max=0.010076, avg=0.007050, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/denis/linuxcnc_debug.txt
and
/home/denis/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
denis@plasma01:~/linuxcnc-plasmac/src$ Traceback (most recent call last):
File "/home/denis/linuxcnc-plasmac/configs/by_machine/plasmac/gmoccapy/./test/plasmac_test.py", line 28, in <module>
import gladevcp.makepins
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/__init__.py", line 1, in <module>
from hal_pythonplugin import *
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/hal_pythonplugin.py", line 20, in <module>
from led import HAL_LED
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/led.py", line 6, in <module>
import gtk.glade
ImportError: No module named glade
Last edit: 7 years 4 months ago by bevins.
Please Log in or Create an account to join the conversation.
- AgentWD40
- Offline
- Platinum Member
-
Less
More
- Posts: 339
- Thank you received: 96
7 years 4 months ago #136380
by AgentWD40
Replied by AgentWD40 on topic Another plasma component...
I think we've worked it out. The issue was in the way the configurator was creating shortcuts to the config files. If it wasn't executed correctly it would create shortcuts that didn't point to the right place and understandably confuse LinuxCNC.bevins wrote: You need to install glade? IT complains of no glade.
Yup! As of a few days ago were working on 2.9 instead of 2.8.Also it pulled 2.9. this normal?
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
-
Less
More
- Posts: 1947
- Thank you received: 338
7 years 4 months ago - 7 years 4 months ago #136381
by bevins
Still no go. Glade installed and I can start it fine.
Replied by bevins on topic Another plasma component...
AgentWD40 wrote:
I think we've worked it out. The issue was in the way the configurator was creating shortcuts to the config files. If it wasn't executed correctly it would create shortcuts that didn't point to the right place and understandably confuse LinuxCNC.bevins wrote: You need to install glade? IT complains of no glade.
Yup! As of a few days ago were working on 2.9 instead of 2.8.Also it pulled 2.9. this normal?
Still no go. Glade installed and I can start it fine.
Code:
Machine configuration file is 'imperial_plasmac.ini'
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found /home/denis/linuxcnc-plasmac/lib/hallib/basic_sim.tcl
twopass:found ./plasmac.hal
setup_kins: cmd=loadrt trivkins coordinates=xyyz
twopass:pass0: loadusr -W hal_manualtoolchange
Note: Using POSIX realtime
setup_kins: cmd=loadrt trivkins coordinates=xyyz
APP: ./test/plasmac_test.py found: </home/denis/linuxcnc-plasmac/configs/by_machine/plasmac/gmoccapy/./test/plasmac_test.py>
Traceback (most recent call last):
File "/home/denis/linuxcnc-plasmac/bin/gmoccapy", line 36, in <module>
import gladevcp.makepins # needed for the dialog"s calculator widget
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/__init__.py", line 1, in <module>
from hal_pythonplugin import *
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/hal_pythonplugin.py", line 20, in <module>
from led import HAL_LED
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/led.py", line 6, in <module>
import gtk.glade
ImportError: No module named glade
Shutting down and cleaning up LinuxCNC...
task: 12 cycles, min=0.000010, max=0.010071, avg=0.007441, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/denis/linuxcnc_debug.txt
and
/home/denis/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
denis@plasma01:~/linuxcnc-plasmac/src$ Traceback (most recent call last):
File "/home/denis/linuxcnc-plasmac/configs/by_machine/plasmac/gmoccapy/./test/plasmac_test.py", line 28, in <module>
import gladevcp.makepins
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/__init__.py", line 1, in <module>
from hal_pythonplugin import *
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/hal_pythonplugin.py", line 20, in <module>
from led import HAL_LED
File "/home/denis/linuxcnc-plasmac/lib/python/gladevcp/led.py", line 6, in <module>
import gtk.glade
ImportError: No module named glade
denis@plasma01:~/linuxcnc-plasmac/src$
Last edit: 7 years 4 months ago by bevins.
Please Log in or Create an account to join the conversation.
- AgentWD40
- Offline
- Platinum Member
-
Less
More
- Posts: 339
- Thank you received: 96
7 years 4 months ago - 7 years 4 months ago #136383
by AgentWD40
Oh, sorry. Disregard my previous reply. I thought you were replying to yesterday's issue. For some reason when I was looking at your post on mobile it didn't show your code block.
[edit]
It looks like it's complaining that the gtk.glade module for python is missing.
Maybe try
to install it ?
Replied by AgentWD40 on topic Another plasma component...
bevins wrote: Still no go. Glade installed and I can start it fine.
Oh, sorry. Disregard my previous reply. I thought you were replying to yesterday's issue. For some reason when I was looking at your post on mobile it didn't show your code block.
[edit]
It looks like it's complaining that the gtk.glade module for python is missing.
Maybe try
Code:
sudo apt-get install python-gtk2 python-glade2
Last edit: 7 years 4 months ago by AgentWD40.
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
-
Less
More
- Posts: 1947
- Thank you received: 338
7 years 4 months ago #136385
by bevins
Already installed
Replied by bevins on topic Another plasma component...
AgentWD40 wrote:
bevins wrote: Still no go. Glade installed and I can start it fine.
Oh, sorry. Disregard my previous reply. I thought you were replying to yesterday's issue. For some reason when I was looking at your post on mobile it didn't show your code block.
[edit]
It looks like it's complaining that the gtk.glade module for python is missing.
Maybe tryto install it ?Code:sudo apt-get install python-gtk2 python-glade2
Already installed
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
7 years 4 months ago #136421
by phillc54
Replied by phillc54 on topic Another plasma component...
Sorry but I'm not sure what is missing, you may be better off starting a thread for that
here
Cheers, Phill,
Cheers, Phill,
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.290 seconds