[PyQt] PyQtDeploy Sysroot issues

Phil Thompson phil at riverbankcomputing.com
Wed Apr 11 09:41:30 BST 2018


On 11 Apr 2018, at 1:51 am, Kevin Kelly <kevin.kelly at sydaptic.com> wrote:
> 
> i tried the vcsarall.bat and Inmade progress on one PC until I get this error:
> 
>         C:\Qt510\5.10.1\msvc2015\bin\qmake.exe -install qinstall D:\demo\sysroot-win-32\build\PyQt5_gpl-5.10.1\sip\QtSensors\qtapsensor.sip D:\demo\sysroot-win-32\share\sip\PyQt5\QtSensors\qtapsensor.sip
>         C:\Qt510\5.10.1\msvc2015\bin\qmake.exe -install qinstall D:\demo\sysroot-win-32\build\PyQt5_gpl-5.10.1\sip\QtSensors\qtiltsensor.sip D:\demo\sysroot-win-32\share\sip\PyQt5\QtSensors\qtiltsensor.sip
> Traceback (most recent call last):
>   File "c:\program files (x86)\python35-32\lib\runpy.py", line 184, in _run_module_as_main
>     "__main__", mod_spec)
>   File "c:\program files (x86)\python35-32\lib\runpy.py", line 85, in _run_code
>     exec(code, run_globals)
>   File "C:\Program Files (x86)\Python35-32\Scripts\pyqtdeploy-build.exe\__main__.py", line 9, in <module>
>   File "c:\program files (x86)\python35-32\lib\site-packages\pyqtdeploy\pyqtdeploybuild_main.py", line 93, in main
>     standard_library_dir=args.standard_library_dir)
>   File "c:\program files (x86)\python35-32\lib\site-packages\pyqtdeploy\builder\builder.py", line 141, in build
>     project.python_target_version, self._target) + 'python'
>   File "c:\program files (x86)\python35-32\lib\site-packages\pyqtdeploy\windows.py", line 38, in get_py_install_path
>     reg_version = '{0}.{1}'.format((version >> 16) & 0xff,
> TypeError: unsupported operand type(s) for >>: 'tuple' and 'int'
> 
> 
> Anybody with thoughts on this error?  Also, sorry I can't seem to get this. 

It's a bug. It should be fixed in tonight's snapshot. Untested patch attached.

Phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyqtdeploy.patch
Type: application/octet-stream
Size: 1388 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180411/edc04f5b/attachment.obj>


More information about the PyQt mailing list