suoto / hdl_checker

Repurposing existing HDL tools to help writing better code
GNU General Public License v3.0
192 stars 22 forks source link

Windows 10 FileNotFoundError without GIT installed #72

Closed wcumby closed 4 years ago

wcumby commented 4 years ago

The FileNotFoundError is being generate, possibly because GIT is not installed.

filter_func = filterGitIgnoredPaths if isGitRepo(search_path) else _noFilter File "C:\Users\cumby_w\AppData\Roaming\Python\Python37\site-packages\hdl_checker-0.6.9-py3.7.egg\hdl_checker\parser_utils.py", line 283, in isGitRepo return p.exists(subp.check_output(cmd, stderr=subp.STDOUT).decode().strip()) File "C:\Program Files\Python37\lib\subprocess.py", line 395, in check_output *kwargs).stdout File "C:\Program Files\Python37\lib\subprocess.py", line 472, in run with Popen(popenargs, **kwargs) as process: File "C:\Program Files\Python37\lib\subprocess.py", line 775, in init restore_signals, start_new_session) File "C:\Program Files\Python37\lib\subprocess.py", line 1178, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

suoto commented 4 years ago

Sorry, didn't think of this case. Fixed just now :+1: