authors.xml not build
This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
authors.xml not build | Kolbjørn Stuestøl | 26 Jan 20:15 |
authors.xml not build | Ulf-D. Ehlert | 26 Jan 21:07 |
authors.xml not build | Kolbjørn Stuestøl | 26 Jan 23:14 |
authors.xml not build | Ulf-D. Ehlert | 27 Jan 12:05 |
authors.xml not build | Kolbjørn Stuestøl | 27 Jan 22:49 |
authors.xml not build | Ulf-D. Ehlert | 29 Jan 23:14 |
authors.xml not build | Kolbjørn Stuestøl | 29 Jan 23:59 |
authors.xml not build | Ulf-D. Ehlert | 01 Feb 21:37 |
authors.xml not build | Kolbjørn Stuestøl | 01 Feb 23:12 |
authors.xml not build | Kolbjørn Stuestøl | 02 Feb 23:18 |
authors.xml not build | Ulf-D. Ehlert | 03 Feb 12:28 |
authors.xml not build | Kolbjørn Stuestøl | 03 Feb 21:53 |
authors.xml not build
The authors files are not build.
Updated gimp-help-2, run "make -f Makefile.GNU pot", "make -f
Makefile.GNU xml-no" and "make -f Makefile.GNU po-no".
When running "make -f Makefile.GNU validate-no" I get the following
message: "xml/no/preface/authors.xml:1: parser error : Document is
empty" + some other errors because of this error.
I thought the file should be generated automatically, but what
command(s) do I miss?
As a result, when trying to make html I get
$ make -f Makefile.GNU html-no
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53
What is btw error 53? Where do I find an error list?
(I'm running Cygwin on Windows XP). Kolbjørn
authors.xml not build
Kolbjørn Stuestøl (Montag, 26. Januar 2009, 20:15):
The authors files are not build.
Updated gimp-help-2, run "make -f Makefile.GNU pot", "make -f Makefile.GNU xml-no" and "make -f Makefile.GNU po-no". When running "make -f Makefile.GNU validate-no" I get the following message: "xml/no/preface/authors.xml:1: parser error : Document is empty" + some other errors because of this error. I thought the file should be generated automatically, but what command(s) do I miss?
It should be generated automatically, and just tested: it worked fine for me.
Try
rm xml/no/preface/authors.xml
touch stylesheets/authors.xml
and then
make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2
maybe we get some more info.
Also check your pot file pot/preface/authors.pot and your po file po/no/preface/authors.po, maybe one of them is broken.
As a result, when trying to make html I get $ make -f Makefile.GNU html-no
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53 What is btw error 53? Where do I find an error list?
No idea, according to the man pages 'make' and 'xsltproc' do not use this exit code.
(I'm running Cygwin on Windows XP).
Hmm...
Bye,
Ulf
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Montag, 26. Januar 2009, 20:15):
The authors files are not build.
Updated gimp-help-2, run "make -f Makefile.GNU pot", "make -f Makefile.GNU xml-no" and "make -f Makefile.GNU po-no". When running "make -f Makefile.GNU validate-no" I get the following message: "xml/no/preface/authors.xml:1: parser error : Document is empty" + some other errors because of this error. I thought the file should be generated automatically, but what command(s) do I miss?It should be generated automatically, and just tested: it worked fine for me.
Try
rm xml/no/preface/authors.xml
touch stylesheets/authors.xml
and then
make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2 maybe we get some more info.
Result:
$ make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2
[SRC] src/preface/authors.xml
f=src/preface/authors.xml; d=${f%/*}; test -d $d || mkdir -p $d
xsltproc \
--nonet \
./stylesheets/authors_docbook.xsl \
stylesheets/authors.xml \
> src/preface/authors.xml
make: *** [src/preface/authors.xml] Error 53
Also check your pot file pot/preface/authors.pot and your po file po/no/preface/authors.po, maybe one of them is broken.
Tryed even with the german authors.po file :-) Same result :-( . Both "xml/preface/authors.xml", "pot/preface/authors.pot" and "scr/preface/authors.xml" are all empty (as they should?)
Have not tryed your merged po files. Kolbjørn
As a result, when trying to make html I get $ make -f Makefile.GNU html-no
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53 What is btw error 53? Where do I find an error list?No idea, according to the man pages 'make' and 'xsltproc' do not use this exit code.
(I'm running Cygwin on Windows XP).
Hmm...
Bye,
Ulf
------------------------------------------------------------------------
authors.xml not build
Kolbjørn Stuestøl (Montag, 26. Januar 2009, 23:14):
Result:
$ make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2 [SRC] src/preface/authors.xml
f=src/preface/authors.xml; d=${f%/*}; test -d $d || mkdir -p $d xsltproc \
--nonet \
./stylesheets/authors_docbook.xsl \ stylesheets/authors.xml \> src/preface/authors.xml
make: *** [src/preface/authors.xml] Error 53
And your stylesheets/authors_docbook.xsl and stylesheets/authors.xml are not empty and look all right?
Try
md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
and you should get
4ea35bec0f2475be8dc203d1f87ba7b3 stylesheets/authors_docbook.xsl
549e4668d969cfbbcb56b089dfbd88a8 stylesheets/authors.xml
Maybe an encoding problem (stylesheets/authors.xml not UTF-8 encoded) or CR/LF line separators - this may happen if you are working on copies of your local SVN files.
You may also try
make ... XSLTEXTRAFLAGS="--verbose"
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \
stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and
hopefully a hint if an error occurs...
Both "xml/preface/authors.xml", "pot/preface/authors.pot" and "scr/preface/authors.xml" are all empty (as they should?)
No, they should not.
Have not tryed your merged po files.
This won't change anything.
Bye, Ulf
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Montag, 26. Januar 2009, 23:14):
Result:
$ make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2 [SRC] src/preface/authors.xml
f=src/preface/authors.xml; d=${f%/*}; test -d $d || mkdir -p $d xsltproc \
--nonet \
./stylesheets/authors_docbook.xsl \ stylesheets/authors.xml \> src/preface/authors.xml
make: *** [src/preface/authors.xml] Error 53
And your stylesheets/authors_docbook.xsl and stylesheets/authors.xml are not empty and look all right?
Try md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml and you should get
4ea35bec0f2475be8dc203d1f87ba7b3 stylesheets/authors_docbook.xsl 549e4668d969cfbbcb56b089dfbd88a8 stylesheets/authors.xml
With the stylesheet files set to ANSI got this: (the same fingerprint
as you got)
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
4ea35bec0f2475be8dc203d1f87ba7b3 *stylesheets/authors_docbook.xsl
549e4668d969cfbbcb56b089dfbd88a8 *stylesheets/authors.xml
When set to UTF-8 I got
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
4ff7f7132c4f41286d820b2e828010d4 *stylesheets/authors_docbook.xsl
7e8f4bf8e24b85b050715c602de42251 *stylesheets/authors.xml
Maybe an encoding problem (stylesheets/authors.xml not UTF-8 encoded) or CR/LF line separators - this may happen if you are working on copies of your local SVN files.
Yes, I'm working on copies. Set all stylesheets and authors.xxx to UTF-8 and Unix format (Notepad++) whether they were in another format or not. (Notepad++ not always recognize the formats, I therefore forced it). Even tried with all files set to ANSI (desperatly trying all possibilities). The authors.po was changed to ANSI, no other changes. (Have not tried other LF/CR than Unix). Is there any way to set all files to UTF-8 (or other formats) in this system?
You may also try
make ... XSLTEXTRAFLAGS="--verbose"
$ make -f Makefile.GNU ALL_LINGUAS="no" XSLTEXTRAFLAGS="--verbose"
[POT] pot/preface/authors.pot
[PO] po/no/preface/authors.po
[XML] xml/no/preface/authors.xml
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53
(According to Notepad++ the authors.po is changed to ANSI, but it is in fact in UTF-8. Some code missing?)
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...
No output at all.
Both "xml/preface/authors.xml", "pot/preface/authors.pot" and "scr/preface/authors.xml" are all empty (as they should?)
No, they should not.
Thank you for helping me
Kolbjørn
Have not tryed your merged po files.
This won't change anything.
Bye, Ulf
------------------------------------------------------------------------
authors.xml not build
Kolbjørn Stuestøl (Dienstag, 27. Januar 2009, 22:49):
With the stylesheet files set to ANSI got this: (the same fingerprint as you got)
What is ANSI in this context?
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml 4ea35bec0f2475be8dc203d1f87ba7b3 *stylesheets/authors_docbook.xsl 549e4668d969cfbbcb56b089dfbd88a8 *stylesheets/authors.xml When set to UTF-8 I got
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml 4ff7f7132c4f41286d820b2e828010d4 *stylesheets/authors_docbook.xsl 7e8f4bf8e24b85b050715c602de42251 *stylesheets/authors.xml
Both files should be UTF-8 encoded.
Maybe an encoding problem (stylesheets/authors.xml not UTF-8 encoded) or CR/LF line separators - this may happen if you are working on copies of your local SVN files.
Is there any way to set all files to UTF-8 (or other formats) in this system?
IMHO all SVN file *are* UTF-8 encoded...
You may also try
make ... XSLTEXTRAFLAGS="--verbose"$ make -f Makefile.GNU ALL_LINGUAS="no" XSLTEXTRAFLAGS="--verbose" [POT] pot/preface/authors.pot
[PO] po/no/preface/authors.po
[XML] xml/no/preface/authors.xml
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53(According to Notepad++ the authors.po is changed to ANSI, but it is in fact in UTF-8. Some code missing?)
No, UTF-8 is correct.
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...No output at all.
Hmm, I can't believe that. I get no output if I miss to add the second argument (stylesheets/authors.xml). You didn't wrap the above command line, did you?
Bye,
Ulf
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Dienstag, 27. Januar 2009, 22:49):
With the stylesheet files set to ANSI got this: (the same fingerprint as you got)
What is ANSI in this context?
A character set. The characters you get when holdig down while typing the number of the char starting with a 0. In Notepad++ I am able to switch between ANSI, UTF-8 and a couple of others.
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml 4ea35bec0f2475be8dc203d1f87ba7b3 *stylesheets/authors_docbook.xsl 549e4668d969cfbbcb56b089dfbd88a8 *stylesheets/authors.xml When set to UTF-8 I got
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml 4ff7f7132c4f41286d820b2e828010d4 *stylesheets/authors_docbook.xsl 7e8f4bf8e24b85b050715c602de42251 *stylesheets/authors.xmlBoth files should be UTF-8 encoded.
It's the same file. The first encoded in ANSI, the second in UTF-8
Maybe an encoding problem (stylesheets/authors.xml not UTF-8 encoded) or CR/LF line separators - this may happen if you are working on copies of your local SVN files.
Is there any way to set all files to UTF-8 (or other formats) in this system?
IMHO all SVN file *are* UTF-8 encoded...
Well, what I ment was if the encoding are changed during copying, there shoukd be a way to get it back to UTF-8. Not important.
You may also try
make ... XSLTEXTRAFLAGS="--verbose"$ make -f Makefile.GNU ALL_LINGUAS="no" XSLTEXTRAFLAGS="--verbose" [POT] pot/preface/authors.pot
[PO] po/no/preface/authors.po
[XML] xml/no/preface/authors.xml
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53(According to Notepad++ the authors.po is changed to ANSI, but it is in fact in UTF-8. Some code missing?)
No, UTF-8 is correct.
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...No output at all.
Hmm, I can't believe that. I get no output if I miss to add the second argument (stylesheets/authors.xml). You didn't wrap the above command line, did you?
No, I copied it in two parts adding them together to get it all in a
single line (without the \).
Perhaps some "hidden" packages that I or Cygwin have forgotten?
Are there any way to step through the program step by step or setting
"watch points" or similar to follow what the program is doing? (I know
that it will be very time consuming, but am willing to try).
Kolbjørn
Bye,
Ulf
------------------------------------------------------------------------
authors.xml not build
Kolbjørn Stuestøl (Donnerstag, 29. Januar 2009, 23:59):
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...No output at all.
I tried "xsltproc --nonet --verbose ... " with no-op files and got
creating dictionary for stylesheet
reusing dictionary from no-op.xsl for stylesheet
xsltParseStylesheetProcess : found stylesheet
...
xsltProcessOneNode: applying template '*' for gimp-authors
freeing transformation dictionary
freeing dictionary from stylesheet
So IMHO you should definitely get some output.
Perhaps some "hidden" packages that I or Cygwin have forgotten?
I don't know anything about Cygwin, but hidden packages seems unlikely to me.
Are there any way to step through the program step by step or setting "watch points" or similar to follow what the program is doing? (I know that it will be very time consuming, but am willing to try). Kolbjørn
That's what the "--verbose" option should do.
Bye, Ulf
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Donnerstag, 29. Januar 2009, 23:59):
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...No output at all.
I tried "xsltproc --nonet --verbose ... " with no-op files and got
creating dictionary for stylesheet reusing dictionary from no-op.xsl for stylesheet xsltParseStylesheetProcess : found stylesheet ...
xsltProcessOneNode: applying template '*' for gimp-authors freeing transformation dictionary
freeing dictionary from stylesheetSo IMHO you should definitely get some output.
Tryed "xsltproc -V" and got no output either. Going to update and looking over (again) my Cygwin.
Perhaps some "hidden" packages that I or Cygwin have forgotten?
I don't know anything about Cygwin, but hidden packages seems unlikely to me.
I mostly thought of packages hidden to me.
Are there any way to step through the program step by step or setting "watch points" or similar to follow what the program is doing? (I know that it will be very time consuming, but am willing to try). Kolbjørn
That's what the "--verbose" option should do.
Bye, Ulf
Thank you,
I am working further on it.Also reading manuals and GNU sites in an
attempt to find out what some of the commands does. It's easy to correct
errors, it's finding them that's hard. Tried just "make -f makefil.GNU
-d pot", "--- xml-no" and "--- po-no" with the output send to a file.
Got lots of megabytes :-) .
nite Kolbjørn
------------------------------------------------------------------------
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Donnerstag, 29. Januar 2009, 23:59):
or - even better - directly
xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \ stylesheets/authors.xml
this will produce a lot of useless messages if everything is ok and hopefully a hint if an error occurs...No output at all.
I tried "xsltproc --nonet --verbose ... " with no-op files and got
Forget yesterday: What is "no-op" files? Where in the process are the athors.po/xml generated? When I run make pot, po or xml or others? (Perhaps all) Kolbjørn
creating dictionary for stylesheet reusing dictionary from no-op.xsl for stylesheet xsltParseStylesheetProcess : found stylesheet ...
xsltProcessOneNode: applying template '*' for gimp-authors freeing transformation dictionary
freeing dictionary from stylesheetSo IMHO you should definitely get some output.
authors.xml not build
Kolbjørn Stuestøl (Montag, 2. Februar 2009, 23:18):
Forget yesterday: What is "no-op" files?
Files that do "nothing" (no operation), where I've just removed more or less everything:
<!DOCTYPE gimp-authors SYSTEM "authors.dtd">
Where in the process are the athors.po/xml generated? When I run make pot, po or xml or others? (Perhaps all)
A localized authors file (authors.pot, authors.po, authors.xml) may be created (if missing or not up-to-date) when you make all (missing) xml files: make xml-no, when you make all (missing) po files: make po-no when you make all (missing) pot files: make pot. The (English) authors file "src/preface/authors.xml" should always be created if it's missing or not up-to-date (e.g. on changed stylesheets) - have a look at the Makefile: SRC_FILES := "all src files + src/preface/authors.xml"
Bye, Ulf
authors.xml not build
Ulf-D. Ehlert skreiv:
Kolbjørn Stuestøl (Montag, 2. Februar 2009, 23:18):
Forget yesterday: What is "no-op" files?
Files that do "nothing" (no operation), where I've just removed more or less everything:
<!DOCTYPE gimp-authors SYSTEM "authors.dtd">
I tried it. Still no output. :-(
I have no idea. Perhaps some error in Cygwin.
I'll try to add some "echo" commands in an attempt to trace what happens.
Where in the process are the athors.po/xml generated? When I run make pot, po or xml or others? (Perhaps all)
A localized authors file (authors.pot, authors.po, authors.xml) may be created (if missing or not up-to-date) when you make all (missing) xml files: make xml-no, when you make all (missing) po files: make po-no when you make all (missing) pot files: make pot. The (English) authors file "src/preface/authors.xml" should always be created if it's missing or not up-to-date (e.g. on changed stylesheets) - have a look at the Makefile: SRC_FILES := "all src files + src/preface/authors.xml"
Bye, Ulf
Thank you :-)
No authors.pot is created in the pot folder (or in other folders).
Trying to delete the stylesheet files and svn update them. It sometimes
help.
Kolbjørn
------------------------------------------------------------------------