Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it seems not possible to create a repo/dir from ArtifactoryPath #43

Open
metrue opened this issue Aug 15, 2016 · 5 comments
Open

it seems not possible to create a repo/dir from ArtifactoryPath #43

metrue opened this issue Aug 15, 2016 · 5 comments

Comments

@metrue
Copy link

metrue commented Aug 15, 2016

I mean if I I want create a path like this:

http://localhost:8080/artifactory/<xxx-yyy>

is that possible, I got exception:

AssertionError: OSError(2, "No such file or directory:
@diablo248
Copy link

Any update? I cannot create directory. I got 404 error - lines which check if exist give me that result

if pathobj.exists():
raise OSError(17, "File exists: '%s'" % str(pathobj))

But when I comment it I got error 500
error 500 Repository '' is not a local repository
Any quick fix?

@metrue
Copy link
Author

metrue commented Aug 31, 2016

@diablo248

I gave up this library at last, and created one by myself, will open source it soon.

for your issue, I am not clear.

@diablo248
Copy link

diablo248 commented Aug 31, 2016

I found issue, I think I cannot create empty dir in artifactory.
I remove:
if self.is_dir(): target = self / pathlib.Path(file_name).name
from deploy_file and now it works ok, deploy_file create all necessary folders and file, but it is necessary to create ArtifactoryPath with filename.

@cowlinator
Copy link

I have found that when I tried to create a directory on artifactory, I received
OSError(2, "No such file or directory:
or
RuntimeError:{"errors":[{"status":404,"message":"Resource not found"}]}
due to missing or incorrect auth (i.e. username/password).
These were cryptic and misleading errors.

@allburov
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants