allenai / ike

Build tables of information by extracting facts from indexed text corpora via a simple and effective query language.
http://allenai.org/software/interactive-knowledge-extraction/
Apache License 2.0
56 stars 20 forks source link

Can't create index from my data: blank destination file #242

Closed hrishikeshvganu closed 7 years ago

hrishikeshvganu commented 7 years ago

I have created .TEI files using https://github.com/INL/OpenConvert/ When I try to create an index out of those files the run seems to go fine but no index file is written out at the destination

[info] Set current project to ike (in build file:/home/ubuntu/efs-mount-point/P28/in/ike1/ike/)
> ike/runMain org.allenai.ike.index.CreateIndex -t "file:///home/ubuntu/efs-mount-point/P28/in/datastore_out/single.TEI" -d "file:///home/ubuntu/efs-mount-point/P28/in/datastore_index/out.index"
[warn] Credentials file /root/.bintray/.credentials does not exist
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/QueryLanguage.scala:194: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/QueryLanguage.scala:278: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/QueryLanguage.scala:295: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/QueryLanguage.scala:340: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/SimilarPhrasesSearcher.scala:105: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/patterns/PatternUtilities.scala:19: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/ml/subsample/GeneralizedQuerySampler.scala:26: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/SearchApp.scala:161: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/IkeBatchSearch.scala:64: Line is more than 100 characters long
[warn] /home/ubuntu/efs-mount-point/P28/in/ike1/ike/src/main/scala/org/allenai/ike/SearchResultGrouper.scala:180: Line is more than 100 characters long
[info] Running org.allenai.ike.index.CreateIndex -t file:///home/ubuntu/efs-mount-point/P28/in/datastore_out/single.TEI -d file:///home/ubuntu/efs-mount-point/P28/in/datastore_index/out.index
[error] log4j:WARN No appenders could be found for logger (org.allenai.blacklab.search.Searcher).
[error] log4j:WARN Please initialize the log4j system properly.
[error] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[info] 2791 docs done (1 MB, 30k tokens). Average speed 8.3k tokens/s (0.5 MB/s), currently 8.3k tokens/s (0.5 MB/s)
[info] Done. Elapsed time: 3 seconds
[success] Total time: 19 s, completed May 16, 2017 1:52:16 PM
> exit
root@a57ffadf3900:/home/ubuntu/efs-mount-point/P28/in/ike1/ike# less /home/ubuntu/efs-mount-point/P28/in/datastore_index/out.index
/home/ubuntu/efs-mount-point/P28/in/datastore_index/out.index: No such file or directory
hrishikeshvganu commented 7 years ago

I think there were issues with write permissions on the folder. Closing for now