0 votes
256 vues

When I print Psalms I get the following Syntax Error warning:

Examine line 5386 in PSA on the 'Final SFM' tab of the View+Edit page to determine the cause of this issue related to marker: \x as found in the markers: id c. This warning was triggered due to 'Auto-Correct USFM' being enabled on the Advanced tab but is due to an orphaned marker. It means the marker does not belong in that position, or it is missing a valid parent marker.

Line 5386 in PSA doesn't appear to have an orphaned \x marker (I've included lines 5385 and 5387 for context):
5385 \q2 pukue te gonii na agutu sʼsule ba ti;
5386 \q2 eo, e thaurira na tinoni ghinia na lime made te tabu.
5387 \q1

There's nothing in Paratext at that point in the text that I can see. Where else should I look for the source of this warning?

PTXprint par (642 points) | 256 vues

1 Réponse

0 votes
Meilleure réponse

Once again, if you include PSA in the archive you send in (see previous issue), then I can try to decipher this error for you. Sometimes the line number reported is "off" by a few lines, so it is worth looking at the surrounding context to see if there is anything tripping it up near line 5386.

Another thing that sometimes helps discover errors in the USFM is the Schema check in Paratext which takes a deeper dive into examining the structure of your data. As a special technical check, it only shows up if you're holding SHIFT when you click "Run basic checks..." on the Project menu.

par (3,2k points)
sélectionné par
Thanks for the tip about the Schema check. It didn't turn up anything for the Psalms. There were a number of errors elsewhere, however, some of which I was able to correct. But the bulk of them don't make sense to me as when I look at the USFM marking, everything looks fine; or at least exactly the same as countless other contexts that are the same but don't get flagged...
The error looks very familiar, and if it's the same cause as back then, it was an error in the USFM parser code, but I thought we'd fixed it a few months ago. Are you using a recent PTXprint?  
If you are, or updating doesn't fix it,  please send an archive demonstrating the error.
Hi DG, Mark discovered that this was caused by a x-reference attached to a chapter rather than a verse. i think he has updated the code to handle this?
Ok, well, there are different parts of PTXprint.... I hope that Mark or Martin parser have managed to fix that bug. I work far more on the bit of the code that actually does the low level usfm to PDF conversion, which has been able to cope with notes on chapter numbers years iirc.

Questions connexes

0 votes
1 réponse 20 vues
J'utilise PTXprint 3.0.11, mais je ne l'ai pas utilisé depuis un certain temps, il y a donc de ... en utilisant la configuration que j'avais utilisée précédemment. Merci !
MnKN 134 posée févr. 21
0 votes
1 réponse 17 vues
I'm running Ubuntu 25.04, and I installed ptxprint like this: sudo apt install python3-ptxprint I experience ... this version of Python does not have the _posix_flavour attribute.
bit 495 posée oct. 8, 2025
0 votes
1 réponse 45 vues
Mailto: <*Emails are not allowed*> PTXprint [2.7.17] - Error! Failed to create: MSB_BookofMark_XXC_ptxp.pdf ! File ... various settings on the Advanced tab. PTXprint Version 2.7.17
MnKN 134 posée sept. 13, 2025
0 votes
4 réponses 146 vues
I'm trying to print a trial run of a single book (Gospel of John) with the Glossary entries contained in that ... various settings on the Advanced tab. PTXprint Version 2.4.21
aaron_wade 124 posée janv. 15, 2025
0 votes
3 réponses 90 vues
We have just installed 2.5.12 and get an error when changing the language. My team member can't change ... module> AttributeError: 'GtkViewModel' object has no attribute 'configId'
anon703820 222 posée sept. 13, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs