-
Notifications
You must be signed in to change notification settings - Fork 77
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
Install issues #77
Comments
@pfitzseb What's the command I need to issue in order to reproduce this? |
In theory you should be able to reproduce with |
I tried using node
So it seems to be working fine (on linux at least). @pfitzseb Have you tried reproducing on windows? |
Just some background;
becomes
In theory we could try to be a little smarter here, if we really need to shorten the file name. Currently we're just replacing invalid characters with |
I tried to reproduce this as well, but was not able to. I think more interesting is the OS/Filesystem. At least it is no |
So apparently there's a 143 byte filename limit on encrypted Ubuntu filesystems, as @nwschurink found out. Would you accept a PR for making the filename a (MD5?) hash of the URL or something similar that ensures a fixed size filename (much) shorter than 140 chars? |
Def. If you want to hack something up for discussion. |
-1 on hashing as it would make the files hard to identify for humans. How about something like:
Not sure how'd it work with custom binaries though. |
@vweevers Agree on the downside of hashing. The file name in itself should be good enough imo. |
Just a side note. When switching to another caching algorithm the current cache will be stale. Should we do something about that or just leave it be? Does this mean a new major version? |
-1 on hashing as well for the same reasons. What about reducing the file name and append the reduced information to the path instead? So we utilize the PATH_MAX which seems to be always higher or at least equal than NAME_MAX. |
That could work, if we really need that reduced information. |
If you switch to a mirror, should the filename (or path) change? |
Current:
Option 3 is probably out of the question for the reasons listed above. I kinda like Option 2 since it doesn't create so many directories (at the cost of some info though). |
Fix released in 4.0.0 |
Hey everyone,
we've gotten reports about failed installs for
atom-julia-client
, which usesnode-pty-prebuilt
, which in turn makes use of this package.I'm not sure if this is actually the right place for this issue -- feel free to close this if not.
Here's the issue at our repo. The failure on Windows is probably some connection issue:
even though it apparently was not resolved even when retrying. The Linux issue on the other hand seems consistent:
AFAIK no OS should have such a low file/path length limit though (the above is ~185 chars for the path and ~145 chars for the filename). I'm not sure how to debug this further though (can't reproduce either issue locally and the debug logs are apparently not available) or what a possible solution might be -- possibly making sure that the file name is much shorter or something....
Thanks!
The text was updated successfully, but these errors were encountered: