-
Notifications
You must be signed in to change notification settings - Fork 69
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
python patool and too long names issue under windows? #171
Comments
What version of patool are you using? Try patool version 3.0.3 which fixes errors with special characters on windows systems. |
hi |
ok I played a bit changing the archive name to shorte name works, is it because total lenght of arch name, folder, file is too long? |
ok so the same file in same folder does work on Linux, will try to move thhe file to c:\ see it if shortens... or other issue |
actuually the error is displayed .... |
This looks like a limitation of the zipfile module. Do you get the same error when installing 7-zip and using this instead of the python zipfile module? |
|
special characters like accents in folder names inside archive seems to give
patoolib.extract_archive(self.input_filename, outdir=extracted_dir, interactive=False)
...
Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\patoolib\programs\py_zipfile.py", line 51, in extract_zip
raise util.PatoolError(f"error extracting {archive}") from err
The text was updated successfully, but these errors were encountered: