webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

Maven error #173

Closed 4rokis closed 4 years ago

4rokis commented 4 years ago

https://gitlab.com/license-sh/test-automation-project---maven---uncompleted

An error has occured. Unexpected error has occurred. How to solve it? Try to re-run the check Contact our support [2020-09-08T17:54:52Z] License check failed [2020-09-08T17:54:52Z] [[maven]./pom.xml] Traceback (most recent call last): File "/usr/local/bin/license-sh", line 2, in from license_sh import main File "/usr/local/lib/python3.8/site-packages/license_sh/main.py", line 28, in run_license_sh(arguments) File "/usr/local/lib/python3.8/site-packages/license_sh/commands/run_license_sh.py", line 91, in run_license_sh analyzed_tree = run_analyze(project_to_check, path, dep_tree) File "/usr/local/lib/python3.8/site-packages/license_sh/analyze/init.py", line 35, in run_analyze return analyzer(path, dep_tree) File "/usr/local/lib/python3.8/site-packages/license_sh/analyze/maven.py", line 233, in analyze_maven jar_analysis = get_jar_analyze_data(directory) File "/usr/local/lib/python3.8/site-packages/license_sh/analyze/maven.py", line 150, in get_jar_analyze_data unzip_maven_dependencies(tmp_dir) File "/usr/local/lib/python3.8/site-packages/license_sh/analyze/maven.py", line 186, in unzip_maven_dependencies zip_ref.extractall(os.path.join(directory, f.split(".jar")[0])) File "/usr/local/lib/python3.8/zipfile.py", line 1646, in extractall self._extract_member(zipinfo, path, pwd) File "/usr/local/lib/python3.8/zipfile.py", line 1696, in _extract_member os.mkdir(targetpath) FileExistsError: [Errno 17] File exists: '/tmp/tmpwow1rr6v/selenium-api-3.141.59/META-INF/versions/9'