|
From: Nils W. <ni...@go...> - 2014-10-17 16:42:27
|
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 |
|
From: Thomas C. <tca...@gm...> - 2014-10-17 17:15:02
|
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 <ni...@go...> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Thomas Caswell tca...@gm... |
|
From: Thomas C. <tca...@gm...> - 2014-10-17 17:38:30
|
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 <ni...@go...> wrote: > I am using > > commit 0f4a68d3b75ae5ef192b1c90d876e18ff9de86c5 > Merge: 7f71233 b279c15 > Author: Thomas A Caswell <tca...@gm...> > Date: Fri Oct 17 10:45:39 2014 -0400 > > on opensuse12.3 > > > On Fri, Oct 17, 2014 at 7:14 PM, Thomas Caswell <tca...@gm...> 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 <ni...@go...> >> 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 >> > Mat...@li... >> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > >> >> >> >> -- >> Thomas Caswell >> tca...@gm... > > -- Thomas Caswell tca...@gm... |
|
From: Jouni K. S. <jk...@ik...> - 2014-10-17 20:00:55
|
Thomas Caswell <tca...@gm...> 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 |
|
From: Jouni K. S. <jk...@ik...> - 2014-10-17 20:34:40
|
Jouni K. Seppänen <jk...@ik...> writes: > Thomas Caswell <tca...@gm...> > 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 |
|
From: Jouni K. S. <jk...@ik...> - 2014-10-19 07:59:52
|
Jouni K. Seppänen <jk...@ik...> 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 |