From: Brian D. <deb...@ho...> - 2004-05-15 23:03:04
|
<html><div style='background-color:'><DIV class=RTE>Hi there,</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>I have tryed everything to compile a Pyhton Card App with child windows.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">When the console window opens, this is what it displays: (running the .exe)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></DIV> <DIV class=RTE> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman" size=3> </FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">C:\My Documents\SIEGFRIED 2004\My Python Card\Conjuntos\dist\Discretas\Discretas<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">.exe:128: UserWarning: PyCrust has been renamed to Py.<SPAN style="mso-spacerun: yes"> </SPAN>Use 'from wx import py'<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>-¢¥-VsúS+ü­¢£¦¦¡-<SPAN style="mso-special-character: footnote"><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">[1]</SPAN></SPAN>ĵD&áB<SPAN style="mso-special-character: footnote"><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">[1]</SPAN></SPAN>÷-"+`#d __â¦++@û(]át<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">Traceback (most recent call last):<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "PythonCardPrototype\binding.pyc", line 268, in dispatchOpenBackground<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "PythonCardPrototype\dispatch.pyc", line 81, in eventOccurred<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "<string>", line 16, in on_openBackground<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "PythonCardPrototype\model.pyc", line 144, in childWindow<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "PythonCardPrototype\res.pyc", line 45, in __init__<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>File "PythonCardPrototype\util.pyc", line 30, in readAndEvalFile<o:p></o:p></FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">IOError: [Errno 2] No such file or directory: '<Graficos from archive>.rsrc.py'</FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"></FONT></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">I think i am not compiling the child window but i dont know how, or does the setup.py and py2exe knows what to do when there are child windows???</FONT></FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3>How are the child windows compiled???</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3>Are they inside the .exe??</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3>I am so lost here</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3>Thanks for your help :)</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><FONT face="Times New Roman" size=3>Brian</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman" size=3> </FONT></o:p></SPAN></P></DIV> <DIV class=RTE> </DIV></div><br clear=all><hr>The new <a href="http://g.msn.com/8HMBEN/2737??PS=47575">MSN 8:</a> smart spam protection and 2 months FREE* </html> |