All of a sudden a problem in my SIM setup to test at home code

More
18 Mar 2019 21:30 - 18 Mar 2019 21:31 #128922 by Marcodi
hi,

I don't get something. For months i have been running a virtual box with linuxcnc installed to test code on my machine here. Now since yesterday my Vismach doesnt want to load, but the error he gives makes no sense to me at all.

My vismach i created is named 5stefgui. All has been working for several months, just all of a sudden he makes an error, if i open the other vismach sims that come preinstalled, it loads everything correctly. Anyone has an idea cause i have already made a second vismach file and changed the ini to a new name, i keep getting the same error. i have uploaded and replaced all the STL already aswell. The problem came to exist i guess right after i took a backup and i copied all the files i need to use for the vismach to another drive. I can not believe this could be related in any way.

Here is the code after startup:

stephane@debian:~$ linuxcnc
LINUXCNC - 2.8.0-pre1-3734-g096cccb39
Machine configuration directory is '/home/stephane/linuxcnc/configs/sim.axis-1'
Machine configuration file is 'axis_9axis.ini'
Starting LinuxCNC...
Found file(LIB): /usr/share/linuxcnc/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
Note: Using POSIX non-realtime
motion.c: Creating unlock hal pins for joint 4
make_ddts: number of ddts limited to 16
Found file(lib): /usr/share/linuxcnc/hallib/locking_indexer.hal
/usr/bin/milltask (pid 6119) died on signal 11, backtrace stored in /tmp/backtrace.6119
/usr/bin/milltask exiting

<commandline>:0: milltask exited without becoming ready
note: MAXV max: 300.000 units/sec 18000.000 units/min
note: LJOG max: 300.000 units/sec 18000.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: AJOG max: 180.000 units/sec 10800.000 units/min
note: AJOG default: 12.000 units/sec 720.000 units/min
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
Traceback (most recent call last):
File "/usr/bin/5stefgui", line 62, in <module>
Yaxis = AsciiSTL(filename="yaxisassembly.stl")
File "/usr/lib/python2.7/dist-packages/vismach.py", line 912, in __init__
x, y, z = map(float, line[-3:])
KeyboardInterrupt
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/stephane/linuxcnc_debug.txt
and
/home/stephane/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Attachments:
Last edit: 18 Mar 2019 21:31 by Marcodi.

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

More
19 Mar 2019 16:00 #128975 by andypugh

KeyboardInterrupt


Did you actually press break / ^C or similar?

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

More
19 Mar 2019 20:37 #128996 by Marcodi
Hi Andy,

No not at all. I still don't get it

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

More
19 Mar 2019 20:45 #128997 by andypugh
Well, that looks rather like a keyboard fault.

Try unplugging the keyboard and see if it still says "KeyboardInterrupt"

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

More
19 Mar 2019 21:04 #129000 by tommylight

Traceback (most recent call last):
File "/usr/bin/5stefgui", line 62, in <module>
Yaxis = AsciiSTL(filename="yaxisassembly.stl")
File "/usr/lib/python2.7/dist-packages/vismach.py", line 912, in __init__
x, y, z = map(float, line[-3:])
KeyboardInterrupt


You should also check the 5stefgui for errors or symbols that might have gotten there during editing.

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

More
19 Mar 2019 21:06 #129001 by Marcodi
hi tommy,

@Andy, i checked it with the keyboard, problem persist.

@tommy, i added all the files that i use. If you place these on your system, you should be able to run the sim exactly as mine.

Maybe it is an idea, for someone to just copy my files on their system to test if it is the code or if there is something else wrong with my linux installation

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

More
19 Mar 2019 21:29 #129004 by andypugh

Maybe it is an idea, for someone to just copy my files on their system to test if it is the code or if there is something else wrong with my linux installation


Yes, that should work as it is a sim and not dependent on hardware.

Just zip the whole config folder up and attach it here.

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

More
19 Mar 2019 21:38 #129006 by Marcodi
Hi Andy, I already zipped all files in the first post. I think all should be in there

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

More
19 Mar 2019 21:53 #129008 by tommylight
All the files are not there, just some.
Why did you not zip the entire config folder ?

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

More
19 Mar 2019 22:11 #129010 by Marcodi
I will when I am at my computer. The STL files are to big to upload here. I will make a zip with all other files

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

Time to create page: 0.092 seconds
Powered by Kunena Forum