LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15
17 Feb 2021 19:41 #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
Attachments:
Please Log in or Create an account to join the conversation.
17 Feb 2021 20:28 #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
Error constructing led({'halpin': 'b3ar-led', 'on_color': 'green', 'off_color': 'black', 'size': 10}):
Cannot allocate memory
Please Log in or Create an account to join the conversation.
17 Feb 2021 21:26 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
17 Feb 2021 23:05 #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.
The following user(s) said Thank You: gaston48
Please Log in or Create an account to join the conversation.
18 Feb 2021 01:10 #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.
The following user(s) said Thank You: gaston48
Please Log in or Create an account to join the conversation.
18 Feb 2021 08:42 #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
Attachments:
Please Log in or Create an account to join the conversation.
18 Feb 2021 08:47 #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
The following user(s) said Thank You: joekline9
Please Log in or Create an account to join the conversation.
18 Feb 2021 19:54 #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
Attachments:
Please Log in or Create an account to join the conversation.
19 Feb 2021 09:24 #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
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 or Create an account to join the conversation.
19 Feb 2021 09:30 #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
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 or Create an account to join the conversation.
Time to create page: 0.145 seconds