First time here? Check out the FAQ!
1

Wingpro Python quit unexpectedly

image description

I keep getting Python quit unexpectedly. I have tried my best and it's been weeks on end. I have the latest update yet it persists. Also, do note the Python 3.7.3 version that I use which is installed through brew.

What do I do now? I have not been able to use the application since it started.

chukwudi.nwachukwu's avatar
51
chukwudi.nwachukwu
asked 2019-06-11 15:26:48 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2019-06-13 10:16:54 -0500
edit flag offensive 0 remove flag close merge delete

Comments

This may be due to a segfault in a process used to scrape an extension module. Could you submit a bug report via Wing's Help menu and include the error log?

Wingware Support's avatar Wingware Support (2019-06-12 05:20:31 -0500) edit

I have submitted the bug report as requested. I will be waiting for a prompt response.

chukwudi.nwachukwu's avatar chukwudi.nwachukwu (2019-06-13 06:56:00 -0500) edit

I have the exact same problem. Python version 3.7.6 installed through brew as well.

jrobijns's avatar jrobijns (2020-07-23 11:01:44 -0500) edit

Just updated Python to 3.8.5 using homebrew. Problem gone.

jrobijns's avatar jrobijns (2020-07-23 15:02:31 -0500) edit

Good to know, thanks. The issue occurs when an extension module crashes as a result of our inspection, where we try to learn about the module's API so we can offer auto-completion/etc. This is done by launching Python and loading the module and inspecting it, and it's that process which you saw crashing. The code that does the inspection is in src/wingutils/generate_pi.py in the Wing installation, which may be useful to know for others that run into this and want to try to track down the bug in the specific extension module. I think in your case the problem was fixed in a later version or perhaps your Python 3.8.5 installation doesn't have the module that caused the crash.

Wingware Support's avatar Wingware Support (2020-07-23 15:27:21 -0500) edit
add a comment see more comments

1 Answer

0

It looks like one of the Python sub-processes we run to inspect a Pandas module is crashing. We'll try to fix this to suppress the warning.

You should be able to just ignore it and keep working with Wing.

Wingware Support's avatar
4k
Wingware Support
answered 2019-06-13 10:18:37 -0500
edit flag offensive 0 remove flag delete link

Comments

Also, you can turn off the Source Analysis > Advanced > Scrape Extension Modules preference to avoid the crash dialog. However, doing that means Wing won't offer completion and other code intelligence on the contents of C extension modules.

Wingware Support's avatar Wingware Support (2019-06-13 14:24:01 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer