BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : 'TestRunner' object has no attribute 'tracer' #1143

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py C:\amirelm\minors_configurations\CODEC

Traceback (most recent call last): File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 402, in f ans = func(*args, **kwargs) File "wrapper.py", line 418, in executeTests components_priors = get_components_probabilities(bugged_type, granularity, test_runner, tests) File "wrapper.py", line 444, in get_components_probabilities reduce(list.add, map(lambda test_name: test_runner.tracer.traces[test_name].get_trace(granularity), tests), [])): File "wrapper.py", line 444, in reduce(list.add, map(lambda test_name: test_runner.tracer.traces[test_name].get_trace(granularity), tests), [])): AttributeError: 'TestRunner' object has no attribute 'tracer'

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'C:\amirelm\projects_minors\CODEC\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\amirelm\projects_minors\CODEC\learning') ('full_configure_file', 'workingDir=C:\amirelm\projects_minors\CODEC\ngit=C:\amirelm\repos\CODEC\nissue_tracker_product_name=CODEC\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(CODEC_1_1,CODEC_1_2,CODEC_1_3,commons-codec-1.5,CODEC_1_4,1_6,1.7,1.8,1.9,1.10)') ('docletPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\amirelm\projects_minors\CODEC\distribution_per_version_report.csv') ('experiments', u'C:\amirelm\projects_minors\CODEC\experiments') ('sourceMonitorEXE', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\amirelm\projects_minors\CODEC\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\amirelm\repos\CODEC') ('prediction_files', {'Most': {'Method': 'prediction_Method_Most.csv', 'File': 'prediction_File_Most.csv'}, 'All': {'Method': 'prediction_Method_All.csv', 'File': 'prediction_File_All.csv'}}) ('current_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\learner') ('debugger_base_path', 'C:\Users\amirelm\Documents\GitHub\Debugger') ('paths', ['CODEC_1_1\repo', 'CODEC_1_2\repo', 'CODEC_1_3\repo', 'commons-codec-1.5\repo', 'CODEC_1_4\repo', '1_6\repo', '1.7\repo', '1.8\repo', '1.9\repo', '1.10\repo']) ('versPath', u'\\?\C:\amirelm\projects_minors\CODEC\vers') ('buggy_repo', <git.Repo "C:\amirelm\repos\CODEC.git">) ('buggedType', 'Most') ('traces_dir', u'\\?\C:\amirelm\projects_minors\CODEC\traces') ('markers_dir', u'\\?\C:\amirelm\projects_minors\CODEC\markers') ('workingDir', u'\\?\C:\amirelm\projects_minors\CODEC') ('RemoveBat', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\amirelm\projects_minors\CODEC\distribution_per_minors_report.csv') ('caching_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\amirelm\projects_minors\CODEC\learning\AllbutOne') ('confFile', 'C:\amirelm\minors_configurations\CODEC') ('issue_tracker_product', 'CODEC') ('db_dir', u'\\?\C:\amirelm\projects_minors\CODEC\dbAdd') ('LocalGitPath', u'C:\amirelm\projects_minors\CODEC\repo') ('changeFile', u'C:\amirelm\projects_minors\CODEC\commitsFiles\Ins_dels.txt') ('vers', ['CODEC_1_1', 'CODEC_1_2', 'CODEC_1_3', 'commons-codec-1.5', 'CODEC_1_4', '1_6', '1.7', '1.8', '1.9', '1.10']) ('utilsPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils') ('checkStyle68', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [245212113, 25405952, 178882729, 86834291, 37694116, 189681390, 46174298, 28282776, 255286550, 47081361]) ('methodsNamesXML', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['CODEC_1_1', 'CODEC_1_2', 'CODEC_1_3', 'commons_codec_1_5', 'CODEC_1_4', '1_6', '1_7', '1_8', '1_9', '1_10']) ('configuration_path', u'C:\amirelm\projects_minors\CODEC\configuration') ('amir_tracer', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\amirelm\projects_minors\CODEC\distribution_report.csv') ('weka_path', u'C:\amirelm\projects_minors\CODEC\weka') ('granularity', 'File') ('vers_paths', [u'\\?\C:\amirelm\projects_minors\CODEC\vers\CODEC_1_1', u'\\?\C:\amirelm\projects_minors\CODEC\vers\CODEC_1_2', u'\\?\C:\amirelm\projects_minors\CODEC\vers\CODEC_1_3', u'\\?\C:\amirelm\projects_minors\CODEC\vers\commons_codec_1_5', u'\\?\C:\amirelm\projects_minors\CODEC\vers\CODEC_1_4', u'\\?\C:\amirelm\projects_minors\CODEC\vers\1_6', u'\\?\C:\amirelm\projects_minors\CODEC\vers\1_7', u'\\?\C:\amirelm\projects_minors\CODEC\vers\1_8', u'\\?\C:\amirelm\projects_minors\CODEC\vers\1_9', u'\\?\C:\amirelm\projects_minors\CODEC\vers\1_10']) ('configuration', <utilsConf.Configuration object at 0x1B69DE70>) ('bugsPath', u'\\?\C:\amirelm\projects_minors\CODEC\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/commons-codec.git']) ('repo', <git.Repo "C:\Users\amirelm\Documents\GitHub\Debugger.git">) ('dates', ['2014-11-10 04:32:15', '2012-09-14 23:05:59', '2013-04-28 21:39:03', '2013-12-24 22:18:30', '2012-03-05 23:58:59', '2007-07-29 06:42:34', '2007-07-29 06:42:34', '2007-07-29 06:42:34', '2011-12-07 19:45:48', '2011-03-30 01:18:38']) ('renamed_mapping', {}) ('versions', ['CODEC_1_1', 'CODEC_1_2', 'CODEC_1_3', 'commons-codec-1.5', 'CODEC_1_4', '1_6', '1.7', '1.8', '1.9', '1.10']) ('wekaJar', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\amirelm\projects_minors\CODEC\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\amirelm\projects_minors\CODEC\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\amirelm\projects_minors\CODEC\learning\One') ('debugger_commit', '1a50ba11d299bbe052befd484aaf5c596e777c7c') ('web_prediction_results', u'C:\amirelm\projects_minors\CODEC\web_prediction_results') ('allchecks', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\allChecks.xml')