-
Notifications
You must be signed in to change notification settings - Fork 47
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
Cannot upload attachment (File too Big) #170
Comments
Hi @makakken can you send us a full traceback ? regards, |
@kryskool where do i get this from? any log file? turn on debug mode? anything? |
hey @kryskool , i've searched a lot, but didn't find any useful log-files. But i found a Workaround: "Maximum attachment size in bytes (or KB, MB, GB if specified)" The Parameters help for Webmail told me to set in bytes, thatswhy i choose 5000000. if i put 5MB into the input instead, it works. |
seems this line is giving wrong return value: https://github.com/modoboa/modoboa/blob/9f2ea29a9fe0cf78db2cf340e286601dc799756a/modoboa/lib/web_utils.py#L117 |
modoboa/modoboa-webmail#170 size2 integer was returning 0 when called with int values.
@kryskool i've proposed a fix. |
narf... bad fix... only works with values ending on zero... |
After Increasing file upload size in modoboa-parameters to 5000000bytes (aka 5mb) i cannot upload any file. i always get: "File too Big (5000000)" error. This also happens if i try to upload a file which has a size of 381 bytes.
What am i doing wrong?
The text was updated successfully, but these errors were encountered: