Re: Un-sticking the release pipeline for PyOpenGL 3.1.1 (call for final smoke-testing)

Mike Lawrence <[email protected]> Fri, 22 Jul 2016 17:46:52 -0300
Newsgroups gmane.comp.python.opengl.user
Message-ID <CAB+QPJDuhw-u7ryJ_=xWTi9nVUKwtJbjPg5JisAoLV4X0LqUHg@mail.gmail.com>
--===============4074894089564863163==
Content-Type: multipart/alternative; boundary=94eb2c069db0225f3705383f8bde

--94eb2c069db0225f3705383f8bde
Content-Type: text/plain; charset=UTF-8

Installed on OS X with python 2.7 from homebrew, install seemed to go fine
but on running lesson1.py from PyOpenGL-Demo/NeHe I get the following error:

Mikes-Air:NeHe mike$ python lesson1.py

Traceback (most recent call last):

  File "lesson1.py", line 40, in <module>

    from OpenGL.GL import *

  File "/usr/local/lib/python2.7/site-packages/OpenGL/GL/__init__.py", line
4, in <module>

    from OpenGL.GL.VERSION.GL_1_1 import *

  File
"/usr/local/lib/python2.7/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line
14, in <module>

    from OpenGL.raw.GL.VERSION.GL_1_1 import *

  File
"/usr/local/lib/python2.7/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py",
line 7, in <module>

    from OpenGL.raw.GL import _errors

  File "/usr/local/lib/python2.7/site-packages/OpenGL/raw/GL/_errors.py",
line 4, in <module>

    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )

AttributeError: 'NoneType' object has no attribute 'glGetError'

On Fri, Jul 22, 2016 at 5:14 PM, Mike C. Fletcher <[email protected]>
wrote:

