Bug 472816

Summary: Crash parsing Python file
Product: [Developer tools] kdev-python Reporter: Praise <kdesw>
Component: Language supportAssignee: Sven Brauch <mail>
Status: REPORTED ---    
Severity: crash CC: kdesw
Priority: NOR Keywords: regression
Version First Reported In: 5.7.221203   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Stack trace with debug symbols

Description Praise 2023-07-30 22:19:34 UTC
Created attachment 160630 [details]
Stack trace with debug symbols

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create a basic python project
2. Write 'import argparse' in the first file


OBSERVED RESULT
KDevelop crashes

EXPECTED RESULT
KDevelop working

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: X11
KDE Plasma Version: 5.27.4
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8 (compiled with 5.15.8)

ADDITIONAL INFORMATION
Comment 1 Sven Brauch 2023-07-31 01:37:19 UTC
*** Bug 472815 has been marked as a duplicate of this bug. ***
Comment 2 Sven Brauch 2023-07-31 01:42:37 UTC
Hi, what's the Python (3) version installed on your system?
Comment 3 Praise 2023-07-31 21:12:46 UTC
Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] on linux
(In reply to Sven Brauch from comment #2)
> Hi, what's the Python (3) version installed on your system?

- python3 --version
Python 3.6.15

-python --version
Python 2.7.18
Comment 4 Sven Brauch 2023-08-01 06:07:29 UTC
Why does your distribution ship a 7 year old version of Python 3? I'm confused.

Anyways, the reason for the crash is that this version isn't supported any more, but it wasn't removed from the "supported" list... it might be possible to add support for it again, or we should remove it from there.
Comment 5 Praise 2023-08-01 20:39:22 UTC
I don't really know - you should ask OpenSUSE Leap devs.