Hi there,

I regenerated the settings files.
Please pull from the master and try again.

I will have a closer look at this root problem in the coming days so this
won't happen again.

Best luck with the GSoC.

On Tue, May 17, 2016 at 2:58 PM, Federica Baiocchi <feddie...@gmail.com>
wrote:

> Hi all,
> I am a GSoC student working on the List Extractor and I am trying to use
> the extraction framework, but unfortunately I am facing many problems. I
> have already read the documentation and many discussions about it but I
> couldn't find a solution.
>
> I followed the instructions in
> https://github.com/dbpedia/extraction-framework/wiki/Extraction-Instructions
> and proceeded with downloading the dumps,
> I was successful for as regards the download config files
> 'download.minimal.properties' and 'download.wikidata.properties', but when
> I try to use 'download.10000.properties' I get this error:
>
> [INFO] launcher 'download' selected =>
> org.dbpedia.extraction.dump.download.Download
> downloading '
> http://wikistats.wmflabs.org/api.php?action=dump&table=wikipedias&format=csv'
> to 'C:\Users\Federica\Desktop\extraction\wikipedias.csv'
> read 48.77539 KB of ? B in 0.015 seconds (3.1754808 MB/s)
> parsing C:\Users\Federica\Desktop\extraction\wikipedias.csv
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
>         at
> scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> Caused by: java.lang.IllegalArgumentException: unknown language code min
>         at
> org.dbpedia.extraction.util.Language$$anonfun$apply$1.apply(Language.scala:185)
>         at
> org.dbpedia.extraction.util.Language$$anonfun$apply$1.apply(Language.scala:185)
>         at scala.collection.MapLike$class.getOrElse(MapLike.scala:128)
>         at scala.collection.AbstractMap.getOrElse(Map.scala:59)
>         at org.dbpedia.extraction.util.Language$.apply(Language.scala:185)
>         at
> org.dbpedia.extraction.util.WikiInfo$.fromLine(WikiInfo.scala:69)
>         at
> org.dbpedia.extraction.util.WikiInfo$$anonfun$fromLines$1.apply(WikiInfo.scala:50)
>         at
> org.dbpedia.extraction.util.WikiInfo$$anonfun$fromLines$1.apply(WikiInfo.scala:50)
>         at scala.collection.Iterator$class.foreach(Iterator.scala:743)
>         at scala.collection.AbstractIterator.foreach(Iterator.scala:1195)
>         at
> org.dbpedia.extraction.util.WikiInfo$.fromLines(WikiInfo.scala:50)
>         at
> org.dbpedia.extraction.util.WikiInfo$.fromSource(WikiInfo.scala:37)
>         at
> org.dbpedia.extraction.util.WikiInfo$.fromFile(WikiInfo.scala:28)
>         at
> org.dbpedia.extraction.dump.download.Download$.main(Download.scala:52)
>         at
> org.dbpedia.extraction.dump.download.Download.main(Download.scala)
>         ... 6 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20.363 s
> [INFO] Finished at: 2016-05-17T14:19:22+02:00
> [INFO] Final Memory: 19M/409M
> [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: -10000 (Exit value: -10000) -> [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
>
> Is there something wrong with the Wikipedias.csv file? I couldn't find the
> error associated with "unknown language code min".
> Moreover, I can't go on with the extraction because if I run for example:  mvn
> scala:run "-Dlauncher=extraction" "-DaddArgs=extraction.default.properties"
>  (I am in a Windows OS), I get a similar error:
>
> [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:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
>         at
> scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> Caused by: java.lang.ExceptionInInitializerError
>         at
> org.dbpedia.extraction.wikiparser.Namespace$.get(Namespace.scala:146)
>         at
> org.dbpedia.extraction.util.ExtractorUtils$.liftedTree1$1(ExtractorUtils.scala:80)
>         at
> org.dbpedia.extraction.util.ExtractorUtils$.<init>(ExtractorUtils.scala:74)
>         at
> org.dbpedia.extraction.util.ExtractorUtils$.<clinit>(ExtractorUtils.scala)
>         at
> org.dbpedia.extraction.dump.extract.Config.loadExtractorClasses(Config.scala:79)
>         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
> Caused by: java.lang.IllegalArgumentException: unknown language code min
>         at
> org.dbpedia.extraction.util.Language$$anonfun$apply$1.apply(Language.scala:185)
>         at
> org.dbpedia.extraction.util.Language$$anonfun$apply$1.apply(Language.scala:185)
>         at scala.collection.MapLike$class.getOrElse(MapLike.scala:128)
>         at scala.collection.AbstractMap.getOrElse(Map.scala:59)
>         at org.dbpedia.extraction.util.Language$.apply(Language.scala:185)
>         at
> org.dbpedia.extraction.wikiparser.impl.wikipedia.Namespaces$$anonfun$6.apply(Namespaces.scala:322)
>         at
> org.dbpedia.extraction.wikiparser.impl.wikipedia.Namespaces$$anonfun$6.apply(Namespaces.scala:321)
>         at
> scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)
>         at
> scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:221)
>         at
> scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:428)
>         at
> scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:428)
>         at
> scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)
>         at
> org.dbpedia.extraction.wikiparser.impl.wikipedia.Namespaces$.<init>(Namespaces.scala:321)
>         at
> org.dbpedia.extraction.wikiparser.impl.wikipedia.Namespaces$.<clinit>(Namespaces.scala)
>         ... 14 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4.116 s
> [INFO] Finished at: 2016-05-17T14:45:44+02:00
> [INFO] Final Memory: 16M/222M
> [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: -10000 (Exit value: -10000) -> [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
>
>
> I have spent a considerable amount of time about this issue, I am sorry if
> it is a trivial question and any help would be greatly appreciated.
> Regards,
> Federica.
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to