siemens / codeface

Codeface is a framework for analysing technical and social aspects of software development
siemens.github.io/codeface
GNU General Public License v2.0
67 stars 38 forks source link

(Bug) Email sentences can't start with "From" #43

Closed smnmgn closed 8 years ago

smnmgn commented 8 years ago

If an email in the .mbox file has a sencence that starts with the "From" word, codeface crashes.

Error:

2016-03-15 17:55:36 [codeface.R] WARNING: Name '151' from communication network not in initiate.response list
2016-03-15 17:55:36 [codeface.R] INFO: Traceback:
  0: 
  1: config.script.run({
         positional.args <- list("resdir", "mldir", "listnam
  2: withCallingHandlers(expr, error = function(e) {
         if (!interactive()) {

  3: dispatch.all(conf, conf$mldir, conf$resdir)
  4: analyse.sub.sequences(conf, corp.base, release.intervals, repo.path, resdir
  5: mclapply.db(conf, 1:length(iter), function(conf, i) {
         loginfo(paste("Pr
  6: mclapply(X, function(i) {
         conf <- init.db.global(conf)
         res.local <-
  7: lapply(X = X, FUN = FUN, ...)
  8: FUN(X[[i]], ...)
  9: FUN(conf, i)
 10: dispatch.steps(conf, repo.path, data.path.local, forest.corp.sub, cycles[i,
 11: data.frame(subject = thread.info$subject, createdBy = authorIDs, projectId 
 12: as.data.frame(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors)
 13: as.data.frame.list(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFac
 14: eval(as.call(c(expression(data.frame), x, check.names = !optional, stringsA
 15: eval(expr, envir, enclos)
 16: data.frame("2015-03-08 16:10:32", "2015-04-24 04:12:18", "2015-03-12 16:19:
 17: stop(gettextf("arguments imply differing number of rows: %s", paste(unique(
2016-03-15 17:55:36 [codeface.R] CRITICAL: arguments imply differing number of rows: 1, 0
smnmgn commented 8 years ago

Uh. Indeed the mbox file I got does not follow that format, thank you.