[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] "This Windows version does not support the required Bluetooth API"
From: Kyle Altendorf <sda () fstab ! net>
Date: 2018-07-27 2:16:10
Message-ID: c02ea5bbe2cc1962b5de95d55ce9bf92 () fstab ! net
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks Bryan,
I thought of exactly this issue and even searched for such imports...
but still managed to miss the one file where I did this. All better now
and I'll share the knowledge in the links I shared initially.
Cheers,
-kyle
On 2018-07-26 18:30, Jones, Bryan wrote:
> Kyle,
>
> I struggled with this also. My comments on a fix:
>
> # The Qt Bluetooth API (which any import to ``PyQt5.Qt`` implicitly imports)
>
> # isn't compatible with Windows Server 2012 R2, the OS Appveyor runs.
>
> # Specifically, running on Server 2012 causes the test to display an error in
>
> # `a dialog box <https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234>`_. \
>
> # The alternative of using a newer Appveyor OS `fails \
> <https://github.com/pyinstaller/pyinstaller/pull/3563>`_.
> # Therefore, skip this test on Appveyor by testing for one of its `environment
>
> # variables <https://www.appveyor.com/docs/environment-variables/>`_.
>
> @skipif(os.environ.get('APPVEYOR') == 'True',
>
> reason='The Appveyor OS is incompatible with PyQt.Qt.')
>
> Hope that helps!
>
> Bryan
>
> On Thu, Jul 26, 2018 at 4:37 PM Kyle Altendorf <sda@fstab.net> wrote:
>
> > My tests on AppVeyor recently started failing. When I logged in I found
> > a dialog saying:
> >
> > This Windows version (6.3.9600) does not support
> > the required Bluetooth API. Consider updating
> > to a more recent Windows (10.0.10586 or above).
> >
> > I am not intentionally using Bluetooth. I found a few reports of it
> > around the web.
> >
> > https://shadowllife.wordpress.com/2018/05/05/how-to-fix-this-windows-version-does-not-support-the-required-bluetooth-api/
> >
> > https://stackoverflow.com/questions/48514027/spyder3-python-ide-does-not-start-this-windows-version-does-not-support-the-re
> >
> > https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234
> >
> > https://github.com/winpython/winpython/issues/592
> >
> > Per these reports it seems to relate to PyQt5 >= 5.10 and Windows <=
> > 8.1.
> >
> > I am trying to figure out the trigger since a running QApplication with
> > a QMainWindow is not sufficient to cause the dialog. I'll share
> > whatever more info I can collect but figured I'd check here in case the
> > issue is already known, or maybe even intentional dropping of support
> > for older Windows versions or somesuch.
> >
> > Cheers,
> > -kyle
> > _______________________________________________
> > PyQt mailing list PyQt@riverbankcomputing.com
> > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> --
>
> Bryan A. Jones, Ph.D.
> Associate Professor
> Department of Electrical and Computer Engineering
> 231 Simrall / PO Box 9571
> Mississippi State University
> Mississippi State, MS 39762
> http://www.ece.msstate.edu/~bjones
> bjones AT ece DOT msstate DOT edu
> voice 662-325-3149
> fax 662-325-2298
>
> Our Master, Jesus Christ, is on his way. He'll show up right on
> time, his arrival guaranteed by the Blessed and Undisputed Ruler,
> High King, High God.
> - 1 Tim. 6:14b-15 (The Message)
[Attachment #5 (unknown)]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt'> <p>Thanks Bryan,</p>
<p>I thought of exactly this issue and even searched for such imports... but \
still managed to miss the one file where I did this. All better now and I'll \
share the knowledge in the links I shared initially.</p> <p>Cheers,</p>
<p>-kyle</p>
<p><br /></p>
<p>On 2018-07-26 18:30, Jones, Bryan wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"> <div dir="ltr">Kyle,
<div> </div>
<div>I struggled with this also. My comments on a fix:</div>
<div> </div>
<div>
<p style="margin: 0px; white-space: pre-wrap;"># The Qt Bluetooth API (which any \
import to ``PyQt5.Qt`` implicitly imports)</p> <p style="margin: 0px; white-space: \
pre-wrap;"># isn't compatible with Windows Server 2012 R2, the OS Appveyor runs.</p> \
<p style="margin: 0px; white-space: pre-wrap;"># Specifically, running on Server 2012 \
causes the test to display an error in</p> <p style="margin: 0px; white-space: \
pre-wrap;"># `a dialog box <<a \
href="https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234" \
target="_blank" rel="noopener \
noreferrer">https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234</a>>`_.</p>
<p style="margin: 0px; white-space: pre-wrap;"># The alternative of using a newer \
Appveyor OS `fails <<a href="https://github.com/pyinstaller/pyinstaller/pull/3563" \
target="_blank" rel="noopener \
noreferrer">https://github.com/pyinstaller/pyinstaller/pull/3563</a>>`_.</p> <p \
style="margin: 0px; white-space: pre-wrap;"># Therefore, skip this test on Appveyor \
by testing for one of its `environment</p> <p style="margin: 0px; white-space: \
pre-wrap;"># variables <<a \
href="https://www.appveyor.com/docs/environment-variables/" target="_blank" \
rel="noopener noreferrer">https://www.appveyor.com/docs/environment-variables/</a>>`_.</p>
<p style="margin: 0px; white-space: pre-wrap;">@skipif(os.environ.get('APPVEYOR') == \
'True',</p> <p style="margin: 0px; white-space: pre-wrap;">reason='The Appveyor OS is \
incompatible with PyQt.Qt.')</p> <p style="margin: 0px; white-space: \
pre-wrap;"> </p> Hope that helps!</div>
<div> </div>
<div>Bryan</div>
</div>
<br />
<div class="gmail_quote">
<div dir="ltr">On Thu, Jul 26, 2018 at 4:37 PM Kyle Altendorf <<a \
href="mailto:sda@fstab.net">sda@fstab.net</a>> wrote:</div> <blockquote \
class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; \
padding-left: 1ex;">My tests on AppVeyor recently started failing. When I \
logged in I found <br /> a dialog saying:<br /><br /> This Windows \
version (6.3.9600) does not support<br /> the required Bluetooth \
API. Consider updating<br /> to a more recent Windows (10.0.10586 \
or above).<br /><br /> I am not intentionally using Bluetooth. I found a few \
reports of it <br /> around the web.<br /><br /><a \
href="https://shadowllife.wordpress.com/2018/05/05/how-to-fix-this-windows-version-does-not-support-the-required-bluetooth-api/" \
target="_blank" rel="noopener \
noreferrer">https://shadowllife.wordpress.com/2018/05/05/how-to-fix-this-windows-version-does-not-support-the-required-bluetooth-api/</a><br \
/><br /><a href="https://stackoverflow.com/questions/48514027/spyder3-python-ide-does-not-start-this-windows-version-does-not-support-the-re" \
target="_blank" rel="noopener \
noreferrer">https://stackoverflow.com/questions/48514027/spyder3-python-ide-does-not-start-this-windows-version-does-not-support-the-re</a><br \
/><br /><a href="https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234" \
target="_blank" rel="noopener \
noreferrer">https://github.com/mindfulness-at-the-computer/mindfulness-at-the-computer/issues/234</a><br \
/><br /><a href="https://github.com/winpython/winpython/issues/592" target="_blank" \
rel="noopener noreferrer">https://github.com/winpython/winpython/issues/592</a><br \
/><br /> Per these reports it seems to relate to PyQt5 >= 5.10 and Windows <= \
<br /> 8.1.<br /><br /> I am trying to figure out the trigger since a running \
QApplication with <br /> a QMainWindow is not sufficient to cause the dialog. \
I'll share <br /> whatever more info I can collect but figured I'd check here in case \
the <br /> issue is already known, or maybe even intentional dropping of support <br \
/> for older Windows versions or somesuch.<br /><br /> Cheers,<br /> -kyle<br /> \
_______________________________________________<br /> PyQt mailing list \
<a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br /><a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank" \
rel="noopener noreferrer">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></blockquote>
</div>
<br clear="all" />
<div> </div>
-- <br />
<div class="gmail_signature" dir="ltr">
<div dir="ltr">
<div>Bryan A. Jones, Ph.D.<br />Associate Professor<br />Department of Electrical and \
Computer Engineering<br />231 Simrall / PO Box 9571<br />Mississippi State \
University<br />Mississippi State, MS 39762<br /><a \
href="http://www.ece.msstate.edu/~bjones" target="_blank" rel="noopener \
noreferrer">http://www.ece.msstate.edu/~bjones</a><br />bjones AT ece DOT msstate DOT \
edu<br />voice 662-325-3149<br />fax 662-325-2298<br /><br />Our Master, Jesus \
Christ, is on his way. He'll show up right on<br />time, his arrival guaranteed by \
the Blessed and Undisputed Ruler,<br />High King, High God.<br />- 1 Tim. 6:14b-15 \
(The Message)</div> </div>
</div>
</blockquote>
</body></html>
[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