Met de Axis GUI werkt alles prima, maar zodra ik de boel omschakel naar GMoccapy (wat ik wil gaan draaien, oa ivm een touchscreen) crasht LinuxCNC gigantisch. Ik draai Debian Wheezy, met de stock 3.4.9 RTAI kernel, LinuxCNC 2.7.11. Mijn config staat op https://mail.vanree.net/repos/cnc_emco5/
Enige wat ik dus wijzig in mijn Emco5.ini is dat ik van
Code: Selecteer alles
DISPLAY = axis
Code: Selecteer alles
DISPLAY = gmoccapy
Code: Selecteer alles
Found an error!
The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 4231, in <module>
app = gmoccapy()
File "/usr/bin/gmoccapy", line 218, in __init__
self._init_axis_four()
File "/usr/bin/gmoccapy", line 763, in _init_axis_four
self.widgets["Combi_DRO_%s" % axis].set_property( "font_size", self.dro_size )
File "/usr/lib/pymodules/python2.7/gmoccapy/widgets.py", line 42, in __getitem__
raise IndexError, "No widget %widget" % attr
ValueError: unsupported format character 'w' (0x77) at index 11
Code: Selecteer alles
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.11
Machine configuration directory is '/home/javanree/linuxcnc/configs/Emco5'
Machine configuration file is 'Emco5.ini'
INIFILE=/home/javanree/linuxcnc/configs/Emco5/Emco5.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
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(REL): ./Emco5.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
**** GMOCCAPY GETINIINFO ****
Preference file path: /home/javanree/linuxcnc/configs/Emco5/Emco5.pref
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1359
Killing task milltask, PID=1404
task: 4476 cycles, min=0.000052, max=0.017911, avg=0.010097, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1
.
1359
PID TTY STAT TIME COMMAND
1404
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[77375.385951] I-pipe: head domain RTAI registered.
[77375.385966] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[77375.386071] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[77375.386081] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 10514092, CLK_FREQ 1682460000, CPU_FREQ 1682460000
[77375.386089] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[77375.386098] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 10514092, 10514092, 10406250
[77375.399879] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[77375.399978] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[77375.399991] RTAI[sched]: hard timer type/freq = APIC/10514092(Hz); default timing: oneshot; linear timed lists.
[77375.400100] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1682460000 hz.
[77375.400108] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[77375.411344] RTAI[math]: loaded.
[77375.612730] config string '0 out'
[77423.574006] RTAI[math]: unloaded.
[77423.578306] SCHED releases registered named ALIEN PEDV$D
[77423.587496] RTAI[malloc]: unloaded.
[77423.684040] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[77423.688268] I-pipe: head domain RTAI unregistered.
[77423.688383] RTAI[hal]: unmounted.