-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error on "creating configuration file" on my first attempt to use StaticSearch. #270
Comments
Thanks @peterrobinson , we'll take a look. Are you using Windows, Mac, or Linux? |
I am on a MacBook Pro, with Ventura 13.4. The sample files in the 1.4.4 distribution work just fine. See https://scholarlydigitaleditions.blogspot.com/2023/07/staticsearch-and-me.html |
Digging a little further: the error points to
I don't see any place where "totalKwicLength" is defined.
So I added this line to the And now I get a different error... So now, I add another line to
So, we have lift-off! Suggestions: all this means that the statement in the documentation at 7.5.2 (https://endings.uvic.ca/staticSearch/docs/howDoIUseIt.html#specifyingParameters) that "The |
Thanks, @peterrobinson — you're right on both counts: basically everything in the exemplar config's Since it sounds like this is resolved, I'm going to close the issue, but will make a note on #195 about the documentation. Thanks! |
I have set up staticSearch and it runs the sample materials just fine: you can read about my experiences getting to this point at https://scholarlydigitaleditions.blogspot.com/2023/07/staticsearch-and-me.html.
(Updated.. different error now
When I run it on my own material, however, at first all seems fine: it finds 11 html files, validates them, and all looks good.
But then, I get these errors:
tokenize:
[echo] Creating tokenized XHTML files...
[xslt] Processing /Applications/staticSearch-1.4.4/mystuff/Teseida/test/html/transcripts/AUT/1r.html to /Applications/staticSearch-1.4.4/mystuff/Teseida/test/staticSearch/ssTemp/html/transcripts/AUT/1r_tokenized.html
[xslt] Loading stylesheet /Applications/staticSearch-1.4.4/xsl/tokenize.xsl
[xslt] /Applications/staticSearch-1.4.4/xsl/config.xsl:37:0: Fatal Error! The expression is empty
[xslt] Failed to process null
BUILD FAILED
/Applications/staticSearch-1.4.4/build.xml:239: Java returned: 2
I have no idea why this is not working.
I attach a folder with all my materials and the config file (ssconfig.xml).
test.zip
The text was updated successfully, but these errors were encountered: