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
Horrible error message with missing plugin #2247
Comments
Which DITA-OT version? How did you run DITA-OT? |
Version 2.2.2 (most recent one from http://www.dita-ot.org/download). Run: "dita -i test.dita -f pdf" in sample folder. After installing plugin correctly it works fine. |
So you mean in the error message |
Yes its place holder. I just replicated this once more. There is direct copypaste from my console. Compilation works, unistall plugin, compilation give this not so good error.
|
I think it's more correct to say "cannot be located or parsed" - this message will show up when the file cannot be parsed because the DTD is not properly integrated. As I understand it, that was the case here. The problem is that I've run into a lot of people who still wouldn't understand what's wrong if we say "parsed" instead of "read". Maybe we should also change the second part of this to "Ensure that the file was specified properly, and that the document type is supported by the toolkit or a toolkit plugin." I have nothing to back this up, but I'd bet missing / invalid plugins result in this message more often than a lack of permission to read the file. |
This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions. |
At some point I think @robander changed the error message and added to it a "Ensure that grammar files for this document type are referenced and installed properly." |
Indeed - fixed recently in 3.2 with #3124 I marked that one at the time as fixing another long-open defect - appears to be another case where we didn't realize we had a duplicate report of an issue deep in the backlog. |
I tried to run sample file (test.dita) from lightweight project: https://tools.oasis-open.org/version-control/svn/dita/trunk/subcommittees/LightweightDITA/org.oasis.lwdita/samples/
I wasn't installed lightweight dita plugin correctly so it wasn't working but error message was very miss leading:
And since problem from input file perspective is content related error message is clearly wrong (and caused me to debug filesystem / permissions instead of plugin).
The text was updated successfully, but these errors were encountered: