Hi Riko, I don't know what proxy means in this context, but I'm glad that the extraction is working for you now!
Cheers, JC On Tue, Mar 5, 2013 at 4:36 PM, Riko Adi Prasetya <[email protected]> wrote: > Hi Dimitris and Jona, > > Thanks for your reply. > I found the problem. I forgot to configure the proxy in > extraction-framework/pom.xml. > > Regards, > Riko > > ________________________________ > Dari: Dimitris Kontokostas <[email protected]> > Kepada: riko adi prasetya <[email protected]> > Cc: "[email protected]" > <[email protected]> > Dikirim: Senin, 4 Maret 2013 22:06 > Judul: Re: [Dbpedia-discussion] Abstract extraction problem > > Hi Riko, > > I updated the settings in the repository (although I don't think this is it) > but can you pull and retry? > If the problem persists, can you try to debug it and see where exactly in > the retrievePage() function is the problem? > e.g. test the generated url and see what you get > > Best, > Dimitris > > > On Mon, Mar 4, 2013 at 2:54 PM, riko adi prasetya <[email protected]> > wrote: > > > Hi all, > > I have a problem when I am trying to use AbstractExtractor. I have done the > instructions from [1] to make local mediawiki instance. Then, I tested local > mediawiki instance like this : > > http://localhost/mw-modified/api.php?uselang=id&action=parse&text=[[This]]%20is%20a%20[[Test_text|text%20for%20testing]] > > the result : > > <?xml version="1.0"?> > <api> > <parse> > <text xml:space="preserve">This is a text for testing</text> > </parse> > </api> > > I think there are no problem with my local mediawiki instance, but some > problem appear when I am running AbstractExtractor. > > I replaced this line > > private val apiUrl = "http://localhost/mediawiki/api.php" > > with > > private val apiUrl = "http://localhost/mw-modified/api.php" > > Example the error: > > Mar 04, 2013 6:24:24 PM > org.dbpedia.extraction.dump.extract.ExtractionJob$$anonfun$1 apply > WARNING: error processing page 'title=Daftar negara bagian di > Jerman;ns=0/Main/;language:wiki=id,locale=in' > java.lang.Exception: Could not retrieve abstract for page: title=Daftar > negara bagian di Jerman;ns=0/Main/;language:wiki=id,locale=in > at > org.dbpedia.extraction.mappings.AbstractExtractor.retrievePage(AbstractExtractor.scala:134) > at > org.dbpedia.extraction.mappings.AbstractExtractor.extract(AbstractExtractor.scala:66) > at > org.dbpedia.extraction.mappings.AbstractExtractor.extract(AbstractExtractor.scala:21) > at > org.dbpedia.extraction.mappings.CompositeMapping$$anonfun$extract$1.apply(CompositeMapping.scala:13) > at > org.dbpedia.extraction.mappings.CompositeMapping$$anonfun$extract$1.apply(CompositeMapping.scala:13) > at > scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239) > at > scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239) > at > scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) > at scala.collection.immutable.List.foreach(List.scala:76) > at > scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239) > at scala.collection.immutable.List.flatMap(List.scala:76) > at > org.dbpedia.extraction.mappings.CompositeMapping.extract(CompositeMapping.scala:13) > at > org.dbpedia.extraction.mappings.RootExtractor.apply(RootExtractor.scala:23) > at > org.dbpedia.extraction.dump.extract.ExtractionJob$$anonfun$1.apply(ExtractionJob.scala:29) > at > org.dbpedia.extraction.dump.extract.ExtractionJob$$anonfun$1.apply(ExtractionJob.scala:25) > at > org.dbpedia.extraction.util.SimpleWorkers$$anonfun$apply$1$$anon$2.process(Workers.scala:23) > at > org.dbpedia.extraction.util.Workers$$anonfun$1$$anon$1.run(Workers.scala:131) > > > > > Any idea how to fix this problem ? Thank you ! > > > [1] https://github.com/dbpedia/dbpedia/tree/master/abstractExtraction > > ________________________________ > Riko Adi Prasetya > Faculty of Computer Science > Universitas Indonesia > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion > > > > > -- > Kontokostas Dimitris > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
