Honorable Member Mali 41764 Posted January 31, 2023 Honorable Member Share Posted January 31, 2023 (edited) This is the hidden content, please Sign In or Sign Up Reversed From 22.5.7.0 This is the hidden content, please Sign In or Sign Up Old Spoiler Quote 0131 12:59:00866 :: ============================================================================================================ 0131 12:59:00867 :: Abort!!!! New Spoiler Quote 0131 12:59:00866 :: ============================================================================================================ 0131 12:59:00867 :: Abort!!!! 0131 12:59:00867 :: filename=root/black_test.py, name=__LoadWindow 0131 12:59:00867 :: filename=root/black_test.py, name=__init__ 0131 12:59:00867 :: filename=root/black_test.py, name=<module> 0131 12:59:00867 :: filename=root/system.py, name=_process_result 0131 12:59:00867 :: filename=root/system.py, name=__pack_import 0131 12:59:00867 :: filename=root/introLogin.py, name=Open 0131 12:59:00867 :: filename=root/networkModule.py, name=__ChangePhaseWindow 0131 12:59:00867 :: filename=root/uiPhaseCurtain.py, name=OnUpdate 0131 12:59:00867 :: filename=root/prototype.py, name=RunApp 0131 12:59:00867 :: filename=root/prototype.py, name=<module> 0131 12:59:00867 :: filename=root/system.py, name=Run 0131 12:59:00867 :: filename=root/system.py, name=execfile 0131 12:59:00867 :: filename=root/system.py, name=RunMainScript 0131 12:59:00867 :: filename=root/system.py, name=<module> 0131 12:59:00867 :: filename=<string>, name=<module> Edited January 31, 2023 by Mali 174 3 1 25 4 61 Link to comment Share on other sites More sharing options...
SanctusCZE 15 Posted January 31, 2023 Share Posted January 31, 2023 2 hours ago, Mali said: This is the hidden content, please Sign In or Sign Up Reversed From 22.5.7.0 Hidden Content ///@@@UserInterface/PythonApplication.cpp: //Find void CPythonApplication::Abort() { ... } ///Change void CPythonApplication::Abort() { TraceError("============================================================================================================"); TraceError("Abort!!!!\n\n"); PyThreadState* tstate = PyThreadState_GET(); if (tstate) { for (PyFrameObject* frame = tstate->frame; frame; frame = frame->f_back) { PyCodeObject* f_code = frame->f_code; if (!f_code || !f_code->co_filename || !f_code->co_name) continue; const char* filename = PyString_AsString(f_code->co_filename); const char* funcname = PyString_AsString(f_code->co_name); TraceError("filename=%s, name=%s", filename, funcname); } } PostQuitMessage(0); } Old Hide contents New Hide contents Whats purpose of this? 1 1 Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 2511 Posted January 31, 2023 Forum Moderator Share Posted January 31, 2023 Excellent release again, thank you Mali! 4 minutes ago, SanctusCZE said: Whats purpose of this? Better Abort Traceback. More logs when your client unexpectedly crashes. 1 Gurgarath coming soon Link to comment Share on other sites More sharing options...
Sanjix9 65 Posted January 31, 2023 Share Posted January 31, 2023 thx extra func: pythonitemmodule.cpp open search TraceError("Cannot find item by %d", iIndex); add above PyThreadState* tstate = PyThreadState_GET(); if (tstate) { for (PyFrameObject* frame = tstate->frame; frame; frame = frame->f_back) { PyCodeObject* f_code = frame->f_code; if (!f_code || !f_code->co_filename || !f_code->co_name) continue; const char* filename = PyString_AsString(f_code->co_filename); const char* funcname = PyString_AsString(f_code->co_name); TraceError("filename=%s, name=%s", filename, funcname); } } 1 1 1 Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 2511 Posted January 31, 2023 Forum Moderator Share Posted January 31, 2023 (edited) For those of you who want to also print the line: Spoiler This is the hidden content, please Sign In or Sign Up Edited January 31, 2023 by Gurgarath 105 1 2 12 2 22 Gurgarath coming soon Link to comment Share on other sites More sharing options...
Kenyeer 0 Posted January 8 Share Posted January 8 link is dead Link to comment Share on other sites More sharing options...
Filachilla 29 Posted January 8 Share Posted January 8 1 hour ago, Kenyeer said: link is dead You dont need link for this release.. Btw. Mali hidden github for some reason.. Link to comment Share on other sites More sharing options...
skyddr8511 1 Posted January 27 Share Posted January 27 link is dead Link to comment Share on other sites More sharing options...
Active+ Member m2Ciaran 388 Posted January 27 Active+ Member Share Posted January 27 20 minutes ago, skyddr8511 said: link is dead But the whole code is available in topic 1 Link to comment Share on other sites More sharing options...
Recommended Posts