I ran the analysis (with the updated code) for jquery and qemu. In both cases I got: Traceback (most recent call last): File "/home/matthias/.local/bin/codeface", line 9, in <module> load_entry_point('codeface==0.2.0', 'console_scripts', 'codeface')() File "/home/matthias/codeface/codeface/cli.py", line 191, in main return run(sys.argv) File "/home/matthias/codeface/codeface/cli.py", line 187, in run return args.func(args) File "/home/matthias/codeface/codeface/cli.py", line 106, in cmd_run args.profile_r, args.jobs) File "/home/matthias/codeface/codeface/project.py", line 93, in project_analyse endmsg=prefix + "Commit analysis done." File "/home/matthias/codeface/codeface/util.py", line 104, in add func(*args, **kwargs) File "/home/matthias/codeface/codeface/cluster/cluster.py", line 1418, in doProjectAnalysis rc_range) File "/home/matthias/codeface/codeface/cluster/cluster.py", line 1388, in performAnalysis emitStatisticalData(cmtlist, id_mgr, logical_depends, outdir, releaseRangeID,\ UnboundLocalError: local variable 'logical_depends' referenced before assignment ________________________________________ Von: codeface-bounce@xxxxxxxxxxxxx <codeface-bounce@xxxxxxxxxxxxx> im Auftrag von Mitchell Joblin <joblin.m@xxxxxxxxx> Gesendet: Freitag, 30. Januar 2015 16:34 An: codeface@xxxxxxxxxxxxx Betreff: [codeface] Re: AW: Re: Unit tests - Exception in mailing list analysis executing batch.R Hi Matthias, On Fri, Jan 30, 2015 at 3:08 PM, Matthias Gemmer <matthias.gemmer@xxxxxxxxxxxxxxxxxxxx> wrote: > I cloned the latest commit of the branch "mitchell-updates" and installed > codeface. > There are the following failures running unit tests: The test suite is broken in the version you pulled, I just merged some new code that disables the broken tests. Some tests broke because of changes to R dependencies. Despite the failing tests, the analysis will perform correctly. The tests need to be updated to account for the interface changes and this will happen soon. Please give the latest code a try and let me know if you experience any other issues. If you are going to run code on the mitchell-updates branch then you also need to install doxygen. Sorry that wasn't mentioned in the installation guide, once it's merged to master I will change that. Kind regards, Mitchell > > 1) IOError: [Errno 2] No such file or directory: '/tmp/does_not_exist_42_42' > 2015-01-30 15:57:19 [codeface.configuration] MainProcess ERROR: Could not > parse configuration file '/tmp/tmp4cq_OI' > > 2) [codeface.util] MainProcess ERROR: Command 'Rscript -e library(testthat); > if (test_dir(".")$n > 0) stop("Some tests failed.")' failed with exit code 1. > > 3) [codeface.configuration] MainProcess CRITICAL: Malformed configuration: > revision and rcs list lengths differ! Found 5 revisions and 4 release > candidates. > > 4) [codeface.VCS] MainProcess CRITICAL: doxygen analysis error[Errno 2] No > such file or directory - defaulting to Ctags > > 5) [codeface.util] MainProcess ERROR: Command > '/home/matthias/codeface/codeface/R/cluster/persons.r --loglevel devinfo > --logfile /tmp/codeface_test_project9FdvGm/.git/log.R.r0 -c > /home/matthias/codeface/codeface_testing.conf -p > /tmp/codeface_test_project9FdvGm3NuXGh > /tmp/codeface_test_project9FdvGm/.git/results/codeface_test_project9FdvGm/proximity/v0_release-v1_release > 153' failed with exit code 1. > > Best Regards, > Matthias Gemmer > > ________________________________________ > Von: codeface-bounce@xxxxxxxxxxxxx <codeface-bounce@xxxxxxxxxxxxx> im Auftrag > von Wolfgang Mauerer <wm@xxxxxxxxxxxxxxxx> > Gesendet: Dienstag, 27. Januar 2015 13:16 > An: codeface@xxxxxxxxxxxxx > Betreff: [codeface] Re: Unit tests - Exception in mailing list analysis > executing batch.R > > Am 27/01/2015 12:55, schrieb Mitchell Joblin: >> On Tue, Jan 27, 2015 at 9:03 AM, Wolfgang Mauerer <wm@xxxxxxxxxxxxxxxx> >> wrote: >>> >>> >>> Am 26/01/2015 17:33, schrieb Matthias Gemmer: >>>> Hello, >>>> >>>> I am using R version 3.1.2. All required packages should be installed >>>> correctly. >>>> >>>> Running the unit tests still raises an exception, something goes wrong >>>> in the mailinglist analysis: >>>> >>>> Exception: Command '/home/matthias/codeface/codeface/R/ml/batch.r >>>> --logfile /tmp/codeface_test_projectH8ZL0F/.git/log.R.ml.0 --loglevel >>>> devinfo -c /home/matthias/codeface/codeface_testing.conf -p >>>> /tmp/codeface_test_projectH8ZL0F/.git/testproject.conf -j 1 >>>> /tmp/codeface_test_projectH8ZL0F/.git/results/codeface_test_projectH8ZL0F/ml >>>> /tmp/codeface_test_projectH8ZL0F/.git codeface_test_projectH8ZL0F.dev1' >>>> failed with exit code 1. >>>> >>>> The log file says: >>>> $cat /tmp/codeface_test_projectH8ZL0F/.git/log.R.ml.0 >>>> ... >>>> 2015-01-26 14:49:40 [codeface.R.ml.analysis] INFO: Starting mailinglist >>>> analysis >>>> 2015-01-26 14:49:40 [codeface.R] INFO: Traceback: >>>> 0: >>>> 1: config.script.run({ >>>> positional.args <- list("resdir", "mldir", "listname >>>> 2: withCallingHandlers(expr, error = function(e) { >>>> if (!interactive()) { >>>> >>>> 3: dispatch.all(conf, conf$mldir, conf$resdir) >>>> 4: gen.forest(conf, repo.path, resdir) >>>> 5: gen.corpus(conf$listname, repo.path, suffix = ".mbox", marks = >>>> c("^_{10,}", >>>> 6: preprocess(corp) >>>> 7: sapply(corp, Author) >>>> 8: match.fun(FUN) >>>> 2015-01-26 14:49:40 [codeface.R] CRITICAL: object 'Author' not found >>> >>> package tm changed the interface in the latest release (0.6) and does >>> not pro function Author() any more. The replacement call is meta(), see >>> http://cran.r-project.org/web/packages/tm/tm.pdf. >>> The call to Author() needs to be changed (or a replacement provided >>> via meta()); can you please file an appropriate bug? Or better >>> still, submit a patch :) >> >> No need to send a patch for this. I fixed this a while back in >> eef75f98 on the mitchell-updates branch, it just hasn't been merged to >> master yet. Now that I can commit to master I will merge that very >> soon. > great, I did not realise that. I agree that it's high time we merge > your updates branch. I'm fine with the branch. > > Cheers, Wolfgang >> >> --Mitchell >> >> >>> >>> Thanks & best regards, Wolfgang Mauerer >>> >>>> 2015-01-26 14:49:40 [codeface.R] INFO: Error dump was written to >>>> 'error.dump.rda'. >>>> 2015-01-26 14:49:40 [codeface.R] INFO: To debug, launch R and run >>>> 'load("error.dump.rda"); debugger(error.dump)' >>>> >>>> Attached you can find the error dump. >>>> >>>> Kind regards, >>>> Matthias >>>> >>>> >>> >> > >