Mageia Bugzilla – Attachment 4303 Details for
Bug 11128
UnicodeDecodeError in import pylab and pyplot from matplotlib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Proposed patch
matplotlib_UnicodeDecodeError.patch (text/plain), 445 bytes, created by
Filipe Saraiva
on 2013-09-02 01:28:23 CEST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Filipe Saraiva
Created:
2013-09-02 01:28:23 CEST
Size:
445 bytes
patch
obsolete
>--- /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py 2013-09-01 20:16:57.109716448 -0300 >+++ /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py.bkp 2013-09-01 20:16:03.231715219 -0300 >@@ -395,7 +395,7 @@ > else: > sfnt2 = '' > if sfnt4: >- sfnt4 = sfnt4.decode('ascii', 'ignore').lower() >+ sfnt4 = sfnt4.decode('ascii').lower() > else: > sfnt4 = '' > if sfnt4.find('oblique') >= 0:
--- /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py 2013-09-01 20:16:57.109716448 -0300 +++ /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py.bkp 2013-09-01 20:16:03.231715219 -0300 @@ -395,7 +395,7 @@ else: sfnt2 = '' if sfnt4: - sfnt4 = sfnt4.decode('ascii', 'ignore').lower() + sfnt4 = sfnt4.decode('ascii').lower() else: sfnt4 = '' if sfnt4.find('oblique') >= 0:
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11128
: 4303