I've only run into this on OSX while in a dev environment.  See if this 
works:

Using brew: http://brew.sh/


   - 
   
   brew install jpeg 
   - 
   
   brew install libjpeg 
   - 
   
   sudo pip install Pillow 
   

On Wednesday, January 22, 2014 2:56:36 AM UTC-5, lu zou wrote:
>
> could you go into more details, I just download a clean cartridge from 
> github and run it again ,same problem come along
>
> On Wednesday, 22 January 2014 17:14:10 UTC+10, Stephen McDonald wrote:
>>
>> That error typically occurs when there has been a problem with the 
>> JavaScript that handles the drag/drop re-ordering.
>>
>> Check your browser's JavaScript console for errors or perhaps missing 
>> files.
>>
>>
>> On Wed, Jan 22, 2014 at 6:11 PM, lu zou <[email protected]> wrote:
>>
>>> when I am create a product in admin account ,if I upload the product 
>>> image ,there will be a bug ,donot why, using the default django pic ,same 
>>> problem ,all kinds of the image type I have tried to upload ,all come 
>>> across the same problem 
>>>
>>> error info:
>>>
>>> invalid literal for int() with base 10: ''
>>>
>>> traceback info :
>>>
>>>
>>>    - 
>>>    
>>> /Users/luzou/Documents/djanproj/cartridge/src/cartridge/cartridge/shop/admin.py
>>>  in save_formset
>>>    
>>>    1. 
>>>       
>>>                                                        
>>> self._images_formset, change)
>>>       
>>>       2. ... 
>>>    ▶ Local vars <http://127.0.0.1:8000/admin/shop/product/2/#>
>>>    - 
>>>
>>>
>>>    
>>>    - 
>>>    
>>> /Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/core/models.py
>>>  in save
>>>    
>>>    1. 
>>>       
>>>               super(Orderable, self).save(*args, **kwargs)
>>>       
>>>       ...
>>>    ▶ Local vars <http://127.0.0.1:8000/admin/shop/product/2/#>
>>>    
>>>
>>> also when upload pic from the media library(which have been uploaded into 
>>> already ) into gallery 
>>>
>>> same error:
>>>
>>> invalid literal for int() with base 10: ''
>>>
>>>  
>>>
>>>    - 
>>>    
>>>    
>>> /Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/pages/admin.py
>>>     in change_view
>>>    1. 
>>>       
>>>               return super(PageAdmin, self).change_view(request, object_id, 
>>> **kwargs)
>>>       
>>>       ...
>>>    ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
>>>    
>>>
>>>
>>>
>>>    - 
>>>    
>>> /Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/galleries/models.py
>>>     in save
>>>    1. 
>>>       
>>>               super(GalleryImage, self).save(*args, **kwargs)
>>>       
>>>       ...
>>>    ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
>>>    - 
>>>    
>>> /Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/core/models.py
>>>     in save
>>>    1. 
>>>       
>>>               super(Orderable, self).save(*args, **kwargs)
>>>       
>>>       ...
>>>    ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
>>>    - 
>>>    
>>>  -- 
>>> 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/groups/opt_out.
>>>
>>
>>
>>
>> -- 
>> 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/groups/opt_out.

Reply via email to