SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S






1
2
3
(2)
4
(11)
5
(10)
6
(9)
7
(29)
8
(1)
9
(3)
10
(10)
11
(14)
12
(16)
13
(2)
14
15
16
17
(2)
18
19
(1)
20
(1)
21
(5)
22
23
(2)
24
(5)
25
(2)
26
27
(1)
28
(3)
29
(1)
30
(2)






Showing 10 results of 10

From: Paul K. <pki...@ni...> - 2007年09月05日 22:13:12
I went through the demo list again today. Here are some problems:
$ python fonts_demo.py 
Traceback (most recent call last):
 File "fonts_demo.py", line 31, in <module>
 font.set_name('Script MT')
AttributeError: 'FontProperties' object has no attribute 'set_name'
I'm getting segfaults for the following on wxagg for os x:
 annotation_demo
 polar_*
 transoffset
The polar demos work for pdf but not agg from backend_driver.py
	- Paul
From: Michael D. <md...@st...> - 2007年09月05日 15:48:29
Thanks. This patch looks good -- apologies for my sloppy confusion of 
Python/C++ deletes.
I just committed this patch (r3790) with one exception: as your comment 
suggests, when get_image is called and image == NULL, it throws and 
exception.
Cheers,
Mike
Paul Kienzle wrote:
> On Wed, Sep 05, 2007 at 07:13:27AM -0400, Michael Droettboom wrote:
>> Jouni K. Seppänen wrote:
>>> Paul Kienzle <pki...@ni...> writes:
>>>
>>> [segfaults]
>>>> Is there something in the last couple of weeks which might cause this?
>>> Some changes in font handling caused segfaults for me, and it turned out
>>> to be a bug in an old version of freetype:
>>>
>>> http://article.gmane.org/gmane.comp.python.matplotlib.general/10062
>>>
>>> Try running python under gdb, or using strace/truss/ktrace to see what
>>> is happening right before the segfault.
>> I'm not able to reproduce anything amiss on my Linux box.
> 
> I'm able to eliminate the problem by setting image=NULL after deleting it.
> 
> I did some mods to the refcount handling so that it consistently uses
> XINC/XDEC for images and INC/DEC for glyphs.
> 
> I added in INCREF to get_glyph(); you don't seem to call it so it didn't 
> show up as an error without.
> 
> See attached patch. Let me know if I should post it to svn.
> 
> 	- Paul
> 
> 
From: Paul K. <pki...@ni...> - 2007年09月05日 15:34:13
Attachments: ft2font.diff
On Wed, Sep 05, 2007 at 07:13:27AM -0400, Michael Droettboom wrote:
> Jouni K. Seppänen wrote:
> > Paul Kienzle <pki...@ni...> writes:
> > 
> > [segfaults]
> >> Is there something in the last couple of weeks which might cause this?
> > 
> > Some changes in font handling caused segfaults for me, and it turned out
> > to be a bug in an old version of freetype:
> > 
> > http://article.gmane.org/gmane.comp.python.matplotlib.general/10062
> > 
> > Try running python under gdb, or using strace/truss/ktrace to see what
> > is happening right before the segfault.
> 
> I'm not able to reproduce anything amiss on my Linux box.
I'm able to eliminate the problem by setting image=NULL after deleting it.
I did some mods to the refcount handling so that it consistently uses
XINC/XDEC for images and INC/DEC for glyphs.
I added in INCREF to get_glyph(); you don't seem to call it so it didn't 
show up as an error without.
See attached patch. Let me know if I should post it to svn.
	- Paul
From: <jk...@ik...> - 2007年09月05日 15:06:55
Paul Kienzle <pki...@ni...> writes:
> Looks like a freetype bug: the following code segfaults when linked
> against libfreetype.6.3.10 but not when linked against
> libfreetype.6.3.16.
>
> I don't understand why it is referring to 6.3.16 when 2.3.5 was released
> in July 2007, unless 6.3.16 means May 16, 2006.
Oh, I was referring to the version numbers in the filenames (is it
called "soversion"?). I think libfreetype.6.3.16.dylib is a file from
Freetype 2.3.5.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Paul K. <pki...@ni...> - 2007年09月05日 13:12:13
On Wed, Sep 05, 2007 at 01:40:02PM +0300, Jouni K. Seppänen wrote:
> Paul Kienzle <pki...@ni...> writes:
> 
> [segfaults]
> > Is there something in the last couple of weeks which might cause this?
> 
> Some changes in font handling caused segfaults for me, and it turned out
> to be a bug in an old version of freetype:
> 
> http://article.gmane.org/gmane.comp.python.matplotlib.general/10062
> 
> Try running python under gdb, or using strace/truss/ktrace to see what
> is happening right before the segfault.
Running gdb first:
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x65c4a402
 0x65c4a402 in ?? ()
 (gdb) bt
 #0 0x65c4a402 in ?? ()
 #1 0x0265c5e1 in FT_Glyph_Get_CBox (glyph=0x54463a3a, bbox_mode=1634552114, acbox=0x6567) at /Users/pkienzle/Packages/freetype-2.3.5/src/base/ftglyph.c:534
 Previous frame inner to this frame (corrupt stack?)
So the problem seems to be in freetype.
The link above says:
 Looks like a freetype bug: the following code segfaults when linked
 against libfreetype.6.3.10 but not when linked against
 libfreetype.6.3.16. Freetype has some code to read dfont files, which
 apparently had a bug in the older version, and this is triggered by the
 new code that reads in all font files.
I don't understand why it is referring to 6.3.16 when 2.3.5 was released
in July 2007, unless 6.3.16 means May 16, 2006.
	- Paul
From: Michael D. <md...@st...> - 2007年09月05日 11:52:47
I don't think it's related. But definitely a bug... I forgot to test 
my baseline code with text.usetex turned on.
I just submitted a fix in r3781.
Cheers,
Mike
Manuel Metz wrote:
> Don't know whether this is related, but I now get the following error:
> 
> File 
> "/py.src/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py", 
> line 669, in draw_tex
> w, h, bl = self.get_text_width_height_baseline(s, prop, ismath)
> AttributeError: RendererPS instance has no attribute 
> 'get_text_width_height_baseline'
> 
> with the the latest svn trunk ...
> 
> Manuel
> 
> Paul Kienzle wrote:
>> In checking the mathtext rotation feature I found that the graph displayed
>> fine, but python segfault'd shortly after displaying it. Most (all) examples
>> are failing for me for svn r3778, even after rebuilding and reinstalling
>> everything.
>>
>> Is there something in the last couple of weeks which might cause this?
>>
>> Running backend_drivers, the Agg plots are fine. 
>> None of the PS plots are viewable with Preview.app. 
>> I don't have an svg viewer handy.
>>
>> I'm running macpython 2.5 fat binary build on OS X 10.4 with wx 2.8.
>>
>> Anyone else having problems with it?
>>
>> 	- Paul
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
From: Manuel M. <mm...@as...> - 2007年09月05日 11:46:22
Don't know whether this is related, but I now get the following error:
File 
"/py.src/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py", 
line 669, in draw_tex
 w, h, bl = self.get_text_width_height_baseline(s, prop, ismath)
AttributeError: RendererPS instance has no attribute 
'get_text_width_height_baseline'
with the the latest svn trunk ...
Manuel
Paul Kienzle wrote:
> In checking the mathtext rotation feature I found that the graph displayed
> fine, but python segfault'd shortly after displaying it. Most (all) examples
> are failing for me for svn r3778, even after rebuilding and reinstalling
> everything.
> 
> Is there something in the last couple of weeks which might cause this?
> 
> Running backend_drivers, the Agg plots are fine. 
> None of the PS plots are viewable with Preview.app. 
> I don't have an svg viewer handy.
> 
> I'm running macpython 2.5 fat binary build on OS X 10.4 with wx 2.8.
> 
> Anyone else having problems with it?
> 
> 	- Paul
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
---------------------------------------
 Manuel Metz ............ Stw@AIfA
 Argelander Institut fuer Astronomie
 Auf dem Huegel 71 (room 3.06)
 D - 53121 Bonn
 E-Mail: mm...@as...
 Web: www.astro.uni-bonn.de/~mmetz
 Phone: (+49) 228 / 73-3660
 Fax: (+49) 228 / 73-3672
---------------------------------------
From: Michael D. <md...@st...> - 2007年09月05日 11:13:39
Jouni K. Seppänen wrote:
> Paul Kienzle <pki...@ni...> writes:
> 
> [segfaults]
>> Is there something in the last couple of weeks which might cause this?
> 
> Some changes in font handling caused segfaults for me, and it turned out
> to be a bug in an old version of freetype:
> 
> http://article.gmane.org/gmane.comp.python.matplotlib.general/10062
> 
> Try running python under gdb, or using strace/truss/ktrace to see what
> is happening right before the segfault.
I'm not able to reproduce anything amiss on my Linux box.
I would try Jouni's suggestion, and if that doesn't work, please try 
going back to revision 3762, which is before I made a number of changes 
to the memory management of font buffers. If that works, but HEAD 
doesn't a traceback from gdb would be useful.
Cheers,
Mike
From: <jk...@ik...> - 2007年09月05日 10:40:49
Paul Kienzle <pki...@ni...> writes:
[segfaults]
> Is there something in the last couple of weeks which might cause this?
Some changes in font handling caused segfaults for me, and it turned out
to be a bug in an old version of freetype:
http://article.gmane.org/gmane.comp.python.matplotlib.general/10062
Try running python under gdb, or using strace/truss/ktrace to see what
is happening right before the segfault.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael D. <md...@st...> - 2007年09月05日 10:29:26
It's certainly possible my text rotation changes have caused this. I did all my testing on Linux, and didn't see any problems there.
It it the text_rotation.py example that segfaults for you or something else?
I'll have to look into this further when I get in to work.
Cheers,
Mike

Showing 10 results of 10

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /