- Posts: 112
- Thank you received: 0
LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
5 years 8 months ago #199173
by gaston48
Hello
I have a 2.7.15 configuration with Mesa and concerning a Mikron milling retrofit. It works wellI
I try an update to 2.8.1, but my application does not start ?
A simple step / dir configuration test starts well
My setup has a lot of personal components. They installed correctly, except for a userspace component:
halcompile ignore the singleton statement?
Thank you for your advice
I have a 2.7.15 configuration with Mesa and concerning a Mikron milling retrofit. It works wellI
I try an update to 2.8.1, but my application does not start ?
A simple step / dir configuration test starts well
My setup has a lot of personal components. They installed correctly, except for a userspace component:
halcompile ignore the singleton statement?
Thank you for your advice
Attachment not found
Please Log in to join the conversation.
5 years 8 months ago #199176
by chris@cnc
Replied by chris@cnc on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
In your debug Information
Seems you should update Python or some in this area to
Code:
Error constructing led({'halpin': 'b3ar-led', 'on_color': 'green', 'off_color': 'black', 'size': 10}):
Cannot allocate memory
Please Log in to join the conversation.
5 years 8 months ago #199183
by gaston48
Replied by gaston48 on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
Thank you for your answer
I didn't do any development in Python.
the error points to a pin in my file
mikron_postguy.hal
I have a trivial configuration
with mikron.xml and mikron_postgui.hal
I didn't do any development in Python.
the error points to a pin in my file
mikron_postguy.hal
I have a trivial configuration
with mikron.xml and mikron_postgui.hal
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
5 years 8 months ago #199197
by tommylight
Replied by tommylight on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
Most probably something wrong with constructing the 'pyvcp.b3ar-led' in the xml, dimensions might be off or have a character instead of a number.
Please Log in to join the conversation.
5 years 8 months ago #199214
by joekline9
Replied by joekline9 on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
2.8 has a bug when it comes to userspace singleton comps.
I had to remove the 'singleton yes' line from the userspace comp file. Then add .0 after each reference to pins etc. in my hal files.
I had to remove the 'singleton yes' line from the userspace comp file. Then add .0 after each reference to pins etc. in my hal files.
Please Log in to join the conversation.
5 years 8 months ago #199225
by gaston48
Replied by gaston48 on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
thank you,
I think my Pyvcp syntax is good, it works fine on 2.7.15.
under 2.8.1, if I modify my config options a little, the error points to other pins
I think my Pyvcp syntax is good, it works fine on 2.7.15.
under 2.8.1, if I modify my config options a little, the error points to other pins
Attachment not found
Please Log in to join the conversation.
5 years 8 months ago #199227
by gaston48
Replied by gaston48 on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
Thank you,
yes there is a bug, I had to do the same
the other solution is to preprocess file.comp to file.c with halcompile from 2.7
and then install file.c with halcompile fron 2.8.1
yes there is a bug, I had to do the same
the other solution is to preprocess file.comp to file.c with halcompile from 2.7
and then install file.c with halcompile fron 2.8.1
Please Log in to join the conversation.
5 years 8 months ago #199340
by gaston48
Replied by gaston48 on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
Obviously 2.8.1 under axis limits the size of the xml file linked to PyVCP ?
the syntax of my xml is good it is big and has 3 tabs
the syntax of my xml is good it is big and has 3 tabs
Attachment not found
Please Log in to join the conversation.
5 years 8 months ago #199384
by andypugh
This seems to be a bug in 2.7 too:
github.com/LinuxCNC/linuxcnc/issues/245
Replied by andypugh on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
joekline9 wrote: 2.8 has a bug when it comes to userspace singleton comps.
This seems to be a bug in 2.7 too:
github.com/LinuxCNC/linuxcnc/issues/245
Please Log in to join the conversation.
5 years 8 months ago #199385
by andypugh
And apparently got fixed in Master but not in 2.7 / 2.8:
github.com/LinuxCNC/linuxcnc/commit/2caf...d31b371591733070abdf
Replied by andypugh on topic LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
andypugh wrote: This seems to be a bug in 2.7 too:
github.com/LinuxCNC/linuxcnc/issues/245
And apparently got fixed in Master but not in 2.7 / 2.8:
github.com/LinuxCNC/linuxcnc/commit/2caf...d31b371591733070abdf
Please Log in to join the conversation.
Time to create page: 0.120 seconds
