[PyQt] [Bug report]

zdenko podobny zdenop at gmail.com
Thu Jul 2 22:15:56 BST 2015


I tried to freeze my PyQt5 (5.4.2-gpl-Py3.4-Qt5.4.2-x32) app with py2exe
(0.9.2.2-py33.py34-none-any) and python 3.4.2 and I got error:
...
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "C:\Python34\lib\site-packages\PyQt5\uic\port_v2\load_plugin.py",
line 38
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Changing line 38 to
    except Exception as e:
solve the issue.

BR,

Zdenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150702/b4d969bf/attachment.html>


More information about the PyQt mailing list