Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If an enaml file imports pythonnet during startup, enaml file dialogs cause application to freeze #384

Open
jdw-creare opened this issue Dec 16, 2019 · 1 comment

Comments

@jdw-creare
Copy link

jdw-creare commented Dec 16, 2019

Environment:

  • Anaconda 3, python 3.7
  • enaml 0.10.4, installed via conda
  • pythonnet 2.4.0, installed via pip
  • Windows 10

Steps to reproduce:

  • Download clr_crash.enaml.txt
  • Rename it to clr_crash.enaml (GitHub wouldn't let me upload with .enaml as the extension)
  • Run enaml-run clr_crash.enaml
  • Click "Open file dialog"
  • Program will freeze

Interesting variant:

  • Comment out import clr line at beginning of clr_crash.enaml
  • Run enaml-run clr_crash.enaml
  • Click "Import clr"
  • Click "Open file dialog"
  • Program will NOT freeze

I'm not sure if this is a pythonnet issue or an enaml issue, so I've reported the bug to both projects: pythonnet/pythonnet#1014
clr_crash.enaml.txt

conda_environment.txt

@sccolbert
Copy link
Member

It's probably a weird interaction between pythonnet and Qt. I'm 99% sure it's nothing to do with enaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants