Internationalization: The Spanish affair

More
22 Mar 2018 07:02 #107711 by aer73
Hi Abu.

Maybe you should play the lottery more often. :P
You are right. ;)

Kind regards.

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

More
12 Dec 2018 23:04 - 12 Dec 2018 23:11 #122326 by abu
Hello again
All right. Many months since last post ... but a lot of work done.
I have 100% translated es.po file from linuxcnc.pot....and much more. A large part of the documentation and man pages (asciidoc format, of course) are translated.
Here, an example:







Now the bad news....
I have built two RIP installations. The first one with my es.po (full translation) and the second one with an es.po mirror of linuxcnc.pot (without translation). Both RIPs are built in the same way (debian/configure, src/configure, make ... etc). The only difference is the es.po file.
The two compilations have been made with the command
make VV=1 2>&1 | tee <Txt_file>.txt

I do not find any errors in the make output text files and the remaining log files seem correct in both builts.

The untranslated version runs perfectly.
No pickconfig simulations do anything not expected. All right.

The translated version has a strange problem. Many simulations run OK, but simulations that use basic_sim.tcl cause the following failure:

LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/pulvimax/linuxcnc-dev/configs/sim/axis'
Machine configuration file is 'profile_axis.ini'
Starting LinuxCNC...
Found file(LIB): /home/pulvimax/linuxcnc-dev/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
./linuxcnc: línea 823: 10748 Violación de segmento haltcl -i "$INIFILE" $CFGFILE $CFGFILE_ARGS
Shutting down and cleaning up LinuxCNC...
Note: Using LXRT realtime
Note: Using LXRT realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/pulvimax/linuxcnc_debug.txt
and
/home/pulvimax/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal


The dmesg output (from root terminal) says:

root@vento:/home/pulvimax# dmesg -k -u -x
kern :info : [47897.800783] I-pipe: head domain RTAI registered.
kern :info : [47897.800789] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
kern :info : [47897.800863] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
kern :warn : [47897.800867] SYSINFO: CPUs 3, LINUX APIC IRQ 2312, TIM_FREQ 12499028, CLK_FREQ 2299936000, CPU_FREQ 2299936000
kern :warn : [47897.800870] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
kern :warn : [47897.800873] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12499028, 12499028, 8359750
kern :info : [47897.877471] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
kern :warn : [47897.877531] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
kern :info : [47897.877536] RTAI[sched]: hard timer type/freq = APIC/12499028(Hz); default timing: oneshot; linear timed lists.
kern :info : [47897.877540] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2299936000 hz.
kern :info : [47897.877542] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
kern :info : [47898.332326] haltcl[15171]: segfault at b6a3d000 ip b6a43baa sp bfd20020 error 4 in liblinuxcnchal.so.0[b6a3e000+9000]
kern :warn : [47899.368484] SCHED releases registered named ALIEN PEDV$D
kern :warn : [47899.372823] RTAI[malloc]: unloaded.
kern :info : [47899.470430] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
kern :info : [47899.472533] I-pipe: head domain RTAI unregistered.
kern :info : [47899.472621] RTAI[hal]: unmounted.


WoW ......... liblinuxcnchal.so is the culprit ... or the victim?
I'm full of doubts.
shell script problem?
Tcl problem?
system problem?
I am the problem? :unsure: :unsure:

I appreciate any suggestions.
Last edit: 12 Dec 2018 23:11 by abu.

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

More
12 Dec 2018 23:12 #122328 by dgarrett

The only difference is the es.po file.


post the es.po file

post the output of linuxcnc_info

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

More
12 Dec 2018 23:30 #122329 by andypugh

Note: Using LXRT realtime


This means (I think) that you have not configured (./configure --with-realtime=....) for the correct kernel.

This _might_ be the problem, it might not be related to the translation.

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

More
12 Dec 2018 23:35 - 12 Dec 2018 23:51 #122330 by abu
Thanks Dewey.

I'm going to upload the .po file to a server. I will put the link when the upload ends.

My info file....

The file: /tmp/linuxcnc.info
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.

VIEWER=gedit
Date: jue dic 13 00:32:37 CET 2018
UTC Date: mié dic 12 23:32:37 UTC 2018
this program: /home/pulvimax/linuxcnc-dev/scripts/linuxcnc_info
uptime: 00:32:37 up 15:53, 2 users, load average: 0,82, 0,72, 0,68
lsb_release -sa: Debian Debian GNU/Linux 7.11 (wheezy) 7.11 wheezy
which linuxcnc: /home/pulvimax/linuxcnc-dev/scripts/linuxcnc
pwd: /home/pulvimax/linuxcnc-dev/scripts
USER: pulvimax
LOGNAME: pulvimax
HOME: /home/pulvimax
EDITOR:
VISUAL:
LANGUAGE:
TERM: xterm
COLORTERM: Terminal
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 2048x768 pixels (642x241 millimeters)
PATH: /home/pulvimax/linuxcnc-dev/scripts:/home/pulvimax/linuxcnc-dev/bin:/home/pulvimax/linuxcnc-dev/bin:/home/pulvimax/linuxcnc-dev/scripts:/home/pulvimax/linuxcnc-dev/tcl:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
nodename -n: vento
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT Debian 3.4.55-4linuxcnc
machine -m: i686
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux

/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-3.4-9-rtai-686-pae root=UUID=3211c8f8-95ad-464a-a1bb-7506f3eaef3b ro initrd=/install/gtk/initrd.gz lapic quiet rootdelay=5
model name: AMD Phenom(tm) 8650 Triple-Core Processor
cores: 3
cpu MHz: 2299.936
parport: 0378-037a : parport0 037b-037f : parport0 d800-d802 : parport2 dc00-dc02 : parport1
serial:

Versions:
gcc: gcc (Debian 4.7.2-5) 4.7.2
python: Python 2.7.3
git: git version 1.7.10.4
tcl: 8.5
tk: 8.5
glade: not_in_PATH
glade-gtk2: glade3 3.8.0

linuxcnc_var all:

LINUXCNCVERSION: 2.8.0~pre1
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /home/pulvimax/linuxcnc-dev/scripts/realtime
RTS: uspace
HALLIB_DIR: /home/pulvimax/linuxcnc-dev/lib/hallib
Last edit: 12 Dec 2018 23:51 by abu.

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

More
12 Dec 2018 23:38 #122331 by abu
Hi Andy.

My command is

./configure --with-realtime=uspace

or with documentation:

./configure --with-realtime=uspace --enable-build-documentation

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

More
13 Dec 2018 00:01 #122337 by andypugh
That's interesting, as the output definitely says LXRT. (Which appears to be an unexpected default)

Could you try a re-config and re-build?

(This is the only time that I have seen LXRT come up)
sourceforge.net/p/emc/mailman/message/36479905/

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

More
13 Dec 2018 00:16 #122338 by dgarrett
with this pre-built kernel:

kernel-vers -v: #1 SMP PREEMPT Debian 3.4.55-4linuxcnc


use without options:
$ cd the_src_directory
$ ./configure

(as andy noted, not sure it has anything to do with
internationalization)

i think you will not see the LXRT message if configured as above

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

More
13 Dec 2018 00:33 - 13 Dec 2018 00:53 #122339 by abu
Ok, Andy and Dewey ..........one more time ....... but I will try with my */ uname -mrs */ output:

for /debian
./configure 3.4-9-rtai-686-pae

for /src
./configure --with-realtime=/usr/realtime-3.4-9-rtai-686-pae

....to be continued....

oh, a detail ...
The appearance of LXRT occurred after updating the original version of the LiveCD to 2.7.14 with Synaptic (although I'm not 100% sure)
Last edit: 13 Dec 2018 00:53 by abu.

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

More
13 Dec 2018 01:35 #122342 by abu
YES.............¡¡¡¡¡¡¡ This rock :woohoo:




The images is from profile_axis simulation, one of the examples that failed. Now it works. Without parameters in /src/configure and also with 3.4-9-rtai-686-pae.

Anyway ........ LXRT has become a new challenge.....;)

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

Time to create page: 0.178 seconds
Powered by Kunena Forum