<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western"> I've had the exact same issue
with py2exe today. I just deleted the port_v3 folder and it
worked.
<br>
<br>
Am 22.09.2010 20:42, schrieb Phil Thompson:
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">On Thu, 23
Sep 2010 06:37:43 +1200, Matthew Huck
<br>
<a class="moz-txt-link-rfc2396E"
href="mailto:Matthew.Huck@unlimitedrealities.com"><Matthew.Huck@unlimitedrealities.com></a>
wrote:
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">Hi,
<br>
I'm in the process of trying cx_freeze an PyQt app I've
written and
<br>
</blockquote>
have
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">
discovered the following bug:
<br>
<br>
In PyQt/uic/port_v3/proxy_base.py, on line 4, if it reads
<br>
"class ProxyBase(metaclass):"
<br>
the code can be interpreted by python 2.6, and 3.1, however
with it in
<br>
it's default state of
<br>
"class ProxyBase(metaclass=ProxyType):"
<br>
only 3.1 can interpret it.
<br>
</blockquote>
...and pyuic4 guarantees that it will only be called by Python3.
It's a
<br>
cx_freeze bug/feature.
<br>
<br>
Phil
<br>
_______________________________________________
<br>
PyQt mailing list <a class="moz-txt-link-abbreviated"
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br>
<a class="moz-txt-link-freetext"
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a>
<br>
</blockquote>
<br>
</div>
</body>
</html>