l18l
New Member
Posts: 44
|
Post by l18l on Apr 28, 2011 10:05:18 GMT 1
Hi Peter, Having installed wary and quirkybaby latest pets (see comments Posted on 12 Apr 2011 and later ) in barryk's blog I have seen that there is no pot file generated anymore. Not sure if it is specific to puppy so my direct question here: Could you confirm with another system that a pot file is generated, please? OPTION INTERNATIONAL TRUE PRINT INTL$("hello world")
If confirmed the bug has to be searched in puppy. Thanks in advance
|
|
|
Post by Pjot on Apr 28, 2011 14:54:15 GMT 1
Hi l18l,
Works fine for me:
Best regards Peter
|
|
l18l
New Member
Posts: 44
|
Post by l18l on Apr 28, 2011 17:43:33 GMT 1
Thank you Peter, the simple example is working for me too now.... it seems my own code is the culprit. So am now compiling again my actual project sfsget and t2sfsget a formerly saved part of it # bacon -x t2sfsget.bac Starting conversion... done. Executing xgettext... done. Starting compilation... done. Program 't2sfsget' ready. # ls -l t2sfsget* -rwxr-xr-x 1 root root 87109 2011-04-28 16:41 t2sfsget -rw-r--r-- 1 root root 26203 2011-04-27 19:01 t2sfsget.bac -rw-r--r-- 1 root root 2840 2011-04-28 16:41 t2sfsget.pot # # # bacon -x ./sfsget.bac Starting conversion... done. Executing xgettext... done. Starting compilation... done. Program './sfsget' ready. # ls -l sfsget* -rwxr-xr-x 1 root root 89232 2011-04-28 16:41 sfsget -rw-r--r-- 1 root root 28587 2011-04-28 12:25 sfsget.bac -rwxr--r-- 1 root root 9967 2011-04-28 11:36 sfsget.sh #
This is making clear that the culprit must be my code Need to dig deeper into... an error message (Executing xgettext...but NO new potfile) would have been fine
|
|
l18l
New Member
Posts: 44
|
Post by l18l on Apr 28, 2011 18:28:40 GMT 1
This is making clear that the culprit must be my code Need to dig deeper into... an error message (Executing xgettext...but NO new potfile) would have been fine Did not have to dig very deep... #bacon -x sfsget.bac Starting conversion... done. Executing xgettext... done. Starting compilation... done. Program 'sfsget' ready. # ls -l sfsget* -rwxr-xr-x 1 root root 89676 2011-04-28 17:17 sfsget -rw-r--r-- 1 root root 28684 2011-04-28 17:16 sfsget.bac -rw-r--r-- 1 root root 3104 2011-04-28 17:17 sfsget.pot -rwxr--r-- 1 root root 9967 2011-04-28 11:36 sfsget.sh # IMPORT "gtk_widget_set_tooltip_text(long,char*)" FROM "libgtk-x11-2.0.so" TYPE void was missing. I had been thinking "don't use any tooltip" so I had deleted this line. Compiling and testing did not make a different result but the pot file was missing. Now everything is fine again. Peter, could you make above mentioned error message display in red? I know you can but would you do so?
|
|
|
Post by Pjot on Apr 28, 2011 19:05:10 GMT 1
Well, in red, no (not all terminals are ANSI compliant) - but the error message "WARNING: catalog file not created!" was added.
Regards Peter
|
|
l18l
New Member
Posts: 44
|
Post by l18l on Apr 28, 2011 19:16:45 GMT 1
Starting conversion... done. Executing xgettext... done. Starting compilation... done. WARNING: catalog file not created!
Yes, that will attract attention also all in default color of terminal. Thank you
|
|