Dear Adrian,
Many thanks for your help. Can you please tell me what should 
"\home\release\wikipedia" change to in windows? Because I don't know exactly 
what should I change this path in windows. For example I tried this: 

                                
<arg>C:/Users/ANM/extraction-framework/extraction_framework/.hg/extraction_framework/dump</arg>
but i'm not sure whether it is correct or not.

With Regrads,Abdullah

Date: Sat, 27 Jul 2013 17:52:19 +0200
Subject: Re: [Dbpedia-discussion] How DBpedia Extraction Framework in Windows 7
From: [email protected]
To: [email protected]
CC: [email protected]; 
[email protected]

Dear Abdullah,I only used download and extract goals...As far as I understand 
Import is only needed for importing current wikipedia dumps into mediawiki for 
extracting abstracts.I have never used this goal on Windows. I don't need the 
abstracts currently so I never bothered with Import.
My goal was just to create newer dumps without much headache and see how 
easy/hard it is to create new custom mappings using Scala.
However please be aware that \home\release\wikipedia\wikipedias.csv - is a 
Linux path, not a Windows (C:\...).
As I said all paths need to be Windows paths if you want it to work.
So please have a look at the paths from this 
file:https://github.com/dbpedia/extraction-framework/blob/master/dump/pom.xml

(essentially the POM file for the dump sub-project)...and notice that 
basicallyall the paths are Linux paths instead of the classic Windows paths 
(like C:\dumps\...)
If you want to extract the abstracts you also need to install MediaWiki on 
Windows and fix all those paths as far as I can tell.

Best regards,
Adrian

On Sat, Jul 27, 2013 at 5:39 PM, Abdullah Nasser <[email protected]> wrote:




Dear Adrian,
While I'm trying to run DBpedia Extraction Framework in my machine (Windows 7 
64bit) and when I reach to this step:

"Once everything is compiled, in the same maven's window you have to select 
“DBpedia dump extraction” ->Plugins -> scala ->scala:run" , which is in the 
third section of installing DBpedia Extraction Framework , I got this error:



"C:\Program Files\Java\jdk1.7.0_07\bin\java" -Dmaven.home=C:\maven 
-Dclassworlds.conf=C:\maven\bin\m2.conf -Didea.launcher.port=7533 
"-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 
Community Edition 12.1.4\bin" -Dfile.encoding=UTF-8 -classpath 
"C:\maven\boot\plexus-classworlds-2.4.jar;C:\Program Files 
(x86)\JetBrains\IntelliJ IDEA Community Edition 12.1.4\lib\idea_rt.jar" 
com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher 
--fail-fast --strict-checksums org.scala-tools:maven-scala-plugin:2.15.2:run
[INFO] Scanning for projects...[INFO]                                           
                              [INFO] 
------------------------------------------------------------------------
[INFO] Building DBpedia Dump Extraction 3.8[INFO] 
------------------------------------------------------------------------[INFO] 
[INFO] >>> maven-scala-plugin:2.15.2:run (default-cli) @ dump >>>
[INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
dump ---[debug] execute contextualize[INFO] Using 'UTF-8' encoding to copy 
filtered resources.
[INFO] skip non existing resourceDirectory 
C:\Users\ANM\extraction-framework\extraction_framework\.hg\extraction_framework\dump\src\main\resources[INFO]
 [INFO] --- maven-scala-plugin:2.15.2:compile (process-resources) @ dump ---
[INFO] Checking for multiple versions of scala[INFO] includes = 
[**/*.scala,**/*.java,][INFO] excludes = [][INFO] Nothing to compile - all 
classes are up to date[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dump 
---[INFO] Nothing to compile - all classes are up to date[INFO] [INFO] --- 
maven-scala-plugin:2.15.2:compile (compile) @ dump ---
[INFO] Checking for multiple versions of scala[INFO] includes = 
[**/*.scala,**/*.java,][INFO] excludes = [][INFO] Nothing to compile - all 
classes are up to date[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
dump ---[debug] execute contextualize[INFO] Using 'UTF-8' encoding to copy 
filtered resources.[INFO] skip non existing resourceDirectory 
C:\Users\ANM\extraction-framework\extraction_framework\.hg\extraction_framework\dump\src\test\resources
[INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) 
@ dump ---[INFO] No sources to compile[INFO] [INFO] --- 
maven-scala-plugin:2.15.2:testCompile (test-compile) @ dump ---
[INFO] Checking for multiple versions of scala[INFO] includes = 
[**/*.scala,**/*.java,][INFO] excludes = [][WARNING] No source files 
found.[INFO] [INFO] <<< maven-scala-plugin:2.15.2:run (default-cli) @ dump <<<
[INFO] [INFO] --- maven-scala-plugin:2.15.2:run (default-cli) @ dump ---[INFO] 
Checking for multiple versions of scala[INFO] launcher 'import' selected => 
org.dbpedia.extraction.dump.sql.Import
parsing 
\home\release\wikipedia\wikipedias.csvjava.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:601)     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.io.FileNotFoundException: \home\release\wikipedia\wikipedias.csv (The 
system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)  at 
java.io.FileInputStream.<init>(FileInputStream.java:138)
        at scala.io.Source$.fromFile(Source.scala:91)   at 
scala.io.Source$.fromFile(Source.scala:76)   at 
org.dbpedia.extraction.util.WikiInfo$.fromFile(WikiInfo.scala:26)
        at 
org.dbpedia.extraction.util.ConfigUtils$.parseLanguages(ConfigUtils.scala:43)   
     at org.dbpedia.extraction.dump.sql.Import$.main(Import.scala:26)
        at org.dbpedia.extraction.dump.sql.Import.main(Import.scala)    ... 6 
more[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE[INFO] 
------------------------------------------------------------------------[INFO] 
Total time: 3.948s[INFO] Finished at: Sat Jul 27 04:08:02 BST 2013
[INFO] Final Memory: 9M/218M[INFO] 
------------------------------------------------------------------------[ERROR] 
Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2: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

Process finished with exit code 1


I searched for a solution for this problem and I found one solution provided by 
 Mr.Dimitris in this link:
http://answers.semanticweb.com/questions/18153/dbpedia-38-extraction-missing-wikipediascsv?page=1&focusedAnswerId=18708#18708
, however, the solution was for Linux operating systems. So, do you have any 
solution for this error in Windows operating system?

Many thanks in advance.

With Regards,
Abdullah

From: [email protected]

To: [email protected]; [email protected]

CC: [email protected]
Subject: RE: [Dbpedia-discussion] How DBpedia Extraction Framework in Windows 7
Date: Fri, 26 Jul 2013 18:28:59 +0000





Dear Adrian,
Many thanks for your help, I really appreciate it. I will try to follow your 
instructions in order to run DBpedia Extraction Framework my machine and I will 
let if I have any problem.

Many thanks.
With Regards,Abdullah

Date: Thu, 25 Jul 2013 12:58:36 -0700
From: [email protected]

To: [email protected]
CC: [email protected]; [email protected]; 
[email protected]

Subject: Re: [Dbpedia-discussion] How DBpedia Extraction Framework in Windows 7

Dear Abdullah,
I answered you on your private mail.
Best regards,Adrian


On Thursday, July 25, 2013 9:06:52 PM UTC+2, Abdullah Nasser wrote:


Dear Adrian,
I found a discussion between you and Mr.Dimitris on this link:

http://www.mail-archive.com/[email protected]/msg05325.html

for installing DBpedia extraction framework in windows. I spent very long time 
trying to run it on windows, but unfortunately I couldn't run it :( . So, can 
you please explain to me how can I run DBpedia Extraction Framework in Windows 
7 64bit?

Many thanks in advance!

With Regards,Abdullah                                     
                                                                                
  

                                          
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to