According to <https://bugs.gentoo.org/attachment.cgi>, bugzilla users are advised to store oversized attachments elsewhere: The file you are trying to attach is 11220 kilobytes (KB) in size. Attachments cannot be more than 1000 KB. We recommend that you store your attachment elsewhere and then insert the URL to it in a comment, or in the URL field for this bug. Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again. This goes directly against our policy of gathering all relevant information on the bug report itself, either in comments or in attachments, and nowhere does this text explain that compressing the file first is a viable alternative. If we are to expand this error message accordingly, maybe it's a good idea to also explain that putting singular files in tar archives isn't needed, as that sadly happens a lot as well.
Improve file_too_large error message Reported-by: Jeroen Roovers <jer@gentoo.org> X-Gentoo-Bug: 395809 X-Gentoo-Bug-URL: https://bugs.gentoo.org/395809 --- template/en/default/global/user-error.html.tmpl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 90018be..4d008cd 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -613,7 +613,8 @@ kilobytes (KB) in size. Attachments cannot be more than [%# Hack to get the max value between both limits %] [%+ max_limit.nsort.last FILTER html %] KB. <br> - We recommend that you store your attachment elsewhere + We recommend that you try to compress the file by using bzip2, gzip, tar or + lzma alternatively you may want to store your attachment elsewhere and then paste the URL to this file on the attachment creation page in the appropriate text field. <br>Alternately, if your attachment is an image, you could convert