Hello all,
I have another problem to solve but I guess be easier than my first
message for this list ..., so let's go again ...,
I have this error message as follow ...
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Users\Ademir\Documents\Ademir\Python\Modulos\Lottery.py",
line 1361, in table_2Rel
if askyesno( self.textName[ 21 ], self.textName[ 22 ] ):
self.graphic_2()
File "C:\Users\Ademir\Documents\Ademir\Python\Modulos\Lottery.py",
line 1469, in graphic_2
else: pyplot.draw()
File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 349,
in draw
get_current_fig_manager().canvas.draw()
File
"C:\Python26\lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 258, in draw
FigureCanvasAgg.draw(self)
File
"C:\Python26\lib\site-packages\matplotlib\backends\backend_agg.py", line
394, in draw
self.figure.draw(self.renderer)
File "C:\Python26\lib\site-packages\matplotlib\artist.py", line 55,
in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 802,
in draw
func(*args)
File "C:\Python26\lib\site-packages\matplotlib\artist.py", line 55,
in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\text.py", line 524, in
draw
bbox, info = self._get_layout(renderer)
File "C:\Python26\lib\site-packages\matplotlib\text.py", line 303, in
_get_layout
clean_line, ismath = self.is_math_text(line)
File "C:\Python26\lib\site-packages\matplotlib\text.py", line 978, in
is_math_text
if cbook.is_math_text(s):
File "C:\Python26\lib\site-packages\matplotlib\cbook.py", line 1682,
in is_math_text
s = unicode(s)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 5:
ordinal not in range(128)
excerpt of may code is ...
fig.suptitle( "LotoFácil", fontsize = self.fon[ 6 ][ 1 ], fontweight =
"extra bold",
fontstyle = "italic", color = self.cor[ 608 ][ 1
], lod = True )
The problem is /LotoFácil/ . I solve it just using LotoFacil instead
but I'm Brazilian and this is not correct for us. Help me please.
Thank you very much,
--
Ademir Francisco da Silva
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users