473,509 Members | 2,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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?
Jun 27 '08 #1
6 2264
En Sun, 13 Apr 2008 10:52:06 -0300, <sk*******@yahoo.seescribió:
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

Jun 27 '08 #2
On Apr 13, 11:52 pm, skanem...@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.

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?
Jun 27 '08 #3
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

Jun 27 '08 #4
On Apr 14, 7:24 pm, skanem...@yahoo.se 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?
Jun 27 '08 #5
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

Jun 27 '08 #6
On 14 Apr, 14:11, John Machin <sjmac...@lexicon.netwrote:
On Apr 14, 7:24 pm, skanem...@yahoo.se 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
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2575
by: David Vaughan | last post by:
py2exe and Pmw problem ---------------------- I was really surprised not to find some faq setting out what to do to get py2exe working for a program using Pmw. I'm haemorrhaging time here, and...
12
3482
by: Terje Johan Abrahamsen | last post by:
Hello. We have created some programs in Python that are to be distributed around. The programs will be made into .exe files by py2exe. However, in the source there are certain webadresses,...
4
3983
by: bwaha | last post by:
First time trying to create an executable with py2exe. I have a small program which makes use of python23 (2.3.5?), wxpython ('2.6.2.1'), matplotlib ('0.83.2'), win32com (latest?), Numeric...
3
1959
by: Kevin | last post by:
Hi everyone, I'm running Python 2.5.1 on an XP-Pro platform, with all the updates (SP2, etc) installed. I have a program (send_file.py) that sends a file to a service provider, using an ftp...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.