As most of you know I've been trying to get LinuxCNC to work on
LinuxMint because of the horrible Debian desktops and user interfaces. I
understand that OpenBox and a terminal work great in Debian and have
even tried it myself. After fixing a very few things like FireFox
default search engine I really like LinuxMint. Everything just works,
heck if you add a bin directory to your home directory and place an
executable in there it runs from a terminal like installed programs.
Everything in LinuxCNC seems to work except Axis. I opened the package
manager and verified every linuxcnc dependency.
If anyone has any ideas what I can try next to find the source of the
errors I'm all ears.
Thanks
JT
This is the error messages I get when I run Axis ( I did sudo dmesg -c
to clear dmesg first ).
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.7.2
Machine configuration directory is '/home/john/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
INIFILE=/home/john/linuxcnc/configs/sim.axis/axis.ini
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(REL): ./check_constraints.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=16750
Killing task milltask, PID=16820
task: 141 cycles, min=0.000004, max=0.002632, avg=0.001745, 0 latency
excursions (> 10x expected cycle time of 0.001000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
.
Traceback (most recent call last):
File "/usr/bin/axis", line 3133, in <module>
o = MyOpengl(widgets.preview_frame, width=400, height=300,
double=1, depth=1)
File "/usr/bin/axis", line 352, in __init__
Opengl.__init__(self, *args, **kw)
File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 164, in
__init__
apply(RawOpengl.__init__, (self, master, cnf), kw)
File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 112, in
__init__
Togl.__init__(self, master, cnf, **kw)
File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 38, in
__init__
Widget.__init__(self, master, 'togl', cnf, kw)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 2058, in __init__
(widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: NULL main window
16750
PID TTY STAT TIME COMMAND
16820
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[89793.737921] I-pipe: head domain RTAI registered.
[89793.737925] RTAI[hal]: compiled with gcc version 4.6.3 (Ubuntu/Linaro
4.6.3-1ubuntu5) .
[89793.737952] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[89793.737954] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 6235080,
CLK_FREQ 3292370000, CPU_FREQ 3292370000
[89793.737956] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314;
LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[89793.737958] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 6235080,
6235080, 5854750
[89793.741479] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[89793.741495] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[89793.741497] RTAI[sched]: hard timer type/freq = APIC/6235080(Hz);
default timing: oneshot; linear timed lists.
[89793.741499] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
3292370000 hz.
[89793.741501] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[89793.743717] RTAI[math]: loaded.
[89796.413133] RTAI[math]: unloaded.
[89796.414412] SCHED releases registered named ALIEN PEDV$D
[89796.422214] RTAI[malloc]: unloaded.
[89796.518740] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).
[89796.521924] I-pipe: head domain RTAI unregistered.
[89796.522034] RTAI[hal]: unmounted.
------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers