LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15

More
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

File Attachment:

File Name: linuxcnc_report.txt
File Size:14 KB
Attachments:

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

More
17 Feb 2021 20:28 #199176 by chris@cnc
In your debug Information
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
17 Feb 2021 21:26 #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
17 Feb 2021 23:05 #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
18 Feb 2021 01:10 #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
18 Feb 2021 08:42 #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 KB
Attachments:

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

More
18 Feb 2021 08:47 #199227 by gaston48
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
The following user(s) said Thank You: joekline9

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

More
18 Feb 2021 19:54 #199340 by gaston48
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

File Attachment:

File Name: mikron_xml.txt
File Size:9 KB
Attachments:

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

More
19 Feb 2021 09:24 #199384 by andypugh

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.

More
19 Feb 2021 09:30 #199385 by andypugh

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

Time to create page: 0.302 seconds
Powered by Kunena Forum