> Hi all,
>
> As many of you may have noticed, I've been rather absent in the PyOpenGL
> world recently. The 3.1.1a1 release was a year and a half ago, and I got
> distracted with trying to get AppVeyor to automatically build the C
> extensions, then got busy at work and wanted to play with machine
> learning in my spare time. Long story short, it's more than time to get
> the 3.1.1 release out the door.
>
> Today I've landed a few changes that fix e.g. respecting LD_PRELOAD on
> Linux (but which may negatively impact Darwin/OS-X, so need testing), a
> few minor changes that should fix situations where you've specified
> no-single-item-result unpacking but try to get shader/program logs, etc.
>
> The release *should* work on all of Python 2.7, 3.4 and 3.5 (and likely
> on 2.6, but I don't have that in the test suite any more). The tox suite
> runs without error on Linux amd64 (Ubuntu 16.04), but I'd like to see if
> we run on Darwin (OSX) and Win32/64 before doing the final release.
> Unless you have a wheel of pygame you likely won't be able to run the
> tox suite, so please test with your real-world code.
>
> Because the testpypi server doesn't let me actually upload multiple
> times, I've uploaded the proposed final release here:
>
>      pip install -f https://blog.vrplumber.com/media/packages PyOpenGL
> PyOpenGL-accelerate
>
> and I'm needing two groups to test (in particular):
>
> * windows users
> * mac users
>
> as those are the platforms I don't have.
>
> I'm also expecting this will be the last release where the Launchpad
> repository will be maintained. The github repository will become the
> primary development environment moving forward, as that should make it
> easier for people to propose patches etc.
>
>      https://github.com/mcfletch/pyopengl
>
> Enjoy all,
> Mike
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> PyOpenGL Homepage
> http://pyopengl.sourceforge.net
> _______________________________________________
> PyOpenGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyopengl-users
>

--94eb2c069db0225f3705383f8bde
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">Installed on OS X with python 2=
.7 from homebrew, install seemed to go fine but on running lesson1.py from =
PyOpenGL-Demo/NeHe I get the following error:</div><div class=3D"gmail_extr=
a"><br></div><div class=3D"gmail_extra">







<p class=3D""><span class=3D"">Mikes-Air:NeHe mike$ python lesson1.py</span=
></p>
<p class=3D""><span class=3D"">Traceback (most recent call last):</span></p=
>
<p class=3D""><span class=3D"">=C2=A0 File &quot;lesson1.py&quot;, line 40,=
 in &lt;module&gt;</span></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 from OpenGL.GL import *</span>=
</p>
<p class=3D""><span class=3D"">=C2=A0 File &quot;/usr/local/lib/python2.7/s=
ite-packages/OpenGL/GL/__init__.py&quot;, line 4, in &lt;module&gt;</span><=
/p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 from OpenGL.GL.VERSION.GL_1_1 =
import *</span></p>
<p class=3D""><span class=3D"">=C2=A0 File &quot;/usr/local/lib/python2.7/s=
ite-packages/OpenGL/GL/VERSION/GL_1_1.py&quot;, line 14, in &lt;module&gt;<=
/span></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 from OpenGL.raw.GL.VERSION.GL_=
1_1 import *</span></p>
<p class=3D""><span class=3D"">=C2=A0 File &quot;/usr/local/lib/python2.7/s=
ite-packages/OpenGL/raw/GL/VERSION/GL_1_1.py&quot;, line 7, in &lt;module&g=
t;</span></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 from <a href=3D"http://OpenGL.=
raw.GL">OpenGL.raw.GL</a> import _errors</span></p>
<p class=3D""><span class=3D"">=C2=A0 File &quot;/usr/local/lib/python2.7/s=
ite-packages/OpenGL/raw/GL/_errors.py&quot;, line 4, in &lt;module&gt;</spa=
n></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 _error_checker =3D _ErrorCheck=
er( _p, _p.GL.glGetError )</span></p>
<p class=3D""><span class=3D"">AttributeError: &#39;NoneType&#39; object ha=
s no attribute &#39;glGetError&#39;</span></p>
<br><div class=3D"gmail_quote">On Fri, Jul 22, 2016 at 5:14 PM, Mike C. Fle=
tcher <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1e=
x">Hi all,<br>
<br>
As many of you may have noticed, I&#39;ve been rather absent in the PyOpenG=
L<br>
world recently. The 3.1.1a1 release was a year and a half ago, and I got<br=
>
distracted with trying to get AppVeyor to automatically build the C<br>
extensions, then got busy at work and wanted to play with machine<br>
learning in my spare time. Long story short, it&#39;s more than time to get=
<br>
the 3.1.1 release out the door.<br>
<br>
Today I&#39;ve landed a few changes that fix e.g. respecting LD_PRELOAD on<=
br>
Linux (but which may negatively impact Darwin/OS-X, so need testing), a<br>
few minor changes that should fix situations where you&#39;ve specified<br>
no-single-item-result unpacking but try to get shader/program logs, etc.<br=
>
<br>
The release *should* work on all of Python 2.7, 3.4 and 3.5 (and likely<br>
on 2.6, but I don&#39;t have that in the test suite any more). The tox suit=
e<br>
runs without error on Linux amd64 (Ubuntu 16.04), but I&#39;d like to see i=
f<br>
we run on Darwin (OSX) and Win32/64 before doing the final release.<br>
Unless you have a wheel of pygame you likely won&#39;t be able to run the<b=
r>
tox suite, so please test with your real-world code.<br>
<br>
Because the testpypi server doesn&#39;t let me actually upload multiple<br>
times, I&#39;ve uploaded the proposed final release here:<br>
<br>
=C2=A0 =C2=A0 =C2=A0pip install -f <a href=3D"https://blog.vrplumber.com/me=
dia/packages" rel=3D"noreferrer" target=3D"_blank">https://blog.vrplumber.c=
om/media/packages</a> PyOpenGL<br>
PyOpenGL-accelerate<br>
<br>
and I&#39;m needing two groups to test (in particular):<br>
<br>
* windows users<br>
* mac users<br>
<br>
as those are the platforms I don&#39;t have.<br>
<br>
I&#39;m also expecting this will be the last release where the Launchpad<br=
>
repository will be maintained. The github repository will become the<br>
primary development environment moving forward, as that should make it<br>
easier for people to propose patches etc.<br>
<br>
=C2=A0 =C2=A0 =C2=A0<a href=3D"https://github.com/mcfletch/pyopengl" rel=3D=
"noreferrer" target=3D"_blank">https://github.com/mcfletch/pyopengl</a><br>
<br>
Enjoy all,<br>
Mike<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffi=
c<br>
patterns at an interface-level. Reveals which users, apps, and protocols ar=
e<br>
consuming the most bandwidth. Provides multi-vendor support for NetFlow,<br=
>
J-Flow, sFlow and other flows. Make informed decisions using capacity plann=
ing<br>
reports.<a href=3D"http://sdm.link/zohodev2dev" rel=3D"noreferrer" target=
=3D"_blank">http://sdm.link/zohodev2dev</a><br>
_______________________________________________<br>
PyOpenGL Homepage<br>
<a href=3D"http://pyopengl.sourceforge.net" rel=3D"noreferrer" target=3D"_b=
lank">http://pyopengl.sourceforge.net</a><br>
_______________________________________________<br>
PyOpenGL-Users mailing list<br>
<a href=3D"mailto:[email protected]">PyOpenGL-Users@list=
s.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/pyopengl-users" rel=
=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi=
nfo/pyopengl-users</a><br>
</blockquote></div><br></div></div>

--94eb2c069db0225f3705383f8bde--


--===============4074894089564863163==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
--===============4074894089564863163==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users

--===============4074894089564863163==--