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

Attachment not found

Please Log in 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 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 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.

Please Log in 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.

Please Log in 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


Attachment not found

Please Log in to join the conversation.

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

Please Log in to join the conversation.

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

Attachment not found

Please Log in to join the conversation.

More
5 years 8 months ago #199384 by andypugh

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.

More
5 years 8 months ago #199385 by andypugh

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.500 seconds
Powered by Kunena Forum