It shows this line:
File "C:\simuladores\..\simuladores\detector\views.py" in pdf
259. canvas.print_pdf(response, facecolor='w', edgecolor='w')
File "C:\Python26\Lib\site-packages\matplotlib\backend_bases.py" in
print_pdf
1334. return pdf.print_pdf(*args, **kwargs)
In my code this line is: dir(canvas.print_pdf)
canvas.print_pdf(response, facecolor='w', edgecolor='w')
but I do not know about solving.
On 23 maio, 09:37, kenneth gonsalves <[email protected]> wrote:
> On Wed, 2012-05-23 at 05:16 -0700, Waleria wrote:
> > Exception Type: TypeError Exception Value: coercing to Unicode: need
> > string or buffer, dict found
>
> you have to find out where in the code the error is coming. Then you
> will find that you are passing a dict instead of a string.
> --
> regards
> Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.