Closed fabianschan closed 6 years ago
What was the branch and version that you were running this on?
I think version 4.0 or 1.0 (?):
`<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>de.unistuttgart.ims</groupId>
<artifactId>de.unistuttgart.ims.drama</artifactId>
<version>1.0.0</version>
</parent>
`
I tried to run it with 771 XML-files and after two, it crashes.
Ran it on /DramaNLP/de.unistuttgart.ims.drama.main$ and made and own make command:
run-scripts:
java -cp target/assembly/drama.Main.jar ${TEI2XMI} --input ~/scripts/data/ --csvOutput ~/scripts/csv/ --collectionId "scripts" --language "en" --corpus CORETEI
@fabsurd Did you check out the code from GitHub and compiled it yourself? Or did I sent you a packaged version?
@nilsreiter I think I cloned it from this github, but we compiled it together in your office
@fabsurd Can you go in the DramaNLP directory in the Terminal and enter git log -n 1
and copy the output? That way I know which version you're using.
@nilsreiter sure!
commit 697dffd318d78a3ffa6180d73be8cc4434c7becc
Merge: b9dcdd0 887ff9d
Author: Nils Reiter <nils.reiter@ims.uni-stuttgart.de>
Date: Mon Mar 26 15:11:14 2018 +0200
Release 1.0
Fixed in 1.0.1.
@fabsurd
git pull
mvn clean compile
(takes a while, but if it worked before, it should work again)(if it works now, we can close this issue)
@nilsreiter
pulling and compiling worked. Now i get this Error right after i start "run-scripts":
fabian@Fabians-MacBook-Pro:~/scripts/DramaNLP/de.unistuttgart.ims.drama.main$ make run-scripts
java -cp target/assembly/drama.Main.jar "de.unistuttgart.ims.drama.main.TEI2XMI" --input ~/scripts/data/ --csvOutput ~/scripts/csv/ --collectionId "scripts" --language "en" --corpus CORETEI
Error: Could not find or load main class de.unistuttgart.ims.drama.main.TEI2XMI
make: *** [run-scripts] Error 1
Did you also compile the main files? If not you can follow step 4 in the readme on https://github.com/quadrama/DramaNLP/blob/master/README.md
@pagelj @nilsreiter seems to work now - thanks!
Cool, thanks @pagelj