[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Tracebacks in examples
From:       Cody Scott <cody () perspexis ! com>
Date:       2018-12-18 20:42:43
Message-ID: CAN04N8Y-Ce5ixgR-jtGehVGKKMBs47gehmBf2V2WLMUzF+K_Ng () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


This is fixed in PyQt5==5.11.3


On Tue, 3 Jul 2018 at 12:35, Cody Scott <cody@perspexis.com> wrote:

> A couple of the examples do not work for me with Python 3.7.0 32bit and
> PyQt5==5.11.2 on Windows 10.
>
>
> (venv)
> C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples>python
> draganddrop\dropsite.py
> Traceback (most recent call last):
>   File "draganddrop\dropsite.py", line 162, in updateFormatsTable
>     text = " ".join(["%02X" % ord(datum) for datum in
> mimeData.data(format)])
>   File "draganddrop\dropsite.py", line 162, in <listcomp>
>     text = " ".join(["%02X" % ord(datum) for datum in
> mimeData.data(format)])
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xdc in position 0:
> ordinal not in range(128)
>
>
> I was getting this traceback for the opengl\ examples. I think this might
> be normal but I even tried installing pyopengl but I still get the same
> traceback.
>
> (venv)
> C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples>python
> opengl\grabber.py
> Traceback (most recent call last):
>   File "opengl\grabber.py", line 100, in initializeGL
>     self.gl = self.context().versionFunctions()
> ModuleNotFoundError: No module named
> 'PyQt5._QOpenGLFunctions_4_5_Compatibility'
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>This is fixed in PyQt5==5.11.3</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr">On Tue, 3 Jul 2018 at 12:35, Cody Scott &lt;<a \
href="mailto:cody@perspexis.com" target="_blank">cody@perspexis.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">A couple of the \
examples do not work for me with Python 3.7.0  32bit 

and PyQt5==5.11.2 on Windows 10.</span><span \
style="font-family:monospace,monospace"><br></span></div><div><span \
style="font-family:monospace,monospace"><br></span></div><div><span \
style="font-family:monospace,monospace"><br></span></div><div><span \
style="font-family:monospace,monospace"></span></div><div><span \
style="font-family:monospace,monospace">(venv) \
C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples&gt;python \
draganddrop\dropsite.py</span></div><div><span \
style="font-family:monospace,monospace"></span></div><span \
style="font-family:monospace,monospace">Traceback (most recent call last):<br>   File \
&quot;draganddrop\dropsite.py&quot;, line 162, in updateFormatsTable<br>       text = \
&quot; &quot;.join([&quot;%02X&quot; % ord(datum) for datum in \
mimeData.data(format)])<br>   File &quot;draganddrop\dropsite.py&quot;, line 162, in \
&lt;listcomp&gt;<br>       text = &quot; &quot;.join([&quot;%02X&quot; % ord(datum) \
for datum in mimeData.data(format)])<br>UnicodeDecodeError: &#39;ascii&#39; codec \
can&#39;t decode byte 0xdc in position 0: ordinal not in \
range(128)<br></span><br><br><div>I was getting this traceback for the <span \
style="font-family:monospace,monospace">opengl\</span> examples. I think this might \
be normal but I even tried installing pyopengl but I still get the same \
traceback.<br></div><div><br></div><span \
style="font-family:monospace,monospace">(venv) \
C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples&gt;python \
opengl\grabber.py<br>Traceback (most recent call last):<br>   File \
&quot;opengl\grabber.py&quot;, line 100, in initializeGL<br>       <a \
href="http://self.gl" target="_blank">self.gl</a> = \
self.context().versionFunctions()<br>ModuleNotFoundError: No module named \
&#39;PyQt5._QOpenGLFunctions_4_5_Compatibility&#39;</span><br><br></div> \
</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic