Thanks, you were right. That obvious solution which I had not try, made it work.
Now, first I was wondering if the script for importing the data (load_data.py) can import the data to a non-empty database or not. Because using the "mwdumper" file alone, I could import the data successfully to an empty database, but the documentation of "mwdumper" says that some tables such as "text", "revisions", etc. should be empty before importing.
Second, I got a problem working with "load_data.py". The file db_access_data.ini which should contains the db information asks for the name of the database. I filled it with the correct value, yet it complains that: "ERROR 1146 (42S02) at line 8: Table 'wiki_analysis.text' doesn't exist". The problem is that my tables in this database have a prefix. So, the name of for example "text" table is "wp_phil_text". I changed the database name to "db_name + prefix", but it complained that the database name is wrong. So, what should I do for solving this?
Third, I got a little bit confused. If I want to use the "author reputation" analysis, should I first import the data to the database using any of the previous methods, or simply giving the xml file to the analyzer step will be enough?
I tried with giving the sample xml file in test-data folder to "computing the reduced statistics" step, and I got two files: "*.stats", and "*.stats.info.xml" , but I did not get any "*.out" file as described in README file. I should add that I got "git not found" in the middle of producing these two files. Is this O.K? The ".stats" file is the same as the ".stats" file in "test_input" directory under "batch" directory" when trying with one of the xml files provided there.
Thank you again very much for your time and help,
--Hoda
On Wed, Jul 29, 2009 at 7:41 PM, Luca de Alfaro <lu...@soe.ucsc.edu> wrote:
It may seem obvious, but did you try
Make clean ; make all ; make allopt
?
Luca
---
Sent from mobileOn Jul 29, 2009 5:58 PM, "Hoda Sepehri Raad" <sepeh...@gmail.com> wrote:
Thank you very much for your help. Using godi was a great way. Just could not find "ocaml-pcre" in godi list of packages. After installing all the others, I tried making the "analysis" directory under "batch" directory(I want to use batch mode), I got a new error:
File "textbuf.ml", line 1, characters 0-1:
Could not find the .cmi file for interface textbuf.mli.
No idea what this error could be related to.
Thanks again for your help.
--HodaOn Wed, Jul 29, 2009 at 9:30 AM, Luca de Alfaro <lu...@soe.ucsc.edu> wrote: > > I think the package...