PythonWin crash - works only once after installation

Discussion in 'Python' started by Ze'ev, Jun 15, 2007.

  1. Ze'ev

    Ze'ev Guest

    Hi,
    I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
    my new XP machine. The first time I run PythonWin after installation
    it runs normally but if I close it and try to run it again it crashes
    ("PyWin32 has encountered a problem and needs to close") every time.
    If I re-install it then it will run once more but subsequent runs
    fail.
    I've installed and ran this before (on my old machine and at work) and
    it runs ok.

    Any clues?

    Thanks,
    Ze'ev
     
    Ze'ev, Jun 15, 2007
    #1
    1. Advertising

  2. Ze'ev

    Ze'ev Guest

    Re: PythonWin crash - works only once after installation

    On Jun 15, 2:19 pm, Ze'ev <> wrote:
    > Hi,
    > I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
    > my new XP machine. The first time I run PythonWin after installation
    > it runs normally but if I close it and try to run it again it crashes
    > ("PyWin32 has encountered a problem and needs to close") every time.
    > If I re-install it then it will run once more but subsequent runs
    > fail.
    > I've installed and ran this before (on my old machine and at work) and
    > it runs ok.
    >
    > Any clues?
    >
    > Thanks,
    > Ze'ev


    I found a workaround but this is still a mystery - if I delete the.pyc
    files in site-packages/pythonwin/pywin/ then I can run Pythonwin again
    (otherwise it crashes upon starting up).

    Ze'ev
     
    Ze'ev, Jun 17, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Townsend
    Replies:
    2
    Views:
    4,360
  2. stephan
    Replies:
    0
    Views:
    442
    stephan
    Jul 30, 2003
  3. Stevie_mac
    Replies:
    7
    Views:
    487
    Richard James
    Apr 12, 2004
  4. robert
    Replies:
    2
    Views:
    472
  5. Phi!
    Replies:
    1
    Views:
    183
Loading...

Share This Page