Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #136

Open
andreaacri opened this issue Dec 27, 2023 · 10 comments
Open

bug #136

andreaacri opened this issue Dec 27, 2023 · 10 comments
Assignees

Comments

@andreaacri
Copy link
Contributor

I'm correcting some problematic code snippets (omissions) in the PYñ file

https://erc-dharma.github.io/tfd-nusantara-philology/output/critical-edition/html/DHARMA_CritEdKakavinParthayajna.html.

but I cannot see the display as the xml does not validates and I get the following error:

Engine name: ISO Schematron
Severity: fatal
Description: Internal error evaluating template rule at line 468 in module https://raw.githubusercontent.com/erc-dharma/project-documentation/master/schema/latest/DHARMA_CritEdSchema.rng

@michaelnmmeyer
Copy link
Member

I cannot reproduce the error. Can you try to run a manual build, and paste here error messages, if any? To do so, open a terminal, move to the tfd-nusantara-philology, and run:

ant -buildfile build-critical.xml

This normally takes a few minutes.

@andreaacri
Copy link
Contributor Author

andreaacri commented Dec 28, 2023 via email

@michaelnmmeyer
Copy link
Member

Given the directory structure, you would need:

cd "/Users/andreaacri81/ERC Dharma repositories/tfd-nusantara-philology"
ant -buildfile build-critical.xml

You might need to install ant (see here).

Speaking more generally, you probably have stale files somewhere. Is your project-documentation directory up-to-date with Github? When validating documents, are you clicking on the "Validate" menu entry instead of "Validate (cached)"?

@andreaacri
Copy link
Contributor Author

andreaacri commented Dec 28, 2023 via email

@michaelnmmeyer
Copy link
Member

Apparently you also need to install xcode (see here)

It might be easier if you show me on Zoom, though, when time allows.

@andreaacri
Copy link
Contributor Author

andreaacri commented Dec 28, 2023 via email

@andreaacri
Copy link
Contributor Author

andreaacri commented Dec 28, 2023 via email

@andreaacri
Copy link
Contributor Author

andreaacri commented Dec 28, 2023 via email

@arlogriffiths
Copy link
Contributor

has the issue been resolved now? if so, please close it.

@andreaacri
Copy link
Contributor Author

The issue hasn't been resolved yet (Michaël is working on it), but the error is now harmless as the .html page is updated as per normal even if validation fails (at my end only, so it may be a localised issue). I will close it when the error disappears altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants