Feature #1631
Provide better notification when transform RDF file has syntax errors etc
Status: | New | Start date: | 2016-02-23 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
Luwei just reported a problem when trying to use a transform RDF file that had been edited using Text.app on a Mac. The editor had converted the double-quotes around a number to smart quotes, breaking the Turtle syntax.
Sonic Annotator does display an error when this happens, but it's not a very helpful one. There's a Turtle parser error some 60 or so lines before the end of its output, but that is followed by an invalid XML error (!), a dump of the entire input file, and some higher-level errors that can't be readily traced back to the problem.
The bit of output that says
TransformFactory: ERROR: transform id "" is of unknown type ERROR: Failed to load plugin for transform ""
really needs to note that the root cause is a syntax error in the transform file.