anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
60 stars 51 forks source link

Exception thrown #70

Closed Simkod closed 3 years ago

Simkod commented 4 years ago

Describe the bug Can`t communicate with artifactory

Expected behavior The script downloads the file to the given location

Screenshots image

Environment:

Environment: Also, using the artifactory URL and the credentials(username, password) in a browser, the download works without problem. At the company the same script runs without problem on other machines, so the problem is most likely machine specific.

anancarv commented 4 years ago

Hi, Can you please remove your except statement and re-run your script ? This way, we can have the full trace of the error message

Simkod commented 4 years ago

Hello, This is the result without exception. The file exists in the artifactory, and if I write the URL of it in the browser, I can download it. 2

Simkod commented 4 years ago

Crashes here: image

Simkod commented 4 years ago

I installed pyartifactory version 1.6, it is working now.

anancarv commented 4 years ago

There is no major changes about the artifact info retrieval between version 1.6 and 1.8. I do not get why this error is happening to you. Are you sure your artifact_path has the following structure: libs-release-local/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar ?

Simkod commented 4 years ago

Yes, it had that structure. It also works with 1.7, it helps maybe to narrow it down. Thank you for your support!

anancarv commented 4 years ago

You're welcome, thanks for your feedback. I'm going to check why it happens in 1.8.0

anancarv commented 3 years ago

Hi @Simkod , Can you retry to download files using the new version of pyartifactory 1.8.1 please ? You shoul not encounter issues any more