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
(1) |
3
(3) |
4
(8) |
5
(5) |
|
6
(1) |
7
(16) |
8
(7) |
9
(29) |
10
(16) |
11
(8) |
12
(8) |
|
13
(1) |
14
(17) |
15
(15) |
16
(23) |
17
(20) |
18
(25) |
19
(2) |
|
20
(3) |
21
(12) |
22
(6) |
23
(11) |
24
(6) |
25
(3) |
26
|
|
27
(2) |
28
(4) |
29
(19) |
30
(5) |
31
(33) |
|
|
|
From: Francesco P. <cez...@gm...> - 2008-01-08 23:17:03
|
Hi, i'm a newcomer: greetings to all! I'm trying to compile matplotlib
on windows platform using mingw toolchains (I'm going to play a little
with the code). I think to have all dependencies, as specified in
setupext.py (downloaded the static header+libs package).
Unfortunately, linking is not working. I'm using latest stable version
of mingw, 5.1.3. Follows the output; I trimmed it a little, hopefully
only reduntant parts, but if you prefer here is the full output
(without automatic mail client line wraps...):
http://bproofs.homeunix.org/build23.out
If you need more information on my setup, please ask me.
Thanks for any help!
Francesco Pretto
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
BUILDING MATPLOTLIB
matplotlib: 0.91.2
python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
v.1310 32 bit (Intel)]
platform: win32
Windows version: (5, 1, 2600, 2, 'Service Pack 2')
REQUIRED DEPENDENCIES
numpy: 1.0.4
freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.6,
pygobject: 2.12.3
Qt: no
Qt4: no
Cairo: 1.2.6
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
dvipng: batch.
ghostscript: "gswin32c" non =8A riconosciuto come comando intern=
o o
esterno, un programma eseguibile o un file batch.
latex: no
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
running build
running build_py
creating build
creating build\lib.win32-2.5
copying lib\pylab.py -> build\lib.win32-2.5
copying lib\configobj.py -> build\lib.win32-2.5
creating build\lib.win32-2.5\matplotlib
copying lib\matplotlib\afm.py -> build\lib.win32-2.5\matplotlib
copying lib\matplotlib\agg.py -> build\lib.win32-2.5\matplotlib
copying lib\matplotlib\art3d.py -> build\lib.win32-2.5\matplotlib
copying lib\matplotlib\artist.py -> build\lib.win32-2.5\matplotlib
copying lib\matplotlib\axes.py -> build\lib.win32-2.5\matplotlib
copying lib\matplotlib\axes3d.py -> build\lib.win32-2.5\matplotlib
[...]
copying lib\pytz\zoneinfo\US\Pacific-New -> build\lib.win32-2.5\pytz\zonein=
fo\US
copying lib\pytz\zoneinfo\US\Samoa -> build\lib.win32-2.5\pytz\zoneinfo\US
copying lib\dateutil\zoneinfo\zoneinfo-2007f.tar.gz ->
build\lib.win32-2.5\dateutil\zoneinfo
running build_ext
building 'matplotlib.ft2font' extension
C compiler: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes
creating build\temp.win32-2.5
creating build\temp.win32-2.5\Release
creating build\temp.win32-2.5\Release\src
creating build\temp.win32-2.5\Release\cxx
compile options: '-Iwin32_static\include -I.
-Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include
-Ic:\python25\PC -c'
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c CXX\cxxextensions.c -o
build\temp.win32-2.5\Release\cxx\cxxextensions.o
Found executable c:\mingw\bin\gcc.exe
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c
CXX\IndirectPythonInterface.cxx -o
build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c src/mplutils.cpp -o
build\temp.win32-2.5\Release\src\mplutils.o
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c CXX\cxx_extensions.cxx -o
build\temp.win32-2.5\Release\cxx\cxx_extensions.o
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c CXX\cxxsupport.cxx -o
build\temp.win32-2.5\Release\cxx\cxxsupport.o
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
-I. -Iwin32_static\include\freetype2 -I.\freetype2
-Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o
build\temp.win32-2.5\Release\src\ft2font.o
g++ -mno-cygwin -shared build\temp.win32-2.5\Release\src\ft2font.o
build\temp.win32-2.5\Release\src\mplutils.o
build\temp.win32-2.5\Release\cxx\cxxsupport.o
build\temp.win32-2.5\Release\cxx\cxx_extensions.o
build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o
build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib
-Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lgw32c
-lstdc++ -lm -lpython25 -lmsvcr71 -o
build\lib.win32-2.5\matplotlib\ft2font.pyd
Found executable c:\mingw\bin\g++.exe
Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized
[...]
Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized
Cannot export ??_C@_01BBODEMC@G?$AA@: symbol not found
Cannot export ??_C@_01BDACAMKP@h?$AA@: symbol not found
Cannot export ??_C@_01BIAFAFID@F?$AA@: symbol not found
Cannot export ??_C@_01BNIGIBBF@Q?$AA@: symbol not found
[...]
Cannot export ??_C@_0P@POJAEHDJ@dollarinferior?$AA@: symbol not found
Cannot export ??_C@_0P@PPKDJNAH@arrowdashright?$AA@: symbol not found
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/ftbase.obj): In
function `FT_Raccess_Get_HeaderInfo':
c:\documents and s:(.text[_FT_Raccess_Get_HeaderInfo]+0x4): undefined
reference to `__security_cookie'
c:\documents and s:76: undefined reference to `@__security_check_cookie@4'
c:\documents and s:76: undefined reference to `@__security_check_cookie@4'
c:\documents and s:76: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/ftbase.obj): In
function `IsMacBinary':
c:\documents and s:(.text[_IsMacBinary]+0x7): undefined reference to
`__security_cookie'
c:\documents and s:38: undefined reference to `@__security_check_cookie@4'
c:\documents and s:38: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/psmodule.obj): In
function `ps_unicode_value':
c:\documents and s:(.text[_ps_unicode_value]+0x4): undefined reference
to `__security_cookie'
c:\documents and s:119: undefined reference to `@__security_check_cookie@4'
c:\documents and s:119: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In
function `_bdf_split':
c:\documents and s:(.text[__bdf_split]+0x4): undefined reference to
`__security_cookie'
c:\documents and s:131: undefined reference to `@__security_check_cookie@4'
c:\documents and s:131: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In
function `_bdf_set_default_spacing':
c:\documents and s:7: undefined reference to `__security_cookie'
c:\documents and s:49: undefined reference to `@__security_check_cookie@4'
c:\documents and s:(.text[__bdf_set_default_spacing]+0x10c): undefined
reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In
function `_bdf_parse_properties':
c:\documents and s:(.text[__bdf_parse_properties]+0x7): undefined
reference to `__security_cookie'
c:\documents and s:95: undefined reference to `@__security_check_cookie@4'
c:\documents and s:95: undefined reference to `@__security_check_cookie@4'
c:\documents and s:95: undefined reference to `@__security_check_cookie@4'
c:\documents and s:95: undefined reference to `@__security_check_cookie@4'
c:\documents and s:95: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1cid.obj): In
function `cid_parser_new':
c:\documents and s:(.text[_cid_parser_new]+0x7): undefined reference
to `__security_cookie'
c:\documents and s:123: undefined reference to `@__security_check_cookie@4'
c:\documents and s:(.text[_cid_parser_new]+0x256): undefined reference
to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1cid.obj): In
function `cid_hex_to_binary':
c:\documents and s:(.text[_cid_hex_to_binary]+0x7): undefined
reference to `__security_cookie'
c:\documents and s:89: undefined reference to `@__security_check_cookie@4'
c:\documents and s:(.text[_cid_hex_to_binary]+0x169): undefined
reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/cff.obj): In
function `cff_size_init':
c:\documents and s:(.text[_cff_size_init]+0x7): undefined reference to
`__security_cookie'
c:\documents and s:68: undefined reference to `@__security_check_cookie@4'
c:\documents and s:68: undefined reference to `@__security_check_cookie@4'
c:\documents and s:(.text[_cff_size_init]+0x24a): undefined reference
to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In
function `parse_charstrings':
c:\documents and s:(.text[_parse_charstrings]+0x4): undefined
reference to `__security_cookie'
c:\documents and s:268: undefined reference to `@__security_check_cookie@4'
c:\documents and s:268: undefined reference to `@__security_check_cookie@4'
c:\documents and s:268: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In
function `T1_Open_Face':
c:\documents and s:(.text[_T1_Open_Face]+0x7): undefined reference to
`__security_cookie'
c:\documents and s:175: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In
function `afm_atoindex':
c:\documents and s:(.text[_afm_atoindex]+0x4): undefined reference to
`__security_cookie'
c:\documents and s:42: undefined reference to `@__security_check_cookie@4'
win32_static\lib/freetype.lib(/Documents and Settings/Charles
Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/autohint.obj): In
function `ah_outline_compute_blue_edges':
c:\documents and s:(.text[_ah_outline_compute_blue_edges]+0x4):
undefined reference to `__security_cookie'
c:\documents and s:124: undefined reference to `@__security_check_cookie@4'
collect2: ld returned 1 exit status
error: Command "g++ -mno-cygwin -shared
build\temp.win32-2.5\Release\src\ft2font.o
build\temp.win32-2.5\Release\src\mplutils.o
build\temp.win32-2.5\Release\cxx\cxxsupport.o
build\temp.win32-2.5\Release\cxx\cxx_extensions.o
build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o
build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib
-Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25
-lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd" failed with
exit status 1
|
|
From: John H. <jd...@gm...> - 2008-01-08 22:20:50
|
Migrating to the new matplotlib codebase
========================================
Michael Droettboom has spent the last several months working on the
"transforms branch" of matplotlib, in which he rewrote from the ground
up the transformation infrastructure in matplotlib, which many found
unintuitive and hard to extend. In addition to a cleaner code base,
the reorganization allows you to define your own transformations and
projections (e.g. map projections) within matplotlib. He has merged his
work into the HEAD of the svn trunk, and this will be the basis for
future matplotlib releases.
If you are a svn user, we encourage you to continue using the trunk as
before, but with the understanding that you are now truly on the
bleeding edge. Michael has made sure all the examples still pass with
the new code base, so for the vast majority of you, I expect to see
few problems. But we need to get as many people as possible using the
new code base so we can find and fix the remaining problems. We have
take the svn code used in the last stable release in the 0.91 series,
and made it a maintenance branch so we can still fix bugs and support
people who are not ready to migrate to the new transformation
infrastructure but nonetheless need access to svn bug fixes.
Using the new code
==================
To check out the trunk with the latest transforms changes:
> svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
If you already have a working copy of the trunk, your next "svn up" will
include the latest transforms changes.
Before installing, make sure you completely remove the old matplotlib
build and install directories, eg:
> cd matplotlib
> sudo rm -rf build
> sudo rm -rf /usr/local/lib/python2.5/site-packages/matplotlib
> sudo python setup.py install
Using the old svn code
======================
To check out the maintenance branch, in order to commit bugfixes to 0.91.x:
> svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_91_maint
matplotlib_0_91_maint
Any applicable bugfixes on the 0.91.x maintenance branch should be
merged into the trunk so they are fixed there as well. Svnmerge.py
makes this process rather straightforward, but you may also manually
merge if you prefer.
Merging bugfixes on the maint branch to the trunk using svnmerge.py
-------------------------------------------------------------------
Download svnmerge.py from here:
http://www.orcaware.com/svn/wiki/Svnmerge.py
>From the working copy of the *trunk* (svnmerge.py always pulls *to*
the current working copy), so
> svnmerge.py merge
to pull in changes from the maintenance branch. Manually resolve any
conflicts, if necessary, test them, and then commit with
> svn commit -F svnmerge-commit-message.txt
(Note the above will stop working when the maintenance branch is
abandoned.)
API CHANGES in the new transformation infrastructure
====================================================
While Michael worked hard to keep the API mostly unchanged while
performing what has been called "open heart surgery on matplotlib",
there have been some changes, as discussed below.
The primary goal of these changes was to make it easier to
extend matplotlib to support new kinds of projections. This is
primarily an internal improvement, and the possible user-visible
changes it allows are yet to come.
These changes are detailed in the API_CHANGES document.
|
|
From: John K. <jki...@an...> - 2008-01-08 15:37:06
|
Thanks! Upgrading to 0.91.2 fixed the problem.
j
Eric Firing wrote:
> John Kitchin wrote:
>> I am trying to use matplotlib to generate some figures non-interactively
>> via cron, but I can not seem to get matplotlib.figure to import without
>> a gtk error, even when I specify to use an image backend. The problem
>> seems to be related to trying to import gtk when no X server is present.
>> The script runs fine when i am logged in locally, and when logged in
>> remotetely with X11 forwarding, but it fails when run through cron or
>> when logged in remotely with no X-server. It also does not help if I run
>> the script as: python script -dAgg
>>
>> I am running matplotlib 0.91.1. Any hints on how to make this work? Am I
>> missing something here?
>
> John,
>
> No, you have tripped over a bug that was fixed in the latest release,
> announced earlier this week. The problem was that for a brief period,
> including the 0.91.1 release, mlab.py included some gtk gui code. Now
> this has been moved out of the way to another module, so gtk won't be
> imported by accident.
>
> If you can replace your mpl with 0.91.2, that will solve your problem.
>
> Eric
>
>
>>
>> Thanks!
>>
>> j
>>
>> Here is an example (minimal) script that causes the error:
>>
>> #start script
>> import matplotlib
>> matplotlib.use('Agg')
>>
>> import matplotlib.figure
>> #end script
>>
>> Output=
>> Traceback (most recent call last):
>> File "nox_test.py", line 5, in ?
>> import matplotlib.figure
>> File
>> "/home/jkitchin/lib/python2.4/site-packages/matplotlib/figure.py", line
>> 10, in ?
>> from axes import Axes, Subplot, PolarSubplot, PolarAxes
>> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axes.py",
>> line 13, in ?
>> from matplotlib import axis as maxis
>> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axis.py",
>> line 14, in ?
>> from patches import bbox_artist
>> File
>> "/home/jkitchin/lib/python2.4/site-packages/matplotlib/patches.py", line
>> 12, in ?
>> import matplotlib.mlab as mlab
>> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/mlab.py",
>> line 2481, in ?
>> class SortedStringsScrolledWindow(gtk.ScrolledWindow):
>> NameError: name 'gtk' is not defined
>>
>>
>
>
--
-----------------------------------
John Kitchin
Assistant Professor
Doherty Hall 4210A
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
|
|
From: Rostislav C. <rc...@lb...> - 2008-01-08 14:33:39
|
Hi all,
I am unable to use the TkAgg backend on opensuse linux 10.2 or 10.3?
The standard examples
embedded_in_tk.py
embedded_in_tk2.py
end up with a segmentation fault. In debugger, the following message is
reported
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7caf6c0 (LWP 17262)]
PyAggImagePhoto (clientdata=0x0, interp=0x84dfcc0, argc=5, argv=0xbfdb09fc) at
src/_transforms.h:362
362 Point* ll_api() {return _ll;}
Current language: auto; currently c++
I've tried it first with the pre-built RPMs from the site
http://download.opensuse.org/repositories/science/openSUSE_10.3/i586/python-matplotlib-tk-0.91.1-3.1.i586.rpm
Then, I deleted it and built matplotlib using current version
matplotlib-0.91.2.tar.gz
On ubuntu, the above listed examples are running.
Similar problem has been reported earlier.
http://www.mail-archive.com/matplotlib-users%40lists.sourceforge.net/msg02822.html
It seems to be some tcl/tk installation problem. Does anyone have an idea how
to fix it. Lot of thanks
R. Chudoba
|
|
From: Eric F. <ef...@ha...> - 2008-01-08 07:17:52
|
John Kitchin wrote:
> I am trying to use matplotlib to generate some figures non-interactively
> via cron, but I can not seem to get matplotlib.figure to import without
> a gtk error, even when I specify to use an image backend. The problem
> seems to be related to trying to import gtk when no X server is present.
> The script runs fine when i am logged in locally, and when logged in
> remotetely with X11 forwarding, but it fails when run through cron or
> when logged in remotely with no X-server. It also does not help if I run
> the script as: python script -dAgg
>
> I am running matplotlib 0.91.1. Any hints on how to make this work? Am I
> missing something here?
John,
No, you have tripped over a bug that was fixed in the latest release,
announced earlier this week. The problem was that for a brief period,
including the 0.91.1 release, mlab.py included some gtk gui code. Now
this has been moved out of the way to another module, so gtk won't be
imported by accident.
If you can replace your mpl with 0.91.2, that will solve your problem.
Eric
>
> Thanks!
>
> j
>
> Here is an example (minimal) script that causes the error:
>
> #start script
> import matplotlib
> matplotlib.use('Agg')
>
> import matplotlib.figure
> #end script
>
> Output=
> Traceback (most recent call last):
> File "nox_test.py", line 5, in ?
> import matplotlib.figure
> File
> "/home/jkitchin/lib/python2.4/site-packages/matplotlib/figure.py", line
> 10, in ?
> from axes import Axes, Subplot, PolarSubplot, PolarAxes
> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axes.py",
> line 13, in ?
> from matplotlib import axis as maxis
> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axis.py",
> line 14, in ?
> from patches import bbox_artist
> File
> "/home/jkitchin/lib/python2.4/site-packages/matplotlib/patches.py", line
> 12, in ?
> import matplotlib.mlab as mlab
> File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/mlab.py",
> line 2481, in ?
> class SortedStringsScrolledWindow(gtk.ScrolledWindow):
> NameError: name 'gtk' is not defined
>
>
|
|
From: John K. <jki...@an...> - 2008-01-08 07:03:35
|
I am trying to use matplotlib to generate some figures non-interactively
via cron, but I can not seem to get matplotlib.figure to import without
a gtk error, even when I specify to use an image backend. The problem
seems to be related to trying to import gtk when no X server is present.
The script runs fine when i am logged in locally, and when logged in
remotetely with X11 forwarding, but it fails when run through cron or
when logged in remotely with no X-server. It also does not help if I run
the script as: python script -dAgg
I am running matplotlib 0.91.1. Any hints on how to make this work? Am I
missing something here?
Thanks!
j
Here is an example (minimal) script that causes the error:
#start script
import matplotlib
matplotlib.use('Agg')
import matplotlib.figure
#end script
Output=
Traceback (most recent call last):
File "nox_test.py", line 5, in ?
import matplotlib.figure
File
"/home/jkitchin/lib/python2.4/site-packages/matplotlib/figure.py", line
10, in ?
from axes import Axes, Subplot, PolarSubplot, PolarAxes
File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axes.py",
line 13, in ?
from matplotlib import axis as maxis
File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/axis.py",
line 14, in ?
from patches import bbox_artist
File
"/home/jkitchin/lib/python2.4/site-packages/matplotlib/patches.py", line
12, in ?
import matplotlib.mlab as mlab
File "/home/jkitchin/lib/python2.4/site-packages/matplotlib/mlab.py",
line 2481, in ?
class SortedStringsScrolledWindow(gtk.ScrolledWindow):
NameError: name 'gtk' is not defined
--
-----------------------------------
John Kitchin
Assistant Professor
Doherty Hall 4210A
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
|
|
From: Eric F. <ef...@ha...> - 2008-01-08 00:11:00
|
Dan Christensen wrote: > I didn't get a response to the post below from 20 Dec 2007, and also > didn't get a response to posts I made earlier in 2007, so I thought > I'd check whether posts made via gmane make it to the list. I saw your message originally, but had neither immediate ideas nor time to look into it closely. Sorry. > > On a probably unrelated note, I checked the list archives at > > http://sourceforge.net/mailarchive/forum.php?forum_name=matplotlib-users > > and don't see any messages after 17 Dec. I think that lags in sourceforge mail archives are common. Alternatives include gmane and nabble, e.g., http://www.nabble.com/matplotlib---users-f2906.html Eric |