-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
'No entry found' error while resolving git package, but path is valid #21
Comments
Is there any chance you had changed the default branch from the time when the repository was first cloned? As far as I know, we're only able to resolve the default branch - others require commit hashes/tags (I might be wrong with this, though). Also, does that folder have a |
Thanks for your response! I don't believe the default branch has changed since the repo was cloned. The repo was initialized in GitHub and cloned with default branch Does pesde cache Git repositories? If so, I believe the cause of the issue might be there:
These three things seem indicative of an out-of-date cache that isn't getting refreshed properly, but I'm not too familiar with the entire codebase so I'm not entirely sure. |
pesde doesn't cache repositories so to say, it only maintains a (bare) clone that should be updated to the latest state of the remote repository when it is being used, for example during resolving. That means the repository should always be refreshed (using the logic here) in your case, since it won't write a lockfile if it errored meaning it has to resolve the graph fresh. I haven't had any issues with the refreshing logic in the past, but there could be something I'm missing so I've linked the code responsible for it if you're willing to take a look. Otherwise, I'm not sure about the cause of the issue. About your fix, if you delete |
Good to know. Thanks for the link; I'll definitely look at the code. As for the solution, it's entirely possible that self-install isn't required. I only did that to make sure that the pesde installation was at its intended initial state without the cache. Next time the issue happens, I'll try it without doing self-install and see if it still works. |
Update: Issue seems to be related to some kind of cache. I was able to fix the issue by deleting
C:\Users\...\.pesde\data
and re-runningpesde self-install
.While running
![Image](https://private-user-images.githubusercontent.com/111783222/408348682-b1041c81-8d20-4561-a6f5-18592b747580.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzQ4NjgyLWIxMDQxYzgxLThkMjAtNDU2MS1hNmY1LTE4NTkyYjc0NzU4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZGU5YjM3M2M4NDA5MjQxOWNiOTRjMzA3NzI2MzBkNmRkNTU5NjhlOWU5YzhkZWRmZDdhYzEwMjYxYjVmMTRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.yhein3e9RX-GcUjToWyRIw6qT9wdBywi5-Bm7jFYwdU)
pesde install
with the following dependency inpesde.toml
the following error occurs:
![Image](https://private-user-images.githubusercontent.com/111783222/408347970-c74fb9ad-58e7-49b8-9a63-006956e25bb5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzQ3OTcwLWM3NGZiOWFkLTU4ZTctNDliOC05YTYzLTAwNjk1NmUyNWJiNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kM2Y4OGQ1Nzg0MzgwZTllYjM3OWIwZmNhZmRlZDQwMGVmNGMzY2RjZTJjYzg3OGM5OWYwYjY3MmI2YjU2ZWIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.o7CVVWjQahR__Hmtepsj2D8-u7ylTdPJbT4ARWn1Omg)
Rust back-trace:
![Image](https://private-user-images.githubusercontent.com/111783222/408352657-aeb438d7-988d-4a09-a0d5-a71859233339.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzUyNjU3LWFlYjQzOGQ3LTk4OGQtNGEwOS1hMGQ1LWE3MTg1OTIzMzMzOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNTlhMmM1ZTlmMGUwMzhiMTk5NjkxNjk2YzFjM2I1Mzc3MzllN2I5NTgzYzJlNzc5YzYxYzU1YWFmZmI0MzA3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.qq09UenmtkbGZxtbflJUpniA0oRa7OIH5F_fPKNv804)
However, it works just fine if using the commit SHA or
![Image](https://private-user-images.githubusercontent.com/111783222/408348414-b2c3f61a-014e-47e7-9409-ae66f696136f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzQ4NDE0LWIyYzNmNjFhLTAxNGUtNDdlNy05NDA5LWFlNjZmNjk2MTM2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00YzA2NzI4OTYzYTA4NGU0ZTcyNTQ0YzFiMjI1Y2Q1N2YwZWQ1ODA5ODlmOTlkNmE2NzViYTEyZDc0NzY1M2QyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.LMhBOsCsnbREkThrqjR6VCnGb7XOhJCoRdmmXRhMBJ4)
rev="v0.1.0"
like so:This is the structure of the repository. It is a mono-repo with several pesde packages in it, one of them being
![Image](https://private-user-images.githubusercontent.com/111783222/408348888-778bb988-4836-4476-b733-543784281174.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzQ4ODg4LTc3OGJiOTg4LTQ4MzYtNDQ3Ni1iNzMzLTU0Mzc4NDI4MTE3NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YmZhNTdiZTExZGVkMTAwMDViZjQyNGRkYzZmOTdiYjZmNTRkMWU3NDA4MzU1ODBmMGRkNzc1NDc2OTA3ZTU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xxaOT8-SbP9J23G-K0T-z_8M5Zql4b1CsWJcvkyDlpU)
alarm_light
.Git shows that the path exists in the tree under
![Image](https://private-user-images.githubusercontent.com/111783222/408351282-0ba0a2f4-5a14-4c37-9918-c498eac6166e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzUxMjgyLTBiYTBhMmY0LTVhMTQtNGMzNy05OTE4LWM0OThlYWM2MTY2ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NWVjMjFjOGIyN2IzMzI3NDI5YTI2MzJhNzliNmI0NzE1NzQ0NzdmNDFjOGJkMzk1NDcxMmY2MzYyNjkyODgzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.r_B-8EgKUAph4lCcwGoSIAYmgC7dp3WSkRoYp3Npjbg)
main
.Both
![Image](https://private-user-images.githubusercontent.com/111783222/408347990-a6b3dcdd-1e84-432c-82fe-ad94a7d7bd4e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDYyNTUsIm5iZiI6MTczOTM0NTk1NSwicGF0aCI6Ii8xMTE3ODMyMjIvNDA4MzQ3OTkwLWE2YjNkY2RkLTFlODQtNDMyYy04MmZlLWFkOTRhN2Q3YmQ0ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNzM5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMTE4ZjY5YmRmYjJhOWQwOGExZjVlYzVjODM3ZWU3M2Q4NjY5YjQ2MmM1YWIzMTZhYzkyODU4NTg5MzE0YjE1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.UeYFNnRrTmWJV_YA8R2HeGLGXw3r0VDQK3wHnhp6FFI)
v0.1.0
andmain
point to the same revision.I'm not entirely sure if the issue actually has to do with pesde, but I assume so since the entry exists but
pesde install
errors as if it doesn't.The text was updated successfully, but these errors were encountered: