Could not locate markup file

Help
Duygu
2012-09-25
2016-04-01
  • Duygu

    Duygu - 2012-09-25

    Hi,
    when I try  > ant build-database , I got "Could not locate markup file" exception but build is successful. What is markup file, I couldn't figure it out. Here is the part:

    build-database:
          Creating the database
          Exception in thread "main" java.io.IOException: Could not locate markup file in /mnt/wikipedia-miner-1.2.0/data/tr_dataDir
          at org.wikipedia.miner.db.WEnvironment.getMarkupDataFile(Unknown Source)
          at org.wikipedia.miner.db.WEnvironment.buildEnvironment(Unknown Source)
          at org.wikipedia.miner.util.EnvironmentBuilder.main(Unknown Source)
          Java Result: 1

    BUILD SUCCESSFUL
    Total time: 8 seconds

    Thanks

     
  • Duygu

    Duygu - 2012-09-25

    Ok I've solved it, xml dump file is supposed end with "-pages-articles.xml".

     
  • RENATO STOFFALETTE JOAO

    For me just changing the xml dump file to end with "-pages-articles.xml" has not solved the problem, but placing the xml dump file inside the same directory where the sumarries files are (i.e. articleParents.csv, categoryParents.csv, childArticles.csv, ..., etc) has.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks