-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy patherror_patterns.py
More file actions
executable file
·48 lines (47 loc) · 1.77 KB
/
error_patterns.py
File metadata and controls
executable file
·48 lines (47 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
""" list of error messages encountered till now from manual evaluation of build logs"""
inexact_pattern_list = [
r'requirements.txt needs',
r'The command "pip install',
r'The command "pip3 install',
r'Command "python setup.py egg_info" failed',
r'Command "python3 setup.py egg_info" failed',
r'The command "pip install',
r'The command "pip3 install',
r'The command "python ',
r'The command "python3 ',
r'virtualenv.py: error',
r'requires Python',
r'requires a different Python',
r'ERROR: this script requires Python',
r'from requirements.txt needs',
r'ImportError',
r'TypeError',
r'The command "(.*)flake8',
r'ModuleNotFoundError: No module named',
r'No module named',
r'Cannot cythonize without Cython installed',
r'(.*): command not found'
]
error_pattern_list = [
r'requirements.txt needs (.*) python',
r'The command "pip install (.*) failed and exited with (.*) during',
r'The command "pip3 install (.*) failed and exited with (.*) during',
r'Command "python setup.py egg_info" failed',
r'Command "python3 setup.py egg_info" failed',
r'The command "pip install (.*) failed (.*) times',
r'The command "pip3 install (.*) failed (.*) times',
r'The command "python (.*) failed and exited (.*)',
r'The command "python3 (.*) failed and exited (.*)',
r'virtualenv.py: error',
r'(.*) requires Python (.*)',
r'(.*) requires a different Python(.*)',
r'ERROR: this script requires Python (.*)',
r'from requirements.txt needs',
r'ImportError',
r'TypeError',
r'The command "(.*)flake8(.*) exited with 1',
r'ModuleNotFoundError: No module named (.*)',
r'No module named (.*)',
r'Cannot cythonize without Cython installed',
r'(.*): command not found'
]