LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15

More
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

File Attachment:

File Name: linuxcnc_report.txt
File Size:14.12 KB

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199176 by chris@cnc
In your debug Information
Code:
Error constructing led({'halpin': 'b3ar-led', 'on_color': 'green', 'off_color': 'black', 'size': 10}): Cannot allocate memory
Seems you should update Python or some in this area to

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199183 by gaston48
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

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199197 by tommylight
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.

More
5 years 8 months ago #199214 by joekline9
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.
The following user(s) said Thank You: gaston48

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199225 by gaston48
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


File Attachment:

File Name: report.txt
File Size:2.11 KB

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum