Try uploading the same zip file to your local development version - that
will isolate the issue down to something related to your live environment
versus something related to the zip file itself.

If it doesn't work locally which would indicate an issue with the zip file,
try stepping through the code that unzips it to see what's occurring:

https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/galleries/models.py#L63

Some image validation occurs there, perhaps the images can't be verified as
valid according to PIL. Perhaps the zip contains images in nested
directories and the code doesn't support that (I couldn't tell you whether
it does off the top of my head, I'm just pointing you toward solving your
own problem).

I just created a gallery page using a zip file on the demo site without any
problem, it may have been removed by the time anyone reads this:

http://mezzanine.jupo.org/zip-upload/




On Wed, Jul 16, 2014 at 1:49 AM, Geoffrey Muchai <[email protected]>
wrote:

> Hi guys,
>
> I have deployed my site running mezzanine 3.1.5 in digital ocean using
> gunicorn and nginx. Every time i try to upload a zipped folder containing
> images, it gets to 100% and notifies me that the gallery has been updated
> but when i check the post, it doesn't have images. The media directory is
> also not updated with the uploaded images. I have confirmed that the user
> who is running gunicorn has permissions to access the directory and that
> the nginx isn't concerned about the size of the upload.
>
> Any ideas on how I can resolve this issue?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to