-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible fix for issue #464 - Enable Zip64.
- Loading branch information
1 parent
8ef2991
commit 815cd3f
Showing
4 changed files
with
154 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -341,6 +341,16 @@ | |
"name": "No Files Were Found", | ||
"description": "No files were found within the archive.", | ||
"help_link": "error_help_rendering_archive_import_no_files_found.md" | ||
}, | ||
'zip_file_too_large': { | ||
"name": "The Archive is Too Large", | ||
"description": "The zip archive is too large to import.", | ||
"help_link": "error_help_rendering_archive_import_zip_file_too_large.md" | ||
}, | ||
'zip_file_corrupt': { | ||
"name": "The Archive is Corrupt", | ||
"description": "The zip archive is too large to import.", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
FormerLurker
Author
Owner
|
||
"help_link": "error_help_rendering_archive_import_zip_file_corrupt.md" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...olapse/static/docs/help/error_help_rendering_archive_import_zip_file_corrupt.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The zip file you are attempting to import is either in the wrong format, or is corrupted. | ||
|
||
### Possible Solutions | ||
1. Make sure your archive is in zip format. | ||
2. Extract and re-create your archive. It is OK to put all of your files in the root of the zip. | ||
3. Re-upload the zip file. It is possible that the file was corrupted during upload. |
7 changes: 7 additions & 0 deletions
7
...apse/static/docs/help/error_help_rendering_archive_import_zip_file_too_large.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Due to limitations of either your python version, file system, or OS, the zip file you are trying to import is too large to be opened. | ||
|
||
### Possible Solutions | ||
|
||
1. Upgrade to python 3. This requires Octoprint 1.4.0 or above. | ||
2. Reduce the zip file size. You can either remove images or reduce the resolution. | ||
3. Change your SD card's file system. Fat32 is limited to files smaller than 4 GB. |
This seems to be the wrong error message