Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread John Hunter
On Fri, Mar 21, 2008 at 8:21 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > It doesn't look like a faulty X setup, and since you *do* get a window, > it's unlikely it's a Tkinter problem. > > The fishy thing here is that _tkagg should be a C extension, have a .so > file extension and have o

[matplotlib-devel] Qt backends redrawing twice on zooming

2008-03-21 Thread Ted Drain
I've been investigating performance problems we've been having w/ the Qt backends. One problems is that zooming takes forever. I've put a lot of timing loops into the backends to see where things are happening and found a couple of interesting items. The first is that agg seems to get much slo

Re: [matplotlib-devel] RuntimeError in _get_configdir

2008-03-21 Thread John Hunter
On Thu, Mar 13, 2008 at 3:17 PM, Mark E. Hamilton <[EMAIL PROTECTED]> wrote: > I'm getting the traceback shown below in _get_configdir. I've attached a > patch for cutils.py Thanks Mark -- I just committed this fix to the svn trunk, Thanks, JDH --

[matplotlib-devel] RuntimeError in _get_configdir

2008-03-21 Thread Mark E. Hamilton
I'm getting the traceback shown below in _get_configdir. I've attached a patch for cutils.py [EMAIL PROTECTED] ~]$ /data0/sierra/trac/trac-0.11stable/bin/trac-admin /data0/www/trac/sierra resync Failed to open environment. not enough arguments for format string Traceback (most recent call last)

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Ryan May
Michael Droettboom wrote: > The fishy thing here is that _tkagg should be a C extension, have a .so > file extension and have only the following members --> > > >>> dir(_tkagg) > ['__doc__', '__file__', '__name__', '_pyobj_addr', 'tkinit'] > > tkagg (without the underscore), on the other hand,

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Ryan May
fiacre wrote: > [EMAIL PROTECTED] $ emerge --searchdesc tk-devel > Searching... > [ Results for search key : tk-devel ] > [ Applications found : 0 ] > > > Evidently, gentoo has no tk-devl packages -- only gtk-devel ... which > leads me to believe the problem with the install has to do with the f

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Michael Droettboom
It doesn't look like a faulty X setup, and since you *do* get a window, it's unlikely it's a Tkinter problem. The fishy thing here is that _tkagg should be a C extension, have a .so file extension and have only the following members --> >>> dir(_tkagg) ['__doc__', '__file__', '__name__', '_pyo

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread fiacre
[EMAIL PROTECTED] $ emerge --searchdesc tk-devel Searching... [ Results for search key : tk-devel ] [ Applications found : 0 ] Evidently, gentoo has no tk-devl packages -- only gtk-devel ... which leads me to believe the problem with the install has to do with the fact that I am not use Gtk.

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Darren Dale
Do you have the tk-devel packages installed? When you run setup.py, there is a report at the beginning which lists all the required and optional dependencies, would you post that? On Friday 21 March 2008 08:52:40 am fiacre wrote: > I agree -- I don't believe it built correctly either ... > > Pyt

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread fiacre
I agree -- I don't believe it built correctly either ... Python 2.5.1 (r251:54863, Mar 20 2008, 04:03:41) [GCC 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from matplotlib.backends import _tkagg >>> _tkagg

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Michael Droettboom
It looks like the _tkagg C extension didn't build correctly -- it really should have a tkinit method. Can you please try the following and send me the output (inside the Python interpreter)... >>> from matplotlib.backends import _tkagg >>> _tkagg.__file__ >>> dir(_tkagg) Thanks! Mike fiac