Lathe Macros
is there anymore info I can provide? error log:
Please Log in or Create an account to join the conversation.
I think there is a problem queueing up to confound you later, that the G-code relies on reading HAL pins directly and, that is a feature only available in Master. (which reports itself as 2.6, but isn't)
It is possible to install Master from the buildbot, it might even solve the current problem. (I have been using it for many months with no issues)
Please Log in or Create an account to join the conversation.
I just wanted to give it a try it looks really neat. Your old lathe macros work fine for me, the only annoying thing is keying in the values in the spinboxes.
Please Log in or Create an account to join the conversation.
You can make the spinbox a bit friendlier by swapping pyvcp_widgets.py on your system with this file here:
www.bodgesoc.org/lathe/pyvcp_widgets.py
That allows you to press "enter" to confirm a value, rather than toggling up-down on the arrows.
(I am not entirely sure where the file lives, and I am not on a LinuxCNC system at the moment. Probably /usr/bin )
Please Log in or Create an account to join the conversation.
1st, I couldn't find this: "To use these packages on your computer, put one of these stanzas in your /etc/apt/sources.list.d/linuxcnc-buildbot.list:" so instead I opened System>administration>software sources and put the two (lucid master-rt) lines in the other software tab (and unchecked the version 2.5). After that I did this:
root@strykernc:/home/strykernc# sudo apt-get update
--a couple of pages of addresses here--
Reading package lists... Done
root@strykernc:/home/strykernc# sudo apt-get install linuxcnc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linuxcnc: Depends: libmodbus5 but it is not installable
Recommends: hostmot2-firmware but it is not installable
E: Broken packages
root@strykernc:/home/strykernc#
I hope that this isn't too much off-topic
Please Log in or Create an account to join the conversation.
If the file doesn't exist then you have to create it. But...1st, I couldn't find this: "To use these packages on your computer, put one of these stanzas in your /etc/apt/sources.list.d/linuxcnc-buildbot.list:"
This achieves much the same thing. Either way out to work.so instead I opened System>administration>software sources and put the two (lucid master-rt) lines in the other software tab (and unchecked the version 2.5).
Ignore the following stuff, the stupid reply editor box greys-out if I delete a line-end character.
The following packages have unmet dependencies:
linuxcnc: Depends: libmodbus5 but it is not installable
Recommends: hostmot2-firmware but it is not installable
I think that the first thing can be avoided with sudo apt-get install libmodbus.
However, LinuxCNC ought to run without either of those packages.
Does linuxCNC run? What version does the splash-screen say it is?
Please Log in or Create an account to join the conversation.
[quote=
The following packages have unmet dependencies:
linuxcnc: Depends: libmodbus5 but it is not installable
Recommends: hostmot2-firmware but it is not installable
I think that the first thing can be avoided with sudo apt-get install libmodbus.
However, LinuxCNC ought to run without either of those packages.
Does linuxCNC run? What version does the splash-screen say it is?
libmodbus5 is required unless you change the configure options before build, hostmot2 is not
From configure --help
--with-libmodbus Specify whether or not to build the drivers that use libmodbus (defaults to "yes")
Try fetching libmodbus-dev,
I seem to remember that under Ubuntu 10.04 the package provides libmodbus5, just trying to install the lib does not work
They exist as separate packages under Debian
regards
Please Log in or Create an account to join the conversation.
I will try sudo apt-get install libmodbus and get back
ArcEye: Try fetching libmodbus-dev << this is Chinese to me
Please Log in or Create an account to join the conversation.
I will try sudo apt-get install libmodbus and get back
ArcEye: Try fetching libmodbus-dev << this is Chinese to me
Just try sudo apt-get install libmodbus-dev if just fetching libmodbus does not work
I remember I had problems with it under Ubuntu some while back , when it started to become a requirement for building the master.
Trying to fetch libmodbus5 did not work and I wanted the headers anyway, my notes seem to show that I switched to libmodbus-dev (which probably has libmodbus as a requirement so fetches it anyway)
regards
Please Log in or Create an account to join the conversation.
goto System>administration>software sources and re-tick the 2.5 version and untick the dev version.
do sudo apt-get update and sudo apt-get install libmodbus5 (I think libmodbus didn't work)
then change back the software sources to the dev and installed as per buildbot instructions.
it works, but when I added Andy's config I get an error (which I can understand I think) and I think I am missing the postgui hal file couldn't find it in the zip file
** (gladevcp:4014): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
custom_postgui.hal:9: Pin 'pyvcp.stop' does not exist
/usr/bin/gladevcp:292: GtkWarning: GdkWindow 0x3e00003 unexpectedly destroyed
gtk.main()
**** GLADE VCP ERROR: X Protocol Error: 3
*edit*
oh I actually have a pyvcp.stop linked to halui.program.stop in my custom_postgui.hal :/
Please Log in or Create an account to join the conversation.