BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : too many values to unpack #1227

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py conf.txt learn

Traceback (most recent call last): File "D:\University - BGU\University\Debugger\learner\utilsConf.py", line 402, in f ans = func(*args, *kwargs) File "wrapper.py", line 387, in wrapperLearner wekaMethods.buildDB.buildOneTimeCommits() File "D:\University - BGU\University\Debugger\learner\utilsConf.py", line 402, in f ans = func(args, **kwargs) File "D:\University - BGU\University\Debugger\learner\wekaMethods\buildDB.py", line 338, in buildOneTimeCommits blamePath, date, CodeDir) File "D:\University - BGU\University\Debugger\learner\wekaMethods\buildDB.py", line 239, in BuildAllOneTimeCommits insert_values_into_table(conn, "AllMethods", checkReport.analyzeCheckStyle(checkStyleMethods)) File "D:\University - BGU\University\Debugger\learner\wekaMethods\checkReport.py", line 370, in analyzeCheckStyle methods = checkStyleCreateDict(lines) File "D:\University - BGU\University\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'D:\University - BGU\University\test\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\D:\University - BGU\University\test\learning') ('full_configure_file', 'workingDir=D:\University - BGU\University\test\ngit=D:\University - BGU\University\accumulo\nissue_tracker_product_name=ACCUMULO\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(1.6.4,rel/1.6.5, rel/1.7.1, rel/1.7.3,rel/1.8.0)') ('docletPath', 'D:\University - BGU\University\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\D:\University - BGU\University\test\distribution_per_version_report.csv') ('experiments', u'D:\University - BGU\University\test\experiments') ('sourceMonitorEXE', 'D:\University - BGU\University\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'D:\University - BGU\University\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\D:\University - BGU\University\test\distribution_per_majors_report.csv') ('gitPath', u'\\?\D:\University - BGU\University\accumulo') ('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', 'D:\University - BGU\University\Debugger\learner') ('debugger_base_path', 'D:\University - BGU\University\Debugger') ('paths', ['1.6.4\repo', 'rel/1.6.5\repo', 'rel/1.7.1\repo', 'rel/1.7.3\repo', 'rel/1.8.0\repo']) ('versPath', u'\\?\D:\University - BGU\University\test\vers') ('buggy_repo', <git.Repo "D:\University - BGU\University\accumulo.git">) ('buggedType', 'Most') ('traces_dir', u'\\?\D:\University - BGU\University\test\traces') ('markers_dir', u'\\?\D:\University - BGU\University\test\markers') ('workingDir', u'\\?\D:\University - BGU\University\test') ('RemoveBat', 'D:\University - BGU\University\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\D:\University - BGU\University\test\distribution_per_minors_report.csv') ('caching_dir', 'D:\University - BGU\University\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\D:\University - BGU\University\test\learning\AllbutOne') ('confFile', 'conf.txt') ('issue_tracker_product', 'ACCUMULO') ('db_dir', u'\\?\D:\University - BGU\University\test\dbAdd') ('LocalGitPath', u'D:\University - BGU\University\test\repo') ('changeFile', u'D:\University - BGU\University\test\commitsFiles\Ins_dels.txt') ('vers', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0']) ('utilsPath', 'D:\University - BGU\University\Debugger\utils') ('checkStyle68', 'D:\University - BGU\University\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [249275636, 210425901, 48267802, 59607581, 176841513]) ('methodsNamesXML', 'D:\University - BGU\University\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['1_6_4', 'rel_1_6_5', 'rel_1_7_1', 'rel_1_7_3', 'rel_1_8_0']) ('configuration_path', u'D:\University - BGU\University\test\configuration') ('amir_tracer', 'D:\University - BGU\University\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\D:\University - BGU\University\test\distribution_report.csv') ('weka_path', u'D:\University - BGU\University\test\weka') ('granularity', 'File') ('vers_paths', [u'\\?\D:\University - BGU\University\test\vers\1_6_4', u'\\?\D:\University - BGU\University\test\vers\rel_1_6_5', u'\\?\D:\University - BGU\University\test\vers\rel_1_7_1', u'\\?\D:\University - BGU\University\test\vers\rel_1_7_3', u'\\?\D:\University - BGU\University\test\vers\rel_1_8_0']) ('configuration', <utilsConf.Configuration object at 0x0000000009DDFDD8>) ('bugsPath', u'\\?\D:\University - BGU\University\test\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/accumulo.git']) ('repo', <git.Repo "D:\University - BGU\University\Debugger.git">) ('dates', ['2015-09-29 02:25:05', '2016-02-13 01:01:50', '2016-02-22 23:22:34', '2017-03-10 13:48:55', '2016-09-02 19:48:57']) ('renamed_mapping', {}) ('versions', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0']) ('wekaJar', 'D:\University - BGU\University\Debugger\utils\weka.jar') ('DebuggerTests', u'D:\University - BGU\University\test\DebuggerTests') ('distribution_per_micros_report', u'\\?\D:\University - BGU\University\test\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\D:\University - BGU\University\test\learning\One') ('debugger_commit', '520f228039debf97ae94b5b2d7fe068beaedcab0') ('web_prediction_results', u'D:\University - BGU\University\test\web_prediction_results') ('allchecks', 'D:\University - BGU\University\Debugger\utils\allChecks.xml')