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

Showing 12 results of 12

From: John H. <jdh...@ac...> - 2006年03月17日 20:28:09
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
 Darren> (That is the official form of currency on this list, isn't
 Darren> it?)
Well, I don't know if I ever mentioned this here, but Perry actually
mailed me a doughnut via snail mail once, after I repeatedly snubbed
him for welching on a bet. So I guess that does make it the official
currency.
JDH
From: Darren D. <dd...@co...> - 2006年03月17日 20:24:36
On Friday 17 March 2006 14:51, Andrew Straw wrote:
> John Hunter wrote:
> >>>>>>"Darren" == Darren Dale <dd...@co...> writes:
> >
> > Darren> I just had a thought. os.system will yield the exit
> > Darren> status, but the stdout, stderr messages automatically get
> > Darren> passed on to sys.stdout. I think I could temporarily
> > Darren> redirect sys.stdout long enough to catch that information
> > Darren> behind the scenes. Is there a reason not to pursue this
> > Darren> route?
> >
> >I think it may be ill-advised for a library to be mucking around with
> >sys.stdout, since the calling application may be doing the same.
>
> Sorry I missed this thread while working on fixes to _subprocess.c in
> MPL svn. (Only required on win32.)
>
> First, I didn't realize there was an extension module involved, either.
> This is because it's a platform-dependent (win32) requirement, and I
> don't frequently use Windows. I agree this makes it a harder choice to
> include.
>
> Second, I believe the page pointed to by Darren is out-of-date: the most
> recent update to subprocess.py is from Feb 21, 2005, while in Python svn
> the most recent update is September 23. I've updated our svn repository
> to the most recent subprocess and hopefully made a few robustness
> improvements.
>
> Third, if we (Darren) determines subprocess isn't needed, after all, we
> can rip it out again. (My feelings won't be hurt.) I'm just concerned
> that he's going to re-implement what they've already done. Wouldn't it
> just be easier to see what aspects of it are win32-dependent tread
> carefully? After all, the whole purpose of the module is exactly so that
> all this stuff is done by subprocess, and if there are win32-dependent
> issues remaining, it's most likely that there's a good reason (like its
> simply not possible on win32).
I've been banging my head against this all day. There are other solutions that 
will help usetex get by, but subprocess does exactly what we need. So Andrew, 
if you were able to get the subprocess extension code to work properly in the 
mpl tree, I'll owe you a doughnut. 
(That is the official form of currency on this list, isn't it?)
From: John H. <jdh...@ac...> - 2006年03月17日 20:07:38
>>>>> "Andrew" == Andrew Straw <str...@as...> writes:
 Andrew> Sorry I missed this thread while working on fixes to
 Andrew> _subprocess.c in MPL svn. (Only required on win32.)
No worries, I've been flip-flopping so fast it's hard to keep up :-)
It looks like you've already done the hard part. After the next build
we can test it on win32 and other platforms and re-enable the
subprocess stuff in backend ps and texmanager when we are convinced
it's working.
Thanks!
JDH
From: Andrew S. <str...@as...> - 2006年03月17日 19:51:13
John Hunter wrote:
>>>>>>"Darren" == Darren Dale <dd...@co...> writes:
>>>>>> 
>>>>>>
> Darren> I just had a thought. os.system will yield the exit
> Darren> status, but the stdout, stderr messages automatically get
> Darren> passed on to sys.stdout. I think I could temporarily
> Darren> redirect sys.stdout long enough to catch that information
> Darren> behind the scenes. Is there a reason not to pursue this
> Darren> route?
>
>I think it may be ill-advised for a library to be mucking around with
>sys.stdout, since the calling application may be doing the same.
> 
>
Sorry I missed this thread while working on fixes to _subprocess.c in
MPL svn. (Only required on win32.)
First, I didn't realize there was an extension module involved, either.
This is because it's a platform-dependent (win32) requirement, and I
don't frequently use Windows. I agree this makes it a harder choice to
include.
Second, I believe the page pointed to by Darren is out-of-date: the most
recent update to subprocess.py is from Feb 21, 2005, while in Python svn
the most recent update is September 23. I've updated our svn repository
to the most recent subprocess and hopefully made a few robustness
improvements.
Third, if we (Darren) determines subprocess isn't needed, after all, we
can rip it out again. (My feelings won't be hurt.) I'm just concerned
that he's going to re-implement what they've already done. Wouldn't it
just be easier to see what aspects of it are win32-dependent tread
carefully? After all, the whole purpose of the module is exactly so that
all this stuff is done by subprocess, and if there are win32-dependent
issues remaining, it's most likely that there's a good reason (like its
simply not possible on win32).
From: Darren D. <dd...@co...> - 2006年03月17日 19:48:06
Andrew Straw wrote:
> (The following point may be moot, given that Darren has now removed a
> subprocess dependency... Darren -- does your code depend on it anywhere
> else?)
> 
Actually, I only masked all of the subprocess code. It is still there, 
if we find a way to make this work.
> I discovered that subprocess.py on win32 depends either on _subprocess
> (a C extension) or pywin32 (another Python package). Given that we don't
> want another Python package to depend on, I've taken the liberty of
> adding _subprocess and hopefully enabling the right conditional build
> statements for it.
>
> 
Thank you Andrew, for giving this a shot.
> However, I haven't actually been able to test my action, because I
> haven't tried building it and installing it on Windows with Python <
> 2.4. If someone could please attempt to do this and make sure our
> subprocess.py works, that would be great. The easiest way to do this
> would be:
>
> 
I would do this myself, but the last straw leading to my flight from 
windows was the difficulty I had compiling mpl from source.
> 1) download MPL from svn
> 2) compile and install MPL with Python < 2.4
> 3) inside python try "import subprocess"
> 4) respond back to the list with your outcome
> 
From: Andrew S. <str...@as...> - 2006年03月17日 19:36:49
(The following point may be moot, given that Darren has now removed a
subprocess dependency... Darren -- does your code depend on it anywhere
else?)
I discovered that subprocess.py on win32 depends either on _subprocess
(a C extension) or pywin32 (another Python package). Given that we don't
want another Python package to depend on, I've taken the liberty of
adding _subprocess and hopefully enabling the right conditional build
statements for it.
However, I haven't actually been able to test my action, because I
haven't tried building it and installing it on Windows with Python <
2.4. If someone could please attempt to do this and make sure our
subprocess.py works, that would be great. The easiest way to do this
would be:
1) download MPL from svn
2) compile and install MPL with Python < 2.4
3) inside python try "import subprocess"
4) respond back to the list with your outcome
Cheers!
Andrew
From: John H. <jdh...@ac...> - 2006年03月17日 18:46:59
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
 Darren> I just had a thought. os.system will yield the exit
 Darren> status, but the stdout, stderr messages automatically get
 Darren> passed on to sys.stdout. I think I could temporarily
 Darren> redirect sys.stdout long enough to catch that information
 Darren> behind the scenes. Is there a reason not to pursue this
 Darren> route?
I think it may be ill-advised for a library to be mucking around with
sys.stdout, since the calling application may be doing the same.
JDH
From: Darren D. <dd...@co...> - 2006年03月17日 18:31:03
On Friday 17 March 2006 13:07, Darren Dale wrote:
> On Friday 17 March 2006 12:08, John Hunter wrote:
> > >>>>> "Darren" == Darren Dale <dd...@co...> writes:
> >
> > Darren> which contains only one directory with the following
> > Darren> files: AUTHORS TODO pep.txt setup.py test_subprocess.py
> > Darren> MANIFEST.in _subprocess.c setup.cfg subprocess.py
> >
> > Hmm, this is starting to make me nervous.... I didn't realize
> > extension code was going to be involved. I thought we were dealing
> > with a single python file.
> >
> > If it starts to look like distributing subprocess across platforms is
> > non-trivial and we need it, I'll switch my vote to +1 for revamping
> > backend_ps and backend_agg to delay import of texmanager until needed
> > and leave it to texmanager users to make sure they install subprocess.
>
> I think we need to catch the exit status. As Nils discovered, there are
> opportunities for latex and friends to fail silently and give strange
> results (\frac{1}{2} vs $\frac{1}{2}$). Other errors will result in missing
> temporary files (like dvi's and png's), which are not as difficult to track
> down, but still a pain in the butt.
>
> I just had a thought. os.system will yield the exit status, but the stdout,
> stderr messages automatically get passed on to sys.stdout. I think I could
> temporarily redirect sys.stdout long enough to catch that information
> behind the scenes. Is there a reason not to pursue this route?
Would this work across platforms? It works on linux and windows:
exitstat = os.system('tex --version > temp.txt' )
From: Darren D. <dd...@co...> - 2006年03月17日 18:07:37
On Friday 17 March 2006 12:08, John Hunter wrote:
> >>>>> "Darren" == Darren Dale <dd...@co...> writes:
>
> Darren> which contains only one directory with the following
> Darren> files: AUTHORS TODO pep.txt setup.py test_subprocess.py
> Darren> MANIFEST.in _subprocess.c setup.cfg subprocess.py
>
> Hmm, this is starting to make me nervous.... I didn't realize
> extension code was going to be involved. I thought we were dealing
> with a single python file.
>
> If it starts to look like distributing subprocess across platforms is
> non-trivial and we need it, I'll switch my vote to +1 for revamping
> backend_ps and backend_agg to delay import of texmanager until needed
> and leave it to texmanager users to make sure they install subprocess.
I think we need to catch the exit status. As Nils discovered, there are 
opportunities for latex and friends to fail silently and give strange results 
(\frac{1}{2} vs $\frac{1}{2}$). Other errors will result in missing temporary 
files (like dvi's and png's), which are not as difficult to track down, but 
still a pain in the butt. 
I just had a thought. os.system will yield the exit status, but the stdout, 
stderr messages automatically get passed on to sys.stdout. I think I could 
temporarily redirect sys.stdout long enough to catch that information behind 
the scenes. Is there a reason not to pursue this route?
Darren
From: John H. <jdh...@ac...> - 2006年03月17日 17:10:07
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
 Darren> which contains only one directory with the following
 Darren> files: AUTHORS TODO pep.txt setup.py test_subprocess.py
 Darren> MANIFEST.in _subprocess.c setup.cfg subprocess.py
Hmm, this is starting to make me nervous.... I didn't realize
extension code was going to be involved. I thought we were dealing
with a single python file.
If it starts to look like distributing subprocess across platforms is
non-trivial and we need it, I'll switch my vote to +1 for revamping
backend_ps and backend_agg to delay import of texmanager until needed
and leave it to texmanager users to make sure they install subprocess.
JDH
From: Darren D. <dd...@co...> - 2006年03月17日 16:58:14
On Thursday 16 March 2006 14:55, Charlie Moad wrote:
> This is sneaking in for python2.3 and windows. Here is the code
> culprit below. We'll have to look into where this _subprocess module
> is supposed to be coming from.
>
> For now you can download
> "http://effbot.org/downloads/subprocess-0.1-20041012.win32-py2.3.exe"
> from "http://effbot.org/downloads/". I'll post a new python2.3 build
> shortly that includes this.
The full subprocess source is available here: 
http://www.lysator.liu.se/~astrand/popen5/
which contains only one directory with the following files:
AUTHORS TODO pep.txt setup.py test_subprocess.py
MANIFEST.in _subprocess.c setup.cfg subprocess.py
Would someone well versed with distutils please advise me on which of these 
should be added to the mpl tree and where? (Note: Their setup.py file uses 
py_modules, which if I remember correctly is not backwards compatible with 
python 2.2.)
Thanks,
Darren
On 16/03/06, Fernando Perez <Fer...@co...> wrote:
>
> Well, the problem is here:
>
> + cd
> /scratch/local/home/fperez/tmp/lsrc/matplotlib/build/bdist.linux-i686/rpm=
/BUILD
> + cd matplotlib-0.87.2dev_r2151
> + LANG=3DC
> + export LANG
> + unset DISPLAY
>
> That last line unsets the DISPLAY variable, so it doesn't matter who is
> running it, it will never work. I had tested this before mailing both as=
 root
> with X11 properly configured and as my own user, but obviously with this =
unset
> in there, nothing I do can help.
 IMO rpm is right and the test is wrong. It does not make any sense
to require a running X just to check that pygtk is installed.
> The mysterious part is why bdist_rpm /used/ to work for mpl as of 0.83.2.=
 It
> could be either that a change in mpl's build made it more sensitive to X1=
1
> issues than before, or that Fedora3 updated its rpm build scripts between
> those days and today, and that now they do this 'unset DISPLAY'. But giv=
en
> that on Ubuntu and Mandriva it's working OK, I wouldn't worry too much ab=
out
> it. Having that feedback was a good outcome of this thread, even if I ca=
n't
> upgrade in our lab :)
 The usual trick in rpms it to require a nest X to test for pygtk.
> Cheers,
>
> f
--
Jos=E9 Ab=EDlio

Showing 12 results of 12

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