beeware / cricket

A GUI tool for running Python test suites.
BSD 3-Clause "New" or "Revised" License
213 stars 69 forks source link

Can't exit program if manage.py is not in current directory #4

Closed keimlink closed 11 years ago

keimlink commented 11 years ago

If cricket is started in a directory which doesn't contain a manage.py file the program can only be terminated through a task manager. The "Retry" button just opens the error window again.

python

freakboy3742 commented 11 years ago

Thanks for the report - confirmed this issue exists. A variant on this is if there's a problem (e.g., an import problem) when the first test discovery is executed.

The dialog in question should have an "Abort" button that allows you to kill the app if a problem occurs that you can't resolve.

thsutton commented 11 years ago

I've started working on this in https://github.com/thsutton/cricket/tree/feature-dialog-cancel but can't figure out how to make Tkinter shutdown cleanly.

freakboy3742 commented 11 years ago

This was also reported as #5, which had came with a PR.