Re: py2exe, program has stoped working!?
On Sunday, April 13, 2008 at 4:52:06 PM UTC+3, skan...@yahoo.se wrote: > so i used py2exe and i have the build and the dist-folders. > > in the distfolder there is a Calculator.exe file. > > when i run it it just says "Calculator.exe has stopped working" in a > popup but the program itself never shows up. > > > wtf!? > > and when im distributing my program i have to include both catalogues > right? Hello there, i have the same issue with an executable that i created recently. My code has been written with python 2.7 / Windows 8.1 / Tkinter / py2exe. I also hadn't any problems when i run the code via my source code console, but when i convert it in ".exe" file it would not work. After a lot of search i am still unable to find what is exactly the problem, but i have a serious suspect that might help you. Well my script is about a simple parse of information from Url sites. In case when i parse information from an "http://"; website i have no problem at all and my executable is running perfectly, but in case when i try to parse from an "https://"; website it stop working. This issue is causing by a python SSL certificate check. In my source code it gave me back error messages, but after some search in Google i found some ways to suppress and disable the SSL certification checks and also hide all error messages in console and it is running fine now in console even in "https://"; pars es, but it seems in executable format it still gives me the "stop working" message. Note: My dialog windows text box of Tkinter, where i insert the URL information are appearing normally without any problems while i run the ".exe" file, but stops working right after this. So i suspect 1) there might be a simple error message that causing the application to stop working, or 2) There might be a need for some extra ".dll" files to be excludes on creation of the executable in setup.py that py2exe uses and then manually copy/paste them in the same directory of your ".exe. file. -- https://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
On 14 Apr, 14:11, John Machin <[EMAIL PROTECTED]> wrote: > On Apr 14, 7:24 pm, [EMAIL PROTECTED] wrote: > > > > > > Is it a console program or a gui program? > > GUI > > > What happens when you run it without py2exe? > > > it works perfectly, both from within python and launching from > > "windows" > > > > Have you searched for "has stopped working" in > > > (a) your source code > > yes no such message there> (b) the py2exe source code? > > > no, will do but doubt thats the problem > > > > Have you managed to get any py2exe-created program to run properly? > > > no > > Well, perhaps you might like to look in the samples directory of the > py2exe distribution and choose a simple example and try that. > > By the way, "popup" is what you get in a web browser. What did this > "popup" look like: a panel from your GUI software? A Windows message > box? Did it have a title across the top? What was the exact text in > the popup/panel/box? Were there any options other than to close the > window? > > Which version of Python? Which Windows, what service pack? What GUI, > what version? Care to divulge the contents of your setup.py? Apart > from your GUI, what 3rd party packages/modules are you importing? its a windows message as others have said. only option to close the window. 2.5python windows vista tkinter GUI im importing tkinter and from future import division -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
John Machin wrote: > So I found by googling "has stopped working". I'd never seen such a > litany of weeping, wailing and u'\u02ad' before. OT: Best use of Unicode ever. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
John Machin wrote: > On Apr 15, 4:08 am, Steve Holden <[EMAIL PROTECTED]> wrote: >> John Machin wrote: >> >>> By the way, "popup" is what you get in a web browser. What did this >>> "popup" look like: a panel from your GUI software? A Windows message >>> box? Did it have a title across the top? What was the exact text in >>> the popup/panel/box? Were there any options other than to close the >>> window? >> >> FYI "xxx has stopped working" is Vista's "user-friendly" way of >> reporting what Windows 3 would probably have called a "General Program >> Fault". > > So I found by googling "has stopped working". I'd never seen such a > litany of weeping, wailing and u'\u02ad' before. > >> It pretty much hides all useful information fro the end-user, >> perhaps on the grounds that end users wouldn't know what to do with the >> information it *could* provide anyway. > > Thanks for the info, Steve. Sounds like it's even worse than its > predecessor in Windows XP. You could say "it sucks" and not be a million miles away. Particularly since Windows Explorer is itself one of the programs that quite frequently "stops working". regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
On Apr 15, 4:08 am, Steve Holden <[EMAIL PROTECTED]> wrote: > John Machin wrote: > > > By the way, "popup" is what you get in a web browser. What did this > > "popup" look like: a panel from your GUI software? A Windows message > > box? Did it have a title across the top? What was the exact text in > > the popup/panel/box? Were there any options other than to close the > > window? > > > FYI "xxx has stopped working" is Vista's "user-friendly" way of > reporting what Windows 3 would probably have called a "General Program > Fault". So I found by googling "has stopped working". I'd never seen such a litany of weeping, wailing and u'\u02ad' before. > It pretty much hides all useful information fro the end-user, > perhaps on the grounds that end users wouldn't know what to do with the > information it *could* provide anyway. Thanks for the info, Steve. Sounds like it's even worse than its predecessor in Windows XP. Cheers, John -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
John Machin wrote: > On Apr 14, 7:24 pm, [EMAIL PROTECTED] wrote: >>> Is it a console program or a gui program? >> GUI >>> What happens when you run it without py2exe? >> it works perfectly, both from within python and launching from >> "windows" >> >>> Have you searched for "has stopped working" in >> (a) your source code >> yes no such message there> (b) the py2exe source code? >> >> no, will do but doubt thats the problem >> >>> Have you managed to get any py2exe-created program to run properly? >> no > > Well, perhaps you might like to look in the samples directory of the > py2exe distribution and choose a simple example and try that. > > By the way, "popup" is what you get in a web browser. What did this > "popup" look like: a panel from your GUI software? A Windows message > box? Did it have a title across the top? What was the exact text in > the popup/panel/box? Were there any options other than to close the > window? > > Which version of Python? Which Windows, what service pack? What GUI, > what version? Care to divulge the contents of your setup.py? Apart > from your GUI, what 3rd party packages/modules are you importing? FYI "xxx has stopped working" is Vista's "user-friendly" way of reporting what Windows 3 would probably have called a "General Program Fault". It pretty much hides all useful information fro the end-user, perhaps on the grounds that end users wouldn't know what to do with the information it *could* provide anyway. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
On Apr 14, 7:24 pm, [EMAIL PROTECTED] wrote: > > Is it a console program or a gui program? > GUI > > What happens when you run it without py2exe? > > it works perfectly, both from within python and launching from > "windows" > > > Have you searched for "has stopped working" in > > (a) your source code > yes no such message there> (b) the py2exe source code? > > no, will do but doubt thats the problem > > > Have you managed to get any py2exe-created program to run properly? > > no Well, perhaps you might like to look in the samples directory of the py2exe distribution and choose a simple example and try that. By the way, "popup" is what you get in a web browser. What did this "popup" look like: a panel from your GUI software? A Windows message box? Did it have a title across the top? What was the exact text in the popup/panel/box? Were there any options other than to close the window? Which version of Python? Which Windows, what service pack? What GUI, what version? Care to divulge the contents of your setup.py? Apart from your GUI, what 3rd party packages/modules are you importing? -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
> Is it a console program or a gui program? GUI > What happens when you run it without py2exe? it works perfectly, both from within python and launching from "windows" > Have you searched for "has stopped working" in (a) your source code yes no such message there > (b) the py2exe source code? no, will do but doubt thats the problem > Have you managed to get any py2exe-created program to run properly? no -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
On Apr 13, 11:52 pm, [EMAIL PROTECTED] wrote: > so i used py2exe and i have the build and the dist-folders. > > in the distfolder there is a Calculator.exe file. > > when i run it it just says "Calculator.exe has stopped working" in a > popup but the program itself never shows up. Is it a console program or a gui program? What happens when you run it without py2exe? Have you searched for "has stopped working" in (a) your source code (b) the py2exe source code? Have you managed to get any py2exe-created program to run properly? -- http://mail.python.org/mailman/listinfo/python-list
Re: py2exe, program has stoped working!?
En Sun, 13 Apr 2008 10:52:06 -0300, <[EMAIL PROTECTED]> escribió: > so i used py2exe and i have the build and the dist-folders. > > and when im distributing my program i have to include both catalogues > right? You only have to distribute the contents of the "dist" directory. (I have no idea what the message error means) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list
py2exe, program has stoped working!?
so i used py2exe and i have the build and the dist-folders. in the distfolder there is a Calculator.exe file. when i run it it just says "Calculator.exe has stopped working" in a popup but the program itself never shows up. wtf!? and when im distributing my program i have to include both catalogues right? -- http://mail.python.org/mailman/listinfo/python-list