-
Notifications
You must be signed in to change notification settings - Fork 687
The api /api/models/<namespace>/<modelname>/revision/<revision>?expand=xetEnabled doesnt work in private repository #2974
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
Comments
Hey @Shahafgo, sorry for the inconvenience. Can you share the stacktrace you are getting? |
@Wauplin Hi I dont think stacktrace will help here, my private repository is a local-repo in Artifactory and it seems that I am getting 404 from Artifactory: It looks like Artifactory doesnt accept the request with the query param of expand=xetEnabled. |
@Shahafgo stacktrace is usually the primary information to provide when reporting a bug. Sometimes it's possible to just describe the error but it usually takes more time and back and forth replies to investigate a given bug. Here for example the key information is that you are using an Artifactory, which we don't officially support - and therefore haven't tested against. Also a stacktrace helps knowing which part of the code must be looked into (e.g. you haven't provided information about whether you are trying to upload or to download from the repo - which would be present in the stacktrace). That being said, I'll soon make a PR to make the |
Ongoing PR: #2975 |
@Wauplin Hi, thanks for the quick response, I will send the stacktrace |
@Wauplin this is the stacktrace: !uploadResult= api.upload_folder(
EThe above exception was the direct cause of the following exception: #Traceback (most recent call last): |
It looks like while uploading this request is sent. |
I am working with private repository of huggingface and latest client version (I think 0.30.0) starts to send the request for fetching revision information with the query param expand=xetEnabled and it makes the private repository to return 404.
Currently the private repository does'nt know this api, and I can work with the latest version.
The text was updated successfully, but these errors were encountered: