[PyQt] [Bug report]

Phil Thompson phil at riverbankcomputing.com
Fri Jul 24 16:02:50 BST 2015


On 24/07/2015 3:23 pm, zdenko podobny wrote:
> but also present it PyQt GPL v5.5 for Python v3.4 (x32).

It's a problem with py2exe assuming that it shoul dbe able to parse any 
.py file.

Phil

> On Thu, Jul 2, 2015 at 11:15 PM, zdenko podobny <zdenop at gmail.com> 
> wrote:
> 
>> 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
>> 
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list