You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(3) |
2
(21) |
3
(16) |
4
(4) |
5
(7) |
6
(1) |
7
(2) |
8
(12) |
9
(23) |
10
(6) |
11
(2) |
12
(1) |
13
(1) |
14
(4) |
15
(14) |
16
(7) |
17
(15) |
18
(12) |
19
(5) |
20
|
21
(1) |
22
(7) |
23
(7) |
24
(6) |
25
(5) |
26
(9) |
27
(6) |
28
(4) |
29
(4) |
30
(27) |
|
|
|
On 10/29/05 09:41, Ryan Krauss wrote: > Here you go Ken. Thanks again. Let me know if I can do or try anything else: I'm sorry it's taken so long to me to get back to you. I finally had some time to look into things this morning, and I must confess I'm stumped... The stack trace you sent me indicates that the segfault occurs when _wxagg.cpp is trying to call wxPyConstructObject(): > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1210517280 (LWP 10694)] > 0xb4fa3411 in _wxagg_module::convert_agg_to_wx_bitmap (this=0x81d8108, > args=@0xbff1ccb0) at src/_wxagg.cpp:129 > 129 PyObject *pyWxBitmap = wxPyConstructObject(bitmap, > _T("wxBitmap"), 1---Type <return> to continue, or q <return> to > quit--- > ); > Current language: auto; currently c++ > (gdb) bt > #0 0xb4fa3411 in _wxagg_module::convert_agg_to_wx_bitmap (this=0x81d8108, > args=@0xbff1ccb0) at src/_wxagg.cpp:129 This didn't make a whole lot of sense to me at first, so I did some digging. It turns out that wxPyConstructObject() is actually a macro that invokes the function pointer wxPyCoreAPIPtr->p_wxPyConstructObject(). This is a pretty common idiom in Python for exposing extension module APIs to other extension modules... Numeric and numarray both use it, for example. So, it appears that dereferencing the either the pointer to the wxPyCoreAPIPtr structure itself or the p_wxPyConstructObject function pointer within that structure causes the segmentation fault. I've reviewed the code involved and I can't come up with a plausible cause for this behavior. I think this could be caused by a mismatch between the wxPython headers and the wxPython extension itself, but I'm not even sure that would do it. Could you try reinstalling the headers from the Ubuntu source package one more time and rebuilding, just to make sure that isn't the problem? I haven't been able to reproduce this problem under Debian, so I guess I'll need to get Ubuntu installed somewhere and hope that I can reproduce it myself. If anyone else has experienced similar problems while using the WxAgg accelerator extension, has been able to reproduce this particular problem, or has any idea what might be going on, please let me know! Thanks. Ken
[snip, snip] To summarize: the commandline is examined first, the rc file second, > and the default array package is Numeric. > > In your use case is this correct, or do we need to amend the build, > runtime or docs? According to your post, we should fall back on > Numeric if numarray is specified but not present. Reasonable, but > also a bit counter-intuitive since Numeric is the default and in this > case the user would have explicitly overridden the default. In the > case of an explicit override from the default, failing might be better > than just working.... > > How about a setup.py option where you can explicitly set numeric or numarray, such as "--use=3Dnumarray"? This optional will build MPL for numarray and modify the rc file so that it doesn't have to be edited by hand. -- Paul
>>>>> "Chris" == Chris Barker <Chr...@no...> writes: Chris> 1) I'm wondering if there's a way to pre-define different Chris> defaults for different platforms. For example, I built an Chris> OS-X installer that doesn't support GTK, but the Chris> .matplotlibrc still had GtkAgg as the default. Yes, I could Chris> have edited the .matplotlib rc in my installer, but I'd Chris> have to do that each time I built a new one. It would be Chris> nice to have something in CVS that just worked. This is what I do for the win32 builds -- hand edit the file before each build. A little bit of a pain, bit it works (as long as you remember to tweak the file before the build <wink>) Chris> 2) Perhaps we could make the processing of matplotlibrc Chris> smarter. For example: if numarray is specified, but not Chris> installed, and Numeric is, it could roll over to Chris> Numeric. Same thing with back-ends. Of course, this kind of Chris> breaks the "explicit is better than implicit" rule, but it Chris> would greatly improve the "It just works" qualities of MPL. There is a consensus that the backend selector should be smarter. One proposal is to iterate over a list of candidates and choose the first one that works. Another is to set the backend in the default rc file at setup.py build time. Both could be done, and the same arguments apply to the numerix setting (AFAIK, These are the only two rc file settings that might be advantageously set at build time). I think we would readily accept a patch for either or both of these, but there are those who already despise the amount of magic that pylab engages in (and you are usually near the front of that chorus). Yes, explicit is (usually) better than implicit, but this tends to conflict with "just works".... Are you starting to experience a change of heart :-) ? FYI, the advertised behavior of numeric is as follows (eg http://matplotlib.sf.net/matplotlib.numerix.html) numerix imports either Numeric or numarray based on various selectors. 0. If the value "--numarray" or "--Numeric" is specified on the command line, then numerix imports the specified array package. 1. The value of numerix in matplotlibrc: either Numeric or numarray 2. If none of the above is done, the default array package is Numeric. Because the matplotlibrc always provides *some* value for numerix (it has it's own system of default values), this default is most likely never used. To summarize: the commandline is examined first, the rc file second, and the default array package is Numeric. In your use case is this correct, or do we need to amend the build, runtime or docs? According to your post, we should fall back on Numeric if numarray is specified but not present. Reasonable, but also a bit counter-intuitive since Numeric is the default and in this case the user would have explicitly overridden the default. In the case of an explicit override from the default, failing might be better than just working.... JDH
>>>>> "frank" == frank h <fra...@gm...> writes: frank> RuntimeError: '/Library/WebServer' frank> is not a writable dir; you must set environment variable frank> HOME to be a writable dir frank> what am i doing wrong? any insight is appreciated thanks, Python tracebacks are a little funny: you have to read them from the end to make sense of them. In this case I'll quote the end of the message you posted back to you RuntimeError: '/Library/WebServer' is not a writable dir; you must set environment variable HOME to be a writable dir Is this not clear? If not, you need to learn a little bit about UNIX, environment variables, and permissions. But feel free to ask questions here along the way :-) JDH