1
0
-1

Hi,

I was trying extraction of download wiki file and I am getting error like there is no commons wiki file present in commons wiki folder.

Can you tell me what is the purpose of this file and from where I can get this file as download wiki just contain one file.

Regards,

Samresh Kumar

  1. Magnus Knuth

    The actual error message would be helpful, instead of "... getting [an] error like ..."

CommentAdd your comment...

2 answers

  1.  
    1
    0
    -1

    My guess: Check whether the following line in your download.properties is uncommented:

    download=commons:pages-articles.xml.bz2

    This file is (only) needed when the ImageExtractor is enabled. It allows to verify that images linked in the wikipage are part of Wikimedia Commons in order to prevent copyright issues. Alternatively, you could disable the ImageExtractor.

      CommentAdd your comment...
    1.  
      1
      0
      -1

      Can you provide a link to the file you downloaded, that you're trying to extract?  And the command you're using to extract it?  (This is not an answer; it's an effort to get sufficient information to make the question answerable…)

      1. Samresh Kumar Perchani

        Hi,

        I am using following command to extract files :

        mvn scala:run "-Dlauncher=extraction" "-DaddArgs=extraction.default.properties"

        You can use any wiki to reproduce error message.

        Regards,

        Samresh Kumar

      CommentAdd your comment...