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



Showing 3 results of 3

From: David K. <dav...@ir...> - 2011年08月01日 15:26:01
Hi,
I will be on vacation with limited email from July 14 to August 7, 2011.
Bonjour,
Je serai en conge du 14 juillet jusqu'au 7 aout, 2011.
From: Benjamin R. <ben...@ou...> - 2011年08月01日 15:25:45
2011年7月28日 Pavel Raiskup <pra...@re...>
> Hi,
>
> I would like to report some issues in python basemap package and easy-fixes
> for
> some of them. We would really appreciate if there was somebody who could
> look
> on this and consider important bugs to be fixed.
>
> These bugs was found by Coverity scan and we have ran it on Fedora 15
> packages (srpm). There was some findings in python basemap package also.
> Coverity
> is proprietary software but we can give its result to community (if
> interrested),
> possibly we can re-run some tests on srpms on demand.
>
> Patch for next three obvious bugs (plaintext cov. output) is attached:
>
> Error: OVERRUN_STATIC:
> basemap-0.99.4/src/pj_**gridlist.c:252: overrun-local: Overrunning static
> array "name", with 128 elements, at position 128 with index variable
> "end_char".
>
> Error: UNINIT:
> basemap-0.99.4/src/mk_cheby.c:**42: var_decl: Declaring variable "T"
> without initializer.
> basemap-0.99.4/src/mk_cheby.c:**150: uninit_use: Using uninitialized value
> "T".
> basemap-0.99.4/src/mk_cheby.c:**151: uninit_use: Using uninitialized value
> "T->mu".
> basemap-0.99.4/src/mk_cheby.c:**152: uninit_use: Using uninitialized value
> "T->cu".
> basemap-0.99.4/src/mk_cheby.c:**154: uninit_use: Using uninitialized value
> "T->mv".
> basemap-0.99.4/src/mk_cheby.c:**155: uninit_use: Using uninitialized value
> "T->cv".
> basemap-0.99.4/src/mk_cheby.c:**163: uninit_use: Using uninitialized value
> "T".
>
> Error: NO_EFFECT:
> basemap-0.99.4/src/PJ_sconics.**c:52: self_assign: Assignment operation
> "*del = *del" has no effect.
>
> __________________________
>
> But there is more defects (or coding style issues) and some of them are not
> so obvious. There could be potential problems -- need to be consulted,
> e.g.:
>
> Error: EVALUATION_ORDER:
> basemap-0.99.4/src/PJ_stere.c:**232: write_write_order: In "P->phits =
> (pj_param(P->params, "tlat_ts").i ? P->phits = pj_param(P->params,
> "rlat_ts").f : 1.5708)", "P->phits" is written in "P->phits" (the assignment
> left-hand side) and written in "pj_param(P->params, "tlat_ts").i ? P->phits
> = pj_param(P->params, "rlat_ts").f : 1.5708" but the order in which the side
> effects take place is undefined because there is no intervening sequence
> point.
>
> Error: FORWARD_NULL:
> basemap-0.99.4/src/emess.c:29: var_compare_op: Comparing "fmt" to null
> implies that "fmt" might be null.
> basemap-0.99.4/src/emess.c:51: var_deref_model: Passing null variable "fmt"
> to function "vfprintf", which dereferences it.
>
> Error: FORWARD_NULL:
> basemap-0.99.4/src/pj_**gridinfo.c:505: var_compare_op: Comparing "gp" to
> null implies that "gp" might be null.
> basemap-0.99.4/src/pj_**gridinfo.c:512: alias_transfer: Assigning null:
> "lnk" = "gp".
> basemap-0.99.4/src/pj_**gridinfo.c:512: var_deref_op: Dereferencing null
> variable "lnk".
>
> Error: FORWARD_NULL:
> basemap-0.99.4/src/pj_ell_set.**c:30: var_compare_op: Comparing
> "start->next" to null implies that "start->next" might be null.
> basemap-0.99.4/src/pj_ell_set.**c:92: var_deref_op: Dereferencing null
> variable "start->next".
>
> Coverity test was done on:
> http://sourceforge.net/**projects/matplotlib/files/**
> matplotlib-toolkits/basemap-0.**99.4/basemap-0.99.4.tar.gz<http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-0.99.4/basemap-0.99.4.tar.gz>
>
> ..so svn version is little different (line numbers) but it can be handy for
> finding hidden bugs. I can send you full plain-text log if you want.
>
> Pavel
>
>
Pavel,
Coverity is an interesting product and I heard of it before on
TheDailyWTF.com (in positive light, of course!). However, it appears that
you were scanning an outdated version of our software. The current release
version is v1.0.1, and we are poised to do another release soon. The
current version of our software can be found at
https://github.com/matplotlib/ (there are separate matplotlib and basemap
repos). I would certainly be interested in the results on that.
However, if RedHat is interested in packaging matplotlib in a release of
RHEL (I know a lot of people at NOAA, NWS and NSSL who would appreciate
that) and there is a particular version of matplotlib that you have selected
for packaging, we can certainly work with you on that.
Ben Root
From: Tony Yu <ts...@gm...> - 2011年08月01日 15:00:35
I probably should have sent this to the devel list instead of the user list.
Is anyone else running into a similar problem with Qt, or is something in my
install screwy?
Thanks,
-Tony
---------- Forwarded message ----------
From: Tony Yu <ts...@gm...>
Date: Mon, Jul 18, 2011 at 5:58 PM
Subject: IOError: [Errno 4] Interrupted system call (Qt4 backend)
To: matplotlib-users <mat...@li...>
When using the Qt4 backend, I'm getting an IOError similar to the one
detailed in:
http://old.nabble.com/matplotlib-with-Qt4-backend-td26311369.html
But it's definitely a separate issue (see Traceback below). This issue also
seems specific to Qt (I couldn't reproduce it on 'macosx', 'tkagg', or 'agg'
backends).
I found a number of other people who ran into similar problems with Qt.
Their solutions tend to be: catch the error and just try running the process
again.
I'm on Qt 4.7.3, OS X 10.6.8, Matplotlib trunk. Any help would be much
appreciated.
-Tony
Script reproducing issue
========================
import matplotlib
matplotlib.use('qt4agg')
import matplotlib.pyplot as plt
for n in xrange(300):
 plt.plot([0, 1])
 plt.savefig('test.jpg')
# Since it's a signaling issue, it gets triggered randomly, so the attached
# script may or not reproduce the issue.
Traceback
=========
traceback (most recent call last):
 File "qterror.py", line 8, in <module>
 plt.savefig('test.jpg')
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/pyplot.py", line 428, in
savefig
 return fig.savefig(*args, **kwargs)
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/figure.py", line 1162,
in savefig
 self.canvas.print_figure(*args, **kwargs)
 File
"/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_qt4agg.py",
line
 153, in print_figure
 FigureCanvasAgg.print_figure(self, *args, **kwargs)
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/backend_bases.py", line
1979, in
print_figure
 **kwargs)
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/backend_bases.py", line
1799, in
print_jpg
 buf, size = agg.print_to_buffer()
 File
"/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_agg.py", line
45
7, in print_to_buffer
 FigureCanvasAgg.draw(self)
 File
"/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_agg.py", line
40
0, in draw
 self.renderer = self.get_renderer()
 File
"/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_agg.py", line
41
1, in get_renderer
 self.renderer = RendererAgg(w, h, self.figure.dpi)
 File
"/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_agg.py", line
51
, in __init__
 RendererBase.__init__(self)
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/backend_bases.py", line
114, in _
_init__
 self._text2path = textpath.TextToPath()
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/textpath.py", line 37,
in __init_
_
 self._adobe_standard_encoding = self._get_adobe_standard_encoding()
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/textpath.py", line 41,
in _get_ad
obe_standard_encoding
 enc_name = dviread.find_tex_file('8a.enc')
 File "/Users/Tony/python/devel/mpl/lib/matplotlib/dviread.py", line 837,
in find_te
x_file
 result = pipe.communicate()[0].rstrip()
 File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subpro
cess.py", line 663, in communicate
 stdout = self.stdout.read()
IOError: [Errno 4] Interrupted system call

Showing 3 results of 3

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 によって変換されたページ (->オリジナル) /