On Tuesday 28 March 2017 10:36:50 Todd Zuercher wrote: > This morning one of the machine operators ran an update on a machine > that had been working fine yesterday. The machine is an older Lucid > install with Linuxcnc 2.7.8. > It looks to me like the problem has something to do with the Gladevcp, > but it had been working before. Anyone know what the update might > have broken, or how to fix it? An older version of this config that > has a Pyvcp instead of aGladevcp starts and runs fine. > I have given up on glade, Todd. Even with John Thornton's excellent tutorial I have never succeeded in making anything work on these wheezy/jessie installs.
pyvcp OTOH Just Works once I had begun to understand how it works, with a bit of excellent help from Sarah A. gtk3 elided 90% of the widgit kit that gtk2 had that worked fairly well. Some fussing about that on the debian list seems to have been routed to /dev/null. When I just this past couple of weeks added independent jog dials to this lathe I am re-building, adding 2 labels and two variable tallies to the gui to report the jog step size variable was only about 20 minutes work once I had begun to understand pyvcp. This is a jessie install on a raspberry pi-3b, and the pi is loafing. I'd post a snapshot but I've not figured out how to snapshot the pi's own screen from an ssh login from here in the house. That said, apt keeps a history file, and from that one might be able of identify a suspect. > Here is what is spit out when trying to start from the command line: > linuxcnc > LINUXCNC - 2.7.8-70-g94e0c5c > Machine configuration directory is > '/home/digital4/linuxcnc/configs/Digital_4g' Machine configuration > file is 'Digital_4w.ini' > Starting LinuxCNC... > Found file(REL): ./Digital_4w.hal > Traceback (most recent call last): > File "/usr/bin/gladevcp", line 45, in <module> > import gladevcp.makepins > File "/usr/lib/pymodules/python2.6/gladevcp/__init__.py", line 5, in > <module> import os,sys,glob,importlib,subprocess > ImportError: No module named importlib > <commandline>:0: waitpid failed gladevcp gladevcp > <commandline>:0: gladevcp exited without becoming ready > Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp > -x 69206176 -u dig4.py dig4.glade" exited with error: 1 Shutting down > and cleaning up LinuxCNC... > task: 281 cycles, min=0.000035, max=0.022022, avg=0.009583, 0 latency > excursions (> 10x expected cycle time of 0.010000s) LinuxCNC > terminated with an error. You can find more information in the log: > /home/digital4/linuxcnc_debug.txt > and > /home/digital4/linuxcnc_print.txt > as well as in the output of the shell command 'dmesg' and in the > terminal digital4@digital4-cnc:~$ That smells like a python update might be something to look at. But I'm not a python expert, nor do I have a lucid install left alive. Sorry. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
