BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : too many values to unpack #1186

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\wrapper.py C:\Users\eranhe\Fault_Predicition_Defect4J\projects\conf\maven-javadoc-plugin_conf.txt learn

Traceback (most recent call last): File "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\utilsConf.py", line 381, in f ans = func(*args, **kwargs) File "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\wekaMethods\buildDB.py", line 338, in buildOneTimeCommits blamePath, date, CodeDir) File "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\wekaMethods\buildDB.py", line 239, in BuildAllOneTimeCommits insert_values_into_table(conn, "AllMethods", checkReport.analyzeCheckStyle(checkStyleMethods)) File "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\wekaMethods\checkReport.py", line 370, in analyzeCheckStyle methods = checkStyleCreateDict(lines) File "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner\wekaMethods\checkReport.py", line 350, in checkStyleCreateDict file, data = o.split(" ") ValueError: too many values to unpack

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\learning') ('full_configure_file', 'workingDir=C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\ngit=C:\Users\eranhe\Fault_Predicition_Defect4J\repo\maven-javadoc-plugin\nissue_tracker_product_name=MJAVADOC\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(maven-javadoc-plugin-2.0,maven-javadoc-plugin-2.1,maven-javadoc-plugin-2.2,maven-javadoc-plugin-2.3,maven-javadoc-plugin-2.4,maven-javadoc-plugin-2.5,maven-javadoc-plugin-2.6,maven-javadoc-plugin-2.7,maven-javadoc-plugin-2.8,maven-javadoc-plugin-2.9,maven-javadoc-plugin-2.10,maven-javadoc-plugin-3.0.0)') ('docletPath', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\distribution_per_version_report.csv') ('experiments', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\experiments') ('sourceMonitorEXE', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\repo\maven-javadoc-plugin') ('prediction_files', {'files': {'most': 'prediction_Most_files.csv', 'all': 'prediction_All_files.csv'}, 'methods': {'most': 'prediction_Most_methods.csv', 'all': 'prediction_All_methods.csv'}}) ('current_dir', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\learner') ('debugger_base_path', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger') ('paths', ['maven-javadoc-plugin-2.0\repo', 'maven-javadoc-plugin-2.1\repo', 'maven-javadoc-plugin-2.2\repo', 'maven-javadoc-plugin-2.3\repo', 'maven-javadoc-plugin-2.4\repo', 'maven-javadoc-plugin-2.5\repo', 'maven-javadoc-plugin-2.6\repo', 'maven-javadoc-plugin-2.7\repo', 'maven-javadoc-plugin-2.8\repo', 'maven-javadoc-plugin-2.9\repo', 'maven-javadoc-plugin-2.10\repo', 'maven-javadoc-plugin-3.0.0\repo']) ('versPath', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers') ('buggy_repo', <git.Repo "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\maven-javadoc-plugin.git">) ('markers_dir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\markers') ('workingDir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1') ('RemoveBat', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\distribution_per_minors_report.csv') ('caching_dir', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\learning\AllbutOne') ('confFile', 'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\conf\maven-javadoc-plugin_conf.txt') ('issue_tracker_product', 'MJAVADOC') ('db_dir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\dbAdd') ('LocalGitPath', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\repo') ('changeFile', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\commitsFiles\Ins_dels.txt') ('vers', ['maven-javadoc-plugin-2.0', 'maven-javadoc-plugin-2.1', 'maven-javadoc-plugin-2.2', 'maven-javadoc-plugin-2.3', 'maven-javadoc-plugin-2.4', 'maven-javadoc-plugin-2.5', 'maven-javadoc-plugin-2.6', 'maven-javadoc-plugin-2.7', 'maven-javadoc-plugin-2.8', 'maven-javadoc-plugin-2.9', 'maven-javadoc-plugin-2.10', 'maven-javadoc-plugin-3.0.0']) ('utilsPath', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils') ('checkStyle68', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [240565926, 152658939, 15207906, 48465562, 181968137, 85079374, 71934381, 37392711, 223453133, 128425260, 108229773, 57349834]) ('methodsNamesXML', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['maven_javadoc_plugin_2_0', 'maven_javadoc_plugin_2_1', 'maven_javadoc_plugin_2_2', 'maven_javadoc_plugin_2_3', 'maven_javadoc_plugin_2_4', 'maven_javadoc_plugin_2_5', 'maven_javadoc_plugin_2_6', 'maven_javadoc_plugin_2_7', 'maven_javadoc_plugin_2_8', 'maven_javadoc_plugin_2_9', 'maven_javadoc_plugin_2_10', 'maven_javadoc_plugin_3_0_0']) ('configuration_path', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\configuration') ('amir_tracer', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\distribution_report.csv') ('weka_path', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\weka') ('vers_paths', [u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_0', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_1', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_2', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_3', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_4', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_5', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_6', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_7', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_8', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_9', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_2_10', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\vers\maven_javadoc_plugin_3_0_0']) ('configuration', <utilsConf.Configuration object at 0x0000000008A4B320>) ('bugsPath', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/maven-javadoc-plugin.git']) ('repo', <git.Repo "C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger.git">) ('dates', ['2006-05-14 05:45:17', '2006-10-09 16:16:06', '2014-09-15 22:43:49', '2006-12-13 19:16:51', '2007-07-15 13:51:50', '2008-03-08 22:40:31', '2008-08-22 14:25:15', '2009-07-26 14:50:27', '2010-04-30 20:58:13', '2011-05-02 01:42:15', '2012-09-19 04:03:00', '2017-12-03 21:33:02']) ('renamed_mapping', {}) ('versions', ['maven-javadoc-plugin-2.0', 'maven-javadoc-plugin-2.1', 'maven-javadoc-plugin-2.2', 'maven-javadoc-plugin-2.3', 'maven-javadoc-plugin-2.4', 'maven-javadoc-plugin-2.5', 'maven-javadoc-plugin-2.6', 'maven-javadoc-plugin-2.7', 'maven-javadoc-plugin-2.8', 'maven-javadoc-plugin-2.9', 'maven-javadoc-plugin-2.10', 'maven-javadoc-plugin-3.0.0']) ('wekaJar', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\learning\One') ('debugger_commit', 'd808016d255540f6292fa2aebbfc5f33b2d5381e') ('web_prediction_results', u'C:\Users\eranhe\Fault_Predicition_Defect4J\projects\maven-javadoc-plugin_V1\web_prediction_results') ('allchecks', 'C:\Users\eranhe\Fault_Predicition_Defect4J\repo\Debugger\utils\allChecks.xml')