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

Temp path created for model loading is too long #396

Closed
yaeldekel opened this issue Jun 22, 2018 · 2 comments
Closed

Temp path created for model loading is too long #396

yaeldekel opened this issue Jun 22, 2018 · 2 comments
Assignees

Comments

@yaeldekel
Copy link

yaeldekel commented Jun 22, 2018

In some environments access to the file system is restricted, so when we deserialize a model file first extract the entries in the zip repository to temporary files. The path for the temporary file contains the system's temporary folder name, followed by "TLC_" and a guid. Sometimes this creates a path that is too long because Windows doesn't allow paths that are over 260 characters.

@TomFinley
Copy link
Contributor

Hi @yaeldekel ! Is more comprehensive description possible? What is the problem with the current situation? What problem is occurring as a result of it? These would help also with determining whether the current proposed fix is appropriate, or perhaps whether some other fix would be appropriate.

@Ivanidzo4ka
Copy link
Contributor

This is for .net framework 4.6.2 but....
https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2/#bcl

Long Path Support (MAXPATH)
We fixed the 260 character (MAXPATH) file name length limitation in the System.IO APIs. Over 4500 of you voted for this issue on UserVoice!

I actually wonder is it even a case for .net standard...

@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants