Hi all,
I've exhausted my own troubleshooting on this issue below, and hope someone
can point me in the right direction for next steps. This is the first time
I am trying to do the extractions locally and have followed all directions
I can find. I have tried the latest code from the master branch on the
extraction-framework as well as the DBpedia Release 3.9 to no avail. My
next try is an older version of the wikipedia dumps ( I have used the
August and September 2014 dumps to date).
After about 12 -13 hours of running an extraction I always get a
"NoSuchElementException" failure at "Queen Isabel II Statue". Querying my
local wikipedia db "select * from page where page_title like
"Queen_Isabel_II_Statue_(Manila)" and page_namespace =0" does return a
record.
Thanks in advance,
Nick
found by dbpedia: [title=Queen Isabel II Statue,
Manila;ns=0/Main/;language:wiki=en,locale=en].
found by wikipedia: [title=Queen Isabel II Statue
(Manila);ns=0/Main/;language:wiki=en,locale=en]
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
org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
at
org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
Caused by: java.util.NoSuchElementException: key not found: 2600
at scala.collection.MapLike$class.default(MapLike.scala:228)
at scala.collection.AbstractMap.default(Map.scala:58)
at scala.collection.MapLike$class.apply(MapLike.scala:141)
at scala.collection.AbstractMap.apply(Map.scala:58)
at
org.dbpedia.extraction.sources.WikipediaDumpParser.readPage(WikipediaDumpParser.java:219)
at
org.dbpedia.extraction.sources.WikipediaDumpParser.readPages(WikipediaDumpParser.java:187)
at
org.dbpedia.extraction.sources.WikipediaDumpParser.readDump(WikipediaDumpParser.java:145)
at
org.dbpedia.extraction.sources.WikipediaDumpParser.run(WikipediaDumpParser.java:116)
at
org.dbpedia.extraction.sources.XMLReaderSource.foreach(XMLSource.scala:65)
at
scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
at
org.dbpedia.extraction.sources.XMLReaderSource.flatMap(XMLSource.scala:61)
at
org.dbpedia.extraction.mappings.Redirects$.loadFromSource(Redirects.scala:165)
at
org.dbpedia.extraction.mappings.Redirects$.load(Redirects.scala:116)
at
org.dbpedia.extraction.dump.extract.ConfigLoader$$anon$1.<init>(ConfigLoader.scala:97)
at org.dbpedia.extraction.dump.extract.ConfigLoader.org
$dbpedia$extraction$dump$extract$ConfigLoader$$createExtractionJob(ConfigLoader.scala:52)
at
org.dbpedia.extraction.dump.extract.ConfigLoader$$anonfun$getExtractionJobs$1.apply(ConfigLoader.scala:37)
at
org.dbpedia.extraction.dump.extract.ConfigLoader$$anonfun$getExtractionJobs$1.apply(ConfigLoader.scala:37)
at
scala.collection.GenTraversableViewLike$Mapped$$anonfun$foreach$2.apply(GenTraversableViewLike.scala:81)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at
scala.collection.immutable.RedBlackTree$TreeIterator.foreach(RedBlackTree.scala:422)
at
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at
scala.collection.IterableLike$$anon$1.foreach(IterableLike.scala:294)
at
scala.collection.GenTraversableViewLike$Mapped$class.foreach(GenTraversableViewLike.scala:80)
at
scala.collection.IterableViewLike$$anon$3.foreach(IterableViewLike.scala:84)
at
org.dbpedia.extraction.dump.extract.Extraction$.main(Extraction.scala:30)
at
org.dbpedia.extraction.dump.extract.Extraction.main(Extraction.scala)
... 6 more
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion