thoth-station / package-analyzer

Analyze Python artifacts
GNU General Public License v3.0
0 stars 4 forks source link

Could not create temp dir #114

Closed sentry-io[bot] closed 4 years ago

sentry-io[bot] commented 4 years ago

Sentry Issue: THOTH-1NMB

Could not create temp dir
bissenbay commented 4 years ago

Package-analyzer downloaded this file which is not .whl or .tar format. When the file is in different format, we output it as error at https://github.com/thoth-station/python/blob/master/thoth/python/artifact.py#L82 We could change that to debug. WDYT @goern @fridex ?

fridex commented 4 years ago

The code does not look correct to me - we lose information about the error. The tar format should be acceptable. Can we rewrite the code so that it reports what the error is?