-
Notifications
You must be signed in to change notification settings - Fork 3
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
rules missing #7
Comments
Regarding this part of the issue:
I can't replicate this at a low level in jtf-lib. In other words, I am indeed getting a parser error with that example. The following little script: const { ATF2JTF } = require("./src/Converters/ATF2JTF.js");
const example = `&P123456 = OIP 115, 164
#atf: lang sux
2. mu-kux(DU)`;
ATF2JTF(example, '', false); Produces this output in the terminal:
Unless I have misunderstood something, it might be the case that this error is being swallowed higher up in the application stack? |
@epageperron I can also now confirm that the second error you are reporting (space between qualified sign reading and its name) is also giving an error at the low level of the library. Here is a quick scripted example: const { ATF2JTF } = require("./src/Converters/ATF2JTF");
// NOTE: I've added the object and surface type
// so that the parser doesn't error on those
const example2 = `&P123456 = OIP 115, 164
#atf: lang sux
@tablet
@obverse
2. mu-kux (DU)`; // Space added here
ATF2JTF(example2); The terminal output is catching the error as far as I can tell:
I suspect as with the object/surface declarations that something higher up is swallowing these errors. |
Errors are put in a field in the returned JTF I think, so they would always be caught (and the logging isn't necessary, I think). |
Sounds like this must be an issue at the web application level then, right? (I can't access the original link in provided in the first post of this issue) |
I'll open an issue on the framework side, we can keep this open until the other one is resolved I think |
Using https://cdli-dev.mpiwg-berlin.mpg.de/inscriptions/add
When changing the line 2. mu-kux(DU) to 2. mu-kux (DU) with ATF from P123456, it doesn't give an error.
Also
Also goes through, no declaration of object or surface
The text was updated successfully, but these errors were encountered: