Stylesheets icon indicating copy to clipboard operation
Stylesheets copied to clipboard

Build failed due to missing /tei/Stylesheets/html/g

Open CrazyCrud opened this issue 2 months ago • 2 comments

Hi,

first of all thanks for the ongoing work on the Stylesheets!

I encounter the following error with a completely fresh Docker container:

BUILD FAILED
/tei/Stylesheets/html/build-to.xml:37: The following error occurred while executing this line:
/tei/Stylesheets/common/teianttasks.xml:317: Fatal error during transformation using /tei/Stylesheets/profiles/default/html/to.xsl: I/O error reported by XML parser processing file:/tei/Stylesheets/html/g: /tei/Stylesheets/html/g (No such file or directory);

I'm trying to convert TEI to HTML like this: ./Stylesheets/bin/teitohtml --lang=de Transkriptionen/RUPPIUS/test.xml /tei/Transkriptionen_Ausgabe/RUPPIUS/test.html

More information about the setup:

  • For the setup, I followed this instruction: https://tei-c.org/documentation/tcw32/
  • The input file exists.
  • I used the "dev" as well as the newest release branch "release-7.59.0"
  • The error occurs on Ubuntu as well as on Windows using Docker.

Thank you very much in advance!

Best regards, Constantin

CrazyCrud avatar Oct 10 '25 06:10 CrazyCrud

@CrazyCrud Could you provide your ODD file so we can reproduce the error?

martindholmes avatar Nov 10 '25 00:11 martindholmes

Hi @CrazyCrud , I can't reproduce this on my machine. I tested with

docker run --rm -v /Users/pstadler/repos/Stylesheets:/Stylesheets -v /my/data/dir:/data -w /data teic/teidev-docker /Stylesheets/bin/teitohtml --lang=de input.xml output.html

That is:

  • I mount my local Stylesheets repo (with current dev branch checked out) to /Stylesheets within the docker container
  • I mount my data directory (with the TEI file I want to transform to HTML) to /data within the docker container
  • I set the working directory within the container to /data
  • I directly append the command to run (/Stylesheets/bin/teitohtml --lang=de input.xml output.html) as parameters to the the docker run command

peterstadler avatar Nov 10 '25 10:11 peterstadler