It looks like you don't have reportlab installed (or it is improperly
installed).  Try:
pip install reportlab

To edit the invoice I think you just need to copy
templates/shop/includes/order_details.html to your project and modify it to
suit your needs.


On Sat, Jun 28, 2014 at 11:03 PM, lu zou <[email protected]> wrote:

> seek some advice about 1, an error occur when I tried to download the
> invoice [error listed below] . 2. how to change the content of the invoice?
> thanks!!!:)
>
> error info:
> __________
> ImportError at /shop/invoice/12/
>
>
> No module named reportlab.lib.units
>
> Request Method:GETRequest URL:
> http://victoria88.webfactional.com/shop/invoice/12/?format=pdf Django
> Version:1.5.5Exception Type: ImportErrorException Value:
>
>
> No module named reportlab.lib.units
>
> Exception Location:
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/pisa_util.py
> in <module>, line 22 Python Executable:
> /home/victoria88/webapps/secdeploy_cartridge/bin/python Python Version:
> 2.7.5
> Traceback Switch to copy-and-paste view
> <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/django/core/handlers/base.py
>     in get_response
>    1.
>
>                               response = callback(request, *callback_args, 
> **callback_kwargs)
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/cartridge/cartridge/shop/views.py
>     in invoice
>    1.
>
>
>               import ho.pisa
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/ho/pisa/__init__.py
>     in <module>
>    1.
>
>
>       from sx.pisa3.pisa import *
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/__init__.py
>     in <module>
>    1.
>
>
>           from pisa import *
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/pisa.py
>     in <module>
>    1.
>
>
>       from pisa_document import *
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/pisa_document.py
>     in <module>
>    1.
>
>
>       from pisa_context import pisaContext
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/pisa_context.py
>     in <module>
>    1.
>
>
>       from pisa_util import *
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>    -
>    
> /home/victoria88/webapps/secdeploy_cartridge/lib/python2.7/site-packages/pisa-3.0.33-py2.7.egg/sx/pisa3/pisa_util.py
>     in <module>
>    1.
>
>
>       from reportlab.lib.units import inch, cm
>
>       ...
>    ▶ Local vars
>    <http://victoria88.webfactional.com/shop/invoice/12/?format=pdf#>
>
>
>  --
> 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.
>

-- 
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