Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
3 years 11 months ago #256168 by tommylight

initialize: module '/home/alex/linuxcnc/configs/MJG_CNC/python/toplevel.py' init failed:
Traceback (most recent call last):

  File "/home/alex/linuxcnc/configs/MJG_CNC/python/toplevel.py", line 1, in <module>
    import remap

  File "/home/alex/linuxcnc/configs/MJG_CNC/./python/remap.py", line 1, in <module>
    from stdglue import *

ImportError: bad magic number in 'stdglue': b'\x03\xf3\r\n'

Interp ctor: can't instantiate Python plugin
initialize: module '/home/alex/linuxcnc/configs/MJG_CNC/python/toplevel.py' init failed:
Traceback (most recent call last):

  File "/home/alex/linuxcnc/configs/MJG_CNC/python/toplevel.py", line 1, in <module>
    import remap

  File "/home/alex/linuxcnc/configs/MJG_CNC/./python/remap.py", line 1, in <module>
    from stdglue import *

ImportError: bad magic number in 'stdglue': b'\x03\xf3\r\n'

Python plugin configure() failed, status = -11
Python plugin required for prolog=, but not available: 108:REMAP = M6   modalgroup=6  prolog=change_prolog   ngc=rack_change  epilog=change_epilog
Python plugin required for epilog=, but not available: 108:REMAP = M6   modalgroup=6  prolog=change_prolog   ngc=rack_change  epilog=change_epilog


 
All those are errors related to remap/toolchange you have in one of your hal files, so not for this topic, much better to start a new topic if you intend to fix it, but, before you try that:

hm2/hm2_7i76e.0: error finishing read! iter=970

 
This is the issue we are having with new RT kernels not playing nicely with the network cards and dropping connection to Mesa board.
This means that even if you manage to fix the remap issue, this will not work for controlling a machine.
There is a whole topic regarding the kernel issue here, if you do not mind giving us some info about the PC used and what type of network card it uses, also some tips to try and see if it improves things:
forum.linuxcnc.org/27-driver-boards/4691...error-finishing-read
Thank you.
The following user(s) said Thank You: MarcoGaspar

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

More
3 years 11 months ago #256169 by tommylight
Added a warning to the original post about not using this tutorial for the time being due to some PC's having issues with network cards when using the new kernels.
Also "unsticky"-ed the topic.
Thank you.
The following user(s) said Thank You: rodw, zack, my1987toyota

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

More
3 years 11 months ago #257057 by tommylight
Updated links, latest build of LinuxCNC from 05/11/2022, and made it sticky again.
The following user(s) said Thank You: bkt, MarcoGaspar

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

More
3 years 11 months ago #257072 by MarcoGaspar
And the kernel insue ?

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

More
3 years 11 months ago #257091 by tommylight

And the kernel insue ?
If you have an Intel NIC, it works properly, at least on 5 PC's i tested in last 3 days.
Realtek does not.

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

More
3 years 11 months ago #257215 by andypugh
The following user(s) said Thank You: tommylight, bkt, my1987toyota

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

Time to create page: 0.455 seconds
Powered by Kunena Forum