On 27/02/2014 7:29 AM, Tom Brander wrote:
> Went to create a pdf invoice and got this error:
> I am using Python #.3 if that makes a diff??
> Does not give me much to go on the "view" invoice is working fine...
Can you do a pip list for us?
Do you have pisa and reportlab both installed? What versions?
>
> Traceback:
> File
> "/home/tom/myvenv3/lib/python3.3/site-packages/django/core/handlers/base.py"
> in get_response
> 107. response = middleware_method(request,
> callback, callback_args, callback_kwargs)
> File
> "/home/tom/myvenv3/lib/python3.3/site-packages/mezzanine/pages/middleware.py"
> in process_view
> 78. response = view_func(request, *view_args, **view_kwargs)
> File
> "/home/tom/myvenv3/lib/python3.3/site-packages/cartridge/shop/views.py"
> in invoice
> 358. import ho.pisa
> File "/home/tom/myvenv3/lib/python3.3/site-packages/ho/pisa/__init__.py"
> in <module>
> 26. from sx.pisa3.pisa import *
>
> Exception Type: SyntaxError at /shop/invoice/1/
> Exception Value: invalid syntax (__init__.py, line 43)
>
> --
> 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
mezzanine-use...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Email:
mol...@gmail.com