Bug #1835
Mis à jour par Matthieu Decorde il y a environ 9 ans
GL:
<pre>
Saving import parameters...
-- Split-Merge XSL Step with /Users/[...]/test/xsl/1-split-merge
-- Front XSL Step with /Users/[...]/test/xsl/2-front
-- Applying /Users/[...]/test/xsl/2-front/corpus14filtertei.xsl XSL to 0 files with parameters: {output-directory=file:/Users/[...]/TXM/corpora/TEST/src/} on directory /Users/[...]/TXM/corpora/TEST/src result written in /Users/[...]/TXM/corpora/TEST/txm/TEST
-- Check XML files for well-formedness.
No XML file (*.xml) to process. Aborting
Error while importing corpus during 'importer' step, reason=not set.
Import done:160msec (160 ms)
The import process failed.
Running SearchEngine in memory mode.
Index of <[]> with property: [word] in the corpus: TEST
Done: 371 items for 1604 occurrences
</pre>
h3. Solution
Do the XSL steps only if
* the XSL directory exists
* and the XSL directory is not empty
<pre>
Saving import parameters...
-- Split-Merge XSL Step with /Users/[...]/test/xsl/1-split-merge
-- Front XSL Step with /Users/[...]/test/xsl/2-front
-- Applying /Users/[...]/test/xsl/2-front/corpus14filtertei.xsl XSL to 0 files with parameters: {output-directory=file:/Users/[...]/TXM/corpora/TEST/src/} on directory /Users/[...]/TXM/corpora/TEST/src result written in /Users/[...]/TXM/corpora/TEST/txm/TEST
-- Check XML files for well-formedness.
No XML file (*.xml) to process. Aborting
Error while importing corpus during 'importer' step, reason=not set.
Import done:160msec (160 ms)
The import process failed.
Running SearchEngine in memory mode.
Index of <[]> with property: [word] in the corpus: TEST
Done: 371 items for 1604 occurrences
</pre>
h3. Solution
Do the XSL steps only if
* the XSL directory exists
* and the XSL directory is not empty