Ask Your Question
1

Wingpro Python quit unexpectedly

asked 2019-06-11 15:26:48 -0600

chukwudi.nwachukwu gravatar image

updated 2019-06-13 10:16:54 -0600

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.

edit retag flag offensive 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 gravatar imageWingware Support ( 2019-06-12 05:20:31 -0600 )edit

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

chukwudi.nwachukwu gravatar imagechukwudi.nwachukwu ( 2019-06-13 06:56:00 -0600 )edit

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

jrobijns gravatar imagejrobijns ( 2020-07-23 11:01:44 -0600 )edit

Just updated Python to 3.8.5 using homebrew. Problem gone.

jrobijns gravatar imagejrobijns ( 2020-07-23 15:02:31 -0600 )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 gravatar imageWingware Support ( 2020-07-23 15:27:21 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-13 10:18:37 -0600

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.

edit flag offensive delete link more

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 gravatar imageWingware Support ( 2019-06-13 14:24:01 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-06-11 15:26:48 -0600

Seen: 990 times

Last updated: Jun 13 '19