py2exe, program has stoped working!?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • skanemupp@yahoo.se

    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?
  • Gabriel Genellina

    #2
    Re: py2exe, program has stoped working!?

    En Sun, 13 Apr 2008 10:52:06 -0300, <skanemupp@yaho o.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

    Comment

    • John Machin

      #3
      Re: py2exe, program has stoped working!?

      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?

      Comment

      • skanemupp@yahoo.se

        #4
        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

        Comment

        • John Machin

          #5
          Re: py2exe, program has stoped working!?

          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?

          Comment

          • Robert Kern

            #6
            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

            Comment

            • skanemupp@yahoo.se

              #7
              Re: py2exe, program has stoped working!?

              On 14 Apr, 14:11, John Machin <sjmac...@lexic on.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

              Comment

              Working...