-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Labels
Milestone
Description
Issue Summary
It is currently not possible to create new presets because of an error. This issue appears to have been introduced by #1436, but so far I haven’t looked into it beyond that. Judging by the error message, the zip file name seems to be empty or something.
Actual Results
An error message appears with the following message:
Miniz Error
An internal error occurred. Your file may not be saved successfully.
Error: your file may not have saved successfully.If you believe that this error is an issue with Pencil2D, please create a new issue at https://github.com/pencil2d/pencil2d/issues
Please include the following details in the issue:FileManager::save sFileName = New zipped Pencil File Format (*.pclx) ! TempWorkingFolder = /tmp/Pencil2D/1_Y2xD_kvcpytq8/ Total 3 layers Layer[0] = [id=1, name=Camera Layer, type=5] Layer[1] = [id=2, name=Vector Layer, type=2] Layer[2] = [id=3, name=Bitmap Layer, type=1] All Layers saved Writing main xml file... Done writing main xml file at /tmp/Pencil2D/1_Y2xD_kvcpytq8/main.xml Miniz Creating Zip from folder /tmp/Pencil2D/1_Y2xD_kvcpytq8/ Miniz writer init failed: 17 Add file to zip: data/002.001.vec Cannot add data/002.001.vec: error 24, invalid parameter Add file to zip: data/003.001.png Cannot add data/003.001.png: error 24, invalid parameter Add file to zip: data/palette.xml Cannot add data/palette.xml: error 24, invalid parameter Add file to zip: main.xml Cannot add main.xml: error 24, invalid parameter Miniz finalize archive failed System Info Pencil version: 0.6.5 (dev) Build ABI: x86_64-little_endian-lp64 Kernel: linux, 5.9.14-arch1-1 Operating System: Arch Linux end
A new preset is not created.
Expected Results
No error message appears and a new preset is created.
Steps to reproduce
- Go to Edit → Preferences
- Navigate to the Files category
- In the Startup Settings section, use the + button
System Information
- Pencil2D Version: 6f0b75b
- Operating System: Arch Linux
Jose-Moreno
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status