BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

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

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py C:\new_users\AAAI_DEMO\BATIK\configuration.txt

Traceback (most recent call last): File "C:\temp\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:\new_users\AAAI_DEMO\BATIK\out\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\learning') ('full_configure_file', 'workingDir=C:\new_users\AAAI_DEMO\BATIK\out\ngit=C:\new_users\AAAI_DEMO\BATIK\rootGit\BATIK_folder\nissue_tracker_product_name=BATIK\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(batik_1_0,batik-1_1,batik-1_5,batik-1_6,batik-1_7,batik-1_8,batik-1_9,batik-1_10)') ('docletPath', 'C:\temp\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\distribution_per_version_report.csv') ('experiments', u'C:\new_users\AAAI_DEMO\BATIK\out\experiments') ('sourceMonitorEXE', 'C:\temp\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\temp\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\new_users\AAAI_DEMO\BATIK\rootGit\BATIK_folder') ('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:\temp\Debugger\learner') ('debugger_base_path', 'C:\temp\Debugger') ('paths', ['batik_1_0\repo', 'batik-1_1\repo', 'batik-1_5\repo', 'batik-1_6\repo', 'batik-1_7\repo', 'batik-1_8\repo', 'batik-1_9\repo', 'batik-1_10\repo']) ('versPath', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers') ('buggy_repo', <git.Repo "C:\new_users\AAAI_DEMO\BATIK\rootGit\BATIK_folder.git">) ('buggedType', 'Most') ('traces_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\traces') ('markers_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\markers') ('workingDir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out') ('RemoveBat', 'C:\temp\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\distribution_per_minors_report.csv') ('caching_dir', 'C:\temp\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\learning\AllbutOne') ('confFile', 'C:\new_users\AAAI_DEMO\BATIK\configuration.txt') ('issue_tracker_product', 'BATIK') ('db_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\dbAdd') ('LocalGitPath', u'C:\new_users\AAAI_DEMO\BATIK\out\repo') ('changeFile', u'C:\new_users\AAAI_DEMO\BATIK\out\commitsFiles\Ins_dels.txt') ('vers', ['batik_1_0', 'batik-1_1', 'batik-1_5', 'batik-1_6', 'batik-1_7', 'batik-1_8', 'batik-1_9', 'batik-1_10']) ('utilsPath', 'C:\temp\Debugger\utils') ('checkStyle68', 'C:\temp\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [211936815, 97765971, 5591940, 262104124, 58768328, 150089583, 80622530, 264821386]) ('methodsNamesXML', 'C:\temp\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['batik_1_0', 'batik_1_1', 'batik_1_5', 'batik_1_6', 'batik_1_7', 'batik_1_8', 'batik_1_9', 'batik_1_10']) ('configuration_path', u'C:\new_users\AAAI_DEMO\BATIK\out\configuration') ('amir_tracer', 'C:\temp\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\distribution_report.csv') ('weka_path', u'C:\new_users\AAAI_DEMO\BATIK\out\weka') ('granularity', 'File') ('vers_paths', [u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_0', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_1', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_5', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_6', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_7', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_8', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_9', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\vers\batik_1_10']) ('configuration', <utilsConf.Configuration object at 0x0000000007CB4898>) ('bugsPath', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/batik']) ('repo', <git.Repo "C:\temp\Debugger.git">) ('dates', ['2001-12-06 14:57:36', '2018-05-23 11:34:43', '2003-07-11 15:32:40', '2005-04-10 16:37:48', '2008-01-03 00:23:56', '2015-03-17 12:22:58', '2017-04-10 10:58:48', '2001-05-21 05:22:13']) ('renamed_mapping', {}) ('versions', ['batik_1_0', 'batik-1_1', 'batik-1_5', 'batik-1_6', 'batik-1_7', 'batik-1_8', 'batik-1_9', 'batik-1_10']) ('wekaJar', 'C:\temp\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\new_users\AAAI_DEMO\BATIK\out\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\new_users\AAAI_DEMO\BATIK\out\learning\One') ('debugger_commit', '06f41f4aa954c9415a1aa564ec0790d0bd132606') ('web_prediction_results', u'C:\new_users\AAAI_DEMO\BATIK\out\web_prediction_results') ('allchecks', 'C:\temp\Debugger\utils\allChecks.xml')