this indicates the you din't run the download first or the languages you
downloaded are not the same in the extraction config
On Wed, Jan 27, 2016 at 2:18 PM, Ipsita Samal <ipsitab...@gmail.com> wrote:
> Hi Dimitris,
>
> Thank you, after checking all the parameters, and the path of the
> target-dir, I could compile using extract*ion* command. I moved the
> frwiki directory to be inside the extraction directory, and it solved the
> problem.
>
> The problem of it not being able to find wikipedias.csv was solved by
> changing languages=fr from languages=10000-, in extraction properties file,
> and running ../clean-install-run extraction extraction.default.properties
>
> Thanks,
> Ipsita
> ᐧ
>
> On Wed, Jan 27, 2016 at 5:24 PM, Ipsita Samal <ipsitab...@gmail.com>
> wrote:
>
>> Hi Dimitris,
>>
>> I did try that, but it resulted in build failure, due to absence of file
>> wikipedias.csv. I am pasting the terminal output below for reference.
>>
>> Then, according to
>> https://www.mail-archive.com/dbpedia-discussion@lists.sourceforge.net/msg03921.html,
>> which addresses a similar issue, I changed the command to 'extract'. Please
>> help on what should be the correct way to run extraction.
>>
>> Terminal output:
>>
>> $ ../run extraction extraction.default.properties
>> [INFO] Scanning for projects...
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building DBpedia Dump Extraction 4.1-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] >>> scala-maven-plugin:3.2.0:run (default-cli) @ dump >>>
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (default) @ dump ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>> dump ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/ipsita/Work/DBPedia/extraction-framework/dump/src/main/resources
>> [INFO]
>> [INFO] --- scala-maven-plugin:3.2.0:compile (process-resources) @ dump ---
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dump ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- scala-maven-plugin:3.2.0:compile (compile) @ dump ---
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.3:testResources
>> (default-testResources) @ dump ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/ipsita/Work/DBPedia/extraction-framework/dump/src/test/resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
>> dump ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- scala-maven-plugin:3.2.0:testCompile (test-compile) @ dump ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] <<< scala-maven-plugin:3.2.0:run (default-cli) @ dump <<<
>> [INFO]
>> [INFO] --- scala-maven-plugin:3.2.0:run (default-cli) @ dump ---
>> [INFO] launcher 'extraction' selected =>
>> org.dbpedia.extraction.dump.extract.Extraction
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
>> at
>> scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
>> Caused by: java.lang.IllegalArgumentException: dir
>> /media/ipsita/Other/extraction does not exist
>> at org.dbpedia.extraction.dump.extract.Config.org
>> $dbpedia$extraction$dump$extract$Config$$error(Config.scala:83)
>> at
>> org.dbpedia.extraction.dump.extract.Config$$anonfun$dumpDir$1.apply(Config.scala:26)
>> at
>> org.dbpedia.extraction.dump.extract.Config$$anonfun$dumpDir$1.apply(Config.scala:24)
>> at org.dbpedia.extraction.util.ConfigUtils$.getValue(ConfigUtils.scala:41)
>> at
>> org.dbpedia.extraction.dump.extract.Config.dumpDir$lzycompute(Config.scala:23)
>> at org.dbpedia.extraction.dump.extract.Config.dumpDir(Config.scala:23)
>> at
>> org.dbpedia.extraction.dump.extract.Config.loadExtractorClasses(Config.scala:77)
>> at org.dbpedia.extraction.dump.extract.Config.<init>(Config.scala:58)
>> at
>> org.dbpedia.extraction.dump.extract.Extraction$.main(Extraction.scala:27)
>> at org.dbpedia.extraction.dump.extract.Extraction.main(Extraction.scala)
>> ... 6 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 5.021s
>> [INFO] Finished at: Wed Jan 27 17:19:15 IST 2016
>> [INFO] Final Memory: 12M/165M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> net.alchim31.maven:scala-maven-plugin:3.2.0:run (default-cli) on project
>> dump: wrap: org.apache.commons.exec.ExecuteException: Process exited with
>> an error: 240 (Exit value: 240) -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>
>>
>> Regards,
>> Ipsita
>> ᐧ
>>
>> On Wed, Jan 27, 2016 at 5:18 PM, Dimitris Kontokostas <jimk...@gmail.com>
>> wrote:
>>
>>> according to
>>> https://github.com/dbpedia/extraction-framework/wiki/Extraction-Instructions
>>> it should be ../run extract*ion ... (*not extract*)*
>>>
>>>
>>> On Wed, Jan 27, 2016 at 1:42 PM, Ipsita Samal <ipsitab...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> While running the extraction framework, *no extraction output is
>>>> generated *though it says BUILD SUCCESS. Could someone please guide me
>>>> on why no extraction output is generated on running ../run extract
>>>> extraction.default.properties from the dump directory?
>>>>
>>>> The /media/ipsita/Other/download directory contains the frwiki, and
>>>> the corresponding downloaded articles.
>>>>
>>>> In extraction.default.properties,
>>>> base-dir=/media/ipsita/Other/extraction.
>>>>
>>>> In config.properties.default,
>>>> base-dir=/media/ipsita/Other.
>>>>
>>>> Further, in accordance to this mailing list archive ->
>>>> https://www.mail-archive.com/dbpedia-discussion@lists.sourceforge.net/msg03921.html
>>>> , I have specified languages=fr in extraction.default.properties
>>>>
>>>>
>>>> Output on running ../run extract extraction.default.properties :
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building DBpedia Dump Extraction 4.1-SNAPSHOT
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> [INFO] >>> scala-maven-plugin:3.2.0:run (default-cli) @ dump >>>
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (default) @ dump ---
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>>> dump ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/ipsita/Work/DBPedia/extraction-framework/dump/src/main/resources
>>>> [INFO]
>>>> [INFO] --- scala-maven-plugin:3.2.0:compile (process-resources) @ dump
>>>> ---
>>>> [INFO] Nothing to compile - all classes are up to date
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dump
>>>> ---
>>>> [INFO] No sources to compile
>>>> [INFO]
>>>> [INFO] --- scala-maven-plugin:3.2.0:compile (compile) @ dump ---
>>>> [INFO] Nothing to compile - all classes are up to date
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:2.3:testResources
>>>> (default-testResources) @ dump ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/ipsita/Work/DBPedia/extraction-framework/dump/src/test/resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
>>>> @ dump ---
>>>> [INFO] No sources to compile
>>>> [INFO]
>>>> [INFO] --- scala-maven-plugin:3.2.0:testCompile (test-compile) @ dump
>>>> ---
>>>> [INFO] No sources to compile
>>>> [INFO]
>>>> [INFO] <<< scala-maven-plugin:3.2.0:run (default-cli) @ dump <<<
>>>> [INFO]
>>>> [INFO] --- scala-maven-plugin:3.2.0:run (default-cli) @ dump ---
>>>> [WARNING] Not mainClass or valid launcher found/define
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 4.541s
>>>> [INFO] Finished at: Wed Jan 27 15:15:32 IST 2016
>>>> [INFO] Final Memory: 12M/164M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Regards,
>>>> Ipsita
>>>> ᐧ
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>> Monitor end-to-end web transactions and take corrective actions now
>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>>> _______________________________________________
>>>> Dbpedia-developers mailing list
>>>> Dbpedia-developers@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>>>
>>>>
>>>
>>>
>>> --
>>> Kontokostas Dimitris
>>>
>>
>>
>
--
Kontokostas Dimitris
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Dbpedia-developers mailing list
Dbpedia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers