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

LONG FILE NAME _shared.py #113

Open
outtycast opened this issue Jul 15, 2023 · 2 comments
Open

LONG FILE NAME _shared.py #113

outtycast opened this issue Jul 15, 2023 · 2 comments

Comments

@outtycast
Copy link

**I've make this patch for long file names in _shared.py.

sometimes the path longfile names mod is already present and it doubles it causing an exception**

`
def _write_external_links(self, filepath):
retVal = {}
filename = filepath
if os.name == "nt":
# If the absolute path to the file is too long, append the magic prefix
if len(os.path.abspath(filename)) > 255:
if "\\?\" not in filename:
filename = u"\\?\%s" % (os.path.abspath(filename))

`

@khamid1612
Copy link

#114 try this

@MistFenix
Copy link

#114 try this

Not working for me what you did

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

3 participants