Bug 428695

Summary: kdev-python does not compile with kdevelop from master branch
Product: [Developer tools] kdev-python Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: Sven Brauch <mail>
Status: RESOLVED FIXED    
Severity: normal CC: igorkuo, mail
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.7.0
Sentry Crash Report:
Attachments: build log

Description Eugene Shalygin 2020-11-04 18:06:55 UTC
Created attachment 133027 [details]
build log

SUMMARY

debugger/debugjob.cpp:43:79: error: invalid new-expression of abstract class type ‘Python::DebugSession’
   43 |     m_session = new DebugSession(program, m_workingDirectory, m_envProfileName);

Environment information is in the attached build log
Comment 1 Igor Kushnir 2020-11-05 16:21:32 UTC
I've fixed this compilation error in https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/8, but as I am not a Python user, couldn't test it. If you could confirm that Python debugging works well with my changes, the merge request might get merged sooner.
Comment 2 Eugene Shalygin 2020-11-06 04:11:15 UTC
Thank you, editing works as expected. I don't use debugging so sadly have nothing to report on that.
Comment 3 Igor Kushnir 2020-11-30 19:24:39 UTC
The merge request is in the master branch of kdev-python now as https://commits.kde.org/kdev-python/28b549cf696ee7a9e90b6abe91789e37c5f2f00a. kdev-python compiles against the current kdevplatform master.