enthought / enthought/traitsui

Demo application crashes if run with pythonw on Windows

Open
#1,032 2 comments 0 reactions 0 assignees View on GitHub
component: etsdemo type: bug
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

To reproduce, with the current master and on Windows:
```
pythonw traitsui\examples\demo\demo.py
```
Then click on a file node on the tree. There will be a dialog saying "Python has stopped working".

After #1023 goes in, it can be reproduced with a different command (and with traitsui source installed to get some data):
```
pythonw -c "from etsdemo.main import main; main()"
```

For now, we can workaround this by not using `gui_scripts` for the demo main function entry point.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.