Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-19 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes:

 I think there's clearly a bug in that review request. Does
 _backend_gdk.c not get compiled in tests?

 I have a proposed fix in branch fix-gdk-strides of

 https://github.com/jkseppan/matplotlib.git

 but I don't seem to have any systems with the prerequisites to compiling
 the gdk backend. Could someone who uses that backend try this out? It
 seems that drawing images or mathtext would exercise the code.

This was recently merged to master, together with another fix from
Michael Droettboom.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
What OS and what branch are you using?

Can you roll back to one commit before the most recent merge?
https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
api.  If that fixes it, please make a new issue on github reporting
the problem.



Tom

On Fri, Oct 17, 2014 at 12:42 PM, Nils Wagner nils...@googlemail.com wrote:
 Hi all,

 I cannot build matplotlib from git

 src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
 src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named
 ‘strides’
 src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named ‘base’
 error: command '/usr/bin/gcc' failed with exit status 1


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
Thomas Caswell
tcasw...@gmail.com

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
Please try with commit 7f71233d55683b1c1bda1b365b61f912f8a154df

What version of numpy are you using, we only support 1.6+

Tom

On Fri, Oct 17, 2014 at 1:35 PM, Nils Wagner nils...@googlemail.com wrote:
 I am using

 commit 0f4a68d3b75ae5ef192b1c90d876e18ff9de86c5
 Merge: 7f71233 b279c15
 Author: Thomas A Caswell tcasw...@gmail.com
 Date:   Fri Oct 17 10:45:39 2014 -0400

 on opensuse12.3


 On Fri, Oct 17, 2014 at 7:14 PM, Thomas Caswell tcasw...@gmail.com wrote:

 What OS and what branch are you using?

 Can you roll back to one commit before the most recent merge?
 https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
 api.  If that fixes it, please make a new issue on github reporting
 the problem.



 Tom

 On Fri, Oct 17, 2014 at 12:42 PM, Nils Wagner nils...@googlemail.com
 wrote:
  Hi all,
 
  I cannot build matplotlib from git
 
  src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
  src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named
  ‘strides’
  src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named
  ‘base’
  error: command '/usr/bin/gcc' failed with exit status 1
 
 
 
  --
  Comprehensive Server Monitoring with Site24x7.
  Monitor 10 servers for $9/Month.
  Get alerted through email, SMS, voice calls or mobile push
  notifications.
  Take corrective actions from your mobile device.
  http://p.sf.net/sfu/Zoho
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 



 --
 Thomas Caswell
 tcasw...@gmail.com





-- 
Thomas Caswell
tcasw...@gmail.com

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
Thomas Caswell tcasw...@gmail.com
writes:

 What OS and what branch are you using?

 Can you roll back to one commit before the most recent merge?
 https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
 api.  If that fixes it, please make a new issue on github reporting
 the problem.

I think there's clearly a bug in that review request. Does
_backend_gdk.c not get compiled in tests?


-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes:

 Thomas Caswell tcasw...@gmail.com
 writes:

 What OS and what branch are you using?

 Can you roll back to one commit before the most recent merge?
 https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
 api.  If that fixes it, please make a new issue on github reporting
 the problem.

 I think there's clearly a bug in that review request. Does
 _backend_gdk.c not get compiled in tests?

I have a proposed fix in branch fix-gdk-strides of

https://github.com/jkseppan/matplotlib.git

but I don't seem to have any systems with the prerequisites to compiling
the gdk backend. Could someone who uses that backend try this out? It
seems that drawing images or mathtext would exercise the code.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users