BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : #815

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py C:\amirelm\configurations\AIRAVATA

Traceback (most recent call last): File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 375, in f ans = func(*args, **kwargs) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 315, in build_labels utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 303, in buildBasicAllVers commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 126, in BuildRepo allMethods, filesRows = patchsBuild.analyzeCheckStyle(MethodsParsed, changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py", line 209, in analyzeCheckStyle methods = checkStyleCreateDict(checkOut, changesDict) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py", line 158, in checkStyleCreateDict lines = f.readlines()[1:-3] MemoryError

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'C:\amirelm\projects_distributions1\AIRAVATA\commitsFiles\CheckStyle.txt') ('full_configure_file', 'workingDir=C:\amirelm\projects_distributions1\AIRAVATA\ngit=C:\amirelm\repos\AIRAVATA\nissue_tracker_product_name=AIRAVATA\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(0.10,airavata-0.1-incubating, airavata-0.11, airavata-0.12,airavata-0.13)') ('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_distributions1\AIRAVATA\distribution_per_version_report.csv') ('experiments', u'C:\amirelm\projects_distributions1\AIRAVATA\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_distributions1\AIRAVATA\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\amirelm\repos\AIRAVATA') ('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\amirelm\Documents\GitHub\Debugger\learner') ('debugger_base_path', 'C:\Users\amirelm\Documents\GitHub\Debugger') ('paths', ['0.10\repo', 'airavata-0.1-incubating\repo', 'airavata-0.11\repo', 'airavata-0.12\repo', 'airavata-0.13\repo']) ('versPath', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers') ('buggy_repo', <git.Repo "C:\amirelm\repos\AIRAVATA.git">) ('markers_dir', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\markers') ('workingDir', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA') ('RemoveBat', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\distribution_per_minors_report.csv') ('caching_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\Debugger_cache') ('confFile', 'C:\amirelm\configurations\AIRAVATA') ('issue_tracker_product', 'AIRAVATA') ('db_dir', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\dbAdd') ('LocalGitPath', u'C:\amirelm\projects_distributions1\AIRAVATA\repo') ('changeFile', u'C:\amirelm\projects_distributions1\AIRAVATA\commitsFiles\Ins_dels.txt') ('vers', ['0.10', 'airavata-0.1-incubating', 'airavata-0.11', 'airavata-0.12', 'airavata-0.13']) ('utilsPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils') ('checkStyle68', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [172242573, 30946751, 122168156, 48968160, 43944701]) ('methodsNamesXML', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['0_10', 'airavata_0_1_incubating', 'airavata_0_11', 'airavata_0_12', 'airavata_0_13']) ('configuration_path', u'C:\amirelm\projects_distributions1\AIRAVATA\configuration') ('amir_tracer', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\distribution_report.csv') ('weka_path', u'C:\amirelm\projects_distributions1\AIRAVATA\weka') ('vers_paths', [u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers\0_10', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_1_incubating', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_11', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_12', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_13']) ('configuration', <utilsConf.Configuration object at 0x063D4850>) ('bugsPath', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/airavata.git']) ('repo', <git.Repo "C:\Users\amirelm\Documents\GitHub\Debugger.git">) ('dates', ['2013-10-30 17:49:37', '2012-09-20 11:26:28', '2013-12-26 20:28:50', '2014-06-24 18:58:47', '2014-08-02 05:10:11']) ('renamed_mapping', {}) ('versions', ['0.10', 'airavata-0.1-incubating', 'airavata-0.11', 'airavata-0.12', 'airavata-0.13']) ('wekaJar', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\amirelm\projects_distributions1\AIRAVATA\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\amirelm\projects_distributions1\AIRAVATA\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('debugger_commit', '3caecd2843b02b5d4143b65315d3c9c815ddabff') ('web_prediction_results', u'C:\amirelm\projects_distributions1\AIRAVATA\web_prediction_results') ('allchecks', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\allChecks.xml')

DebuggerIssuesReport commented 5 years ago

DEBUG:git.util:Failed checking if running in CYGWIN due to: WindowsError(2, 'The system cannot find the file specified') DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\amirelm\repos\AIRAVATA, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch'], cwd=C:\amirelm\repos\AIRAVATA, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=C:\amirelm\repos\AIRAVATA, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\amirelm\repos\AIRAVATA, universal_newlines=False, shell=None) INFO:root:remote git at urls [u'https://github.com/apache/airavata.git'] and HEAD is on commit 76e2ebaff14f2ba3ac7916ea24c34030c50de471 DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\Users\amirelm\Documents\GitHub\Debugger, universal_newlines=False, shell=None) INFO:root:Debugger HEAD is on commit 3caecd2843b02b5d4143b65315d3c9c815ddabff INFO:root:running new process with cmdline git clone C:\amirelm\repos\AIRAVATA repo DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=C:\amirelm\repos\AIRAVATA, universal_newlines=False, shell=None) INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\0_10\repo clean -fd 0.10 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\0_10\repo checkout -f 0.10 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\0_10\repo clean -fd 0.10 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_1_incubating\repo clean -fd airavata-0.1-incubating INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_1_incubating\repo checkout -f airavata-0.1-incubating INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_1_incubating\repo clean -fd airavata-0.1-incubating INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_11\repo clean -fd airavata-0.11 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_11\repo checkout -f airavata-0.11 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_11\repo clean -fd airavata-0.11 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_12\repo clean -fd airavata-0.12 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_12\repo checkout -f airavata-0.12 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_12\repo clean -fd airavata-0.12 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_13\repo clean -fd airavata-0.13 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_13\repo checkout -f airavata-0.13 INFO:root:running new process with cmdline git -C \?\C:\amirelm\projects_distributions1\AIRAVATA\vers\airavata_0_13\repo clean -fd airavata-0.13 INFO:root:writing to \?\C:\amirelm\projects_distributions1\AIRAVATA\markers\labels: start time: 2018-12-03 12:56:21.144000

ERROR:root:error msg : Traceback (most recent call last): File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 375, in f ans = func(*args, *kwargs) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 315, in build_labels utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 303, in buildBasicAllVers commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py", line 126, in BuildRepo allMethods, filesRows = patchsBuild.analyzeCheckStyle(MethodsParsed, changeFile) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py", line 209, in analyzeCheckStyle methods = checkStyleCreateDict(checkOut, changesDict) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py", line 158, in checkStyleCreateDict lines = f.readlines()[1:-3] MemoryError INFO:github3:Building a url from ('https://api.github.com', 'repos', 'BGU-AiDnD', 'Debugger') INFO:github3:Missed the cache building the url DEBUG:github3:GET https://api.github.com/repos/BGU-AiDnD/Debugger with {} DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com DEBUG:urllib3.connectionpool:https://api.github.com:443 "GET /repos/BGU-AiDnD/Debugger HTTP/1.1" 200 None INFO:github3:Attempting to get JSON information from a Response with status code 200 expecting 200 INFO:github3:JSON was returned INFO:github3:Building a url from ('https://api.github.com/repos/BGU-AiDnD/Debugger', 'issues') INFO:github3:Missed the cache building the url DEBUG:github3:POST https://api.github.com/repos/BGU-AiDnD/Debugger/issues with {"body": "An Exception occurred while running Debugger:\n\ncommand line is wrapper.py C:\amirelm\configurations\AIRAVATA\n\nTraceback (most recent call last):\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py\", line 375, in f\n ans = func(args, **kwargs)\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py\", line 315, in build_labels\n utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile)\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py\", line 303, in buildBasicAllVers\n commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile)\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\buildDB.py\", line 126, in BuildRepo\n allMethods, filesRows = patchsBuild.analyzeCheckStyle(MethodsParsed, changeFile)\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py\", line 209, in analyzeCheckStyle\n methods = checkStyleCreateDict(checkOut, changesDict)\n File \"C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\patchsBuild.py\", line 158, in checkStyleCreateDict\n lines = f.readlines()[1:-3]\nMemoryError\n", "assignee": "amir9979", "title": "An Exception occurred : "}, {} DEBUG:urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues HTTP/1.1" 201 5864 INFO:github3:Attempting to get JSON information from a Response with status code 201 expecting 201 INFO:github3:JSON was returned INFO:github3:Building a url from ('https://api.github.com/repos/BGU-AiDnD/Debugger/issues/815', 'comments') INFO:github3:Missed the cache building the url DEBUG:github3:POST https://api.github.com/repos/BGU-AiDnD/Debugger/issues/815/comments with {"body": "Configuration is : \n('MethodsParsed', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\commitsFiles\\CheckStyle.txt')\n('full_configure_file', 'workingDir=C:\\amirelm\\projects_distributions1\\AIRAVATA\ngit=C:\\amirelm\\repos\\AIRAVATA\nissue_tracker_product_name=AIRAVATA\nissue_tracker_url=https://issues.apache.org/jira\\nissue_tracker=jira\\nvers=(0.10,airavata-0.1-incubating, airavata-0.11, airavata-0.12,airavata-0.13)')\n('docletPath', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\xml-doclet-1.0.4-jar-with-dependencies.jar')\n('distribution_per_version_report', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\distribution_per_version_report.csv')\n('experiments', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\experiments')\n('sourceMonitorEXE', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\SourceMonitor.exe')\n('checkStyle57', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\checkstyle-5.7-all.jar')\n('distribution_per_majors_report', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\distribution_per_majors_report.csv')\n('gitPath', u'\\\\?\\C:\\amirelm\\repos\\AIRAVATA')\n('prediction_files', {'files': {'most': 'prediction_Most_files.csv', 'all': 'prediction_All_files.csv'}, 'methods': {'most': 'prediction_Most_methods.csv', 'all': 'prediction_All_methods.csv'}})\n('current_dir', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\learner')\n('debugger_base_path', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger')\n('paths', ['0.10\\repo', 'airavata-0.1-incubating\\repo', 'airavata-0.11\\repo', 'airavata-0.12\\repo', 'airavata-0.13\\repo'])\n('versPath', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers')\n('buggy_repo', <git.Repo \"C:\amirelm\repos\AIRAVATA\.git\">)\n('markers_dir', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\markers')\n('workingDir', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA')\n('RemoveBat', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\../removeBat.bat')\n('distribution_per_minors_report', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\distribution_per_minors_report.csv')\n('caching_dir', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\Debugger_cache')\n('confFile', 'C:\\amirelm\\configurations\\AIRAVATA')\n('issue_tracker_product', 'AIRAVATA')\n('db_dir', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\dbAdd')\n('LocalGitPath', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\repo')\n('changeFile', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\commitsFiles\\Ins_dels.txt')\n('vers', ['0.10', 'airavata-0.1-incubating', 'airavata-0.11', 'airavata-0.12', 'airavata-0.13'])\n('utilsPath', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils')\n('checkStyle68', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\checkstyle-6.8-SNAPSHOT-all.jar')\n('commits', [172242573, 30946751, 122168156, 48968160, 43944701])\n('methodsNamesXML', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\methodNameLines.xml')\n('vers_dirs', ['0_10', 'airavata_0_1_incubating', 'airavata_0_11', 'airavata_0_12', 'airavata_0_13'])\n('configuration_path', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\configuration')\n('amir_tracer', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\uber-tracer-1.0.1-SNAPSHOT.jar')\n('distribution_report', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\distribution_report.csv')\n('weka_path', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\weka')\n('vers_paths', [u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers\\0_10', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers\\airavata_0_1_incubating', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers\\airavata_0_11', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers\\airavata_0_12', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\vers\\airavata_0_13'])\n('configuration', <utilsConf.Configuration object at 0x063D4850>)\n('bugsPath', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\bugs.csv')\n('issue_tracker', 'jira')\n('remotes_urls', [u'https://github.com/apache/airavata.git'])\n('repo', <git.Repo \"C:\Users\amirelm\Documents\GitHub\Debugger\.git\">)\n('dates', ['2013-10-30 17:49:37', '2012-09-20 11:26:28', '2013-12-26 20:28:50', '2014-06-24 18:58:47', '2014-08-02 05:10:11'])\n('renamed_mapping', {})\n('versions', ['0.10', 'airavata-0.1-incubating', 'airavata-0.11', 'airavata-0.12', 'airavata-0.13'])\n('wekaJar', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\weka.jar')\n('DebuggerTests', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\DebuggerTests')\n('distribution_per_micros_report', u'\\\\?\\C:\\amirelm\\projects_distributions1\\AIRAVATA\\distribution_per_micros_report.csv')\n('issue_tracker_url', 'https://issues.apache.org/jira')\n('debugger_commit', '3caecd2843b02b5d4143b65315d3c9c815ddabff')\n('web_prediction_results', u'C:\\amirelm\\projects_distributions1\\AIRAVATA\\web_prediction_results')\n('allchecks', 'C:\\Users\\amirelm\\Documents\\GitHub\\Debugger\\utils\\allChecks.xml')"}, {} DEBUG:urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues/815/comments HTTP/1.1" 201 17695 INFO:github3:Attempting to get JSON information from a Response with status code 201 expecting 201 INFO:github3:JSON was returned