Open vatsamail opened 5 months ago
Can you provide blah.so
or confirm that it happens with all other shared objects? Making the bug reproducible will help confirm and debug this problem.
For the record, this bug comes from this StackOverflow question.
I don't know if loading .so
s this way is supported, but I agree with TheLizzard's SO comment that aborting instead of raising is bad.
Can you provide
blah.so
or confirm that it happens with all other shared objects? Making the bug reproducible will help confirm and debug this problem.For the record, this bug comes from this StackOverflow question.
Yes, I have a bunch of .so files that happen to work with tclsh 8.5 version when invoked standalone through load function but the same load functions errors out through tkinter. Also, I confirm that tkinter.TclVersion is 8.5
Current tkinter requires 8.5.15, I believe, and only allows that because 1 known Linux distribution (out of about 20) lacked 8.6. So if you are not on that distribution, please retry with up to date tkinter and tcl. Use 3.12 if as all possible since everything before only gets security patches.
Tried to run the same with 3.12 Python. The same issue exists.
Could you please run it with a debugger and get a backtrace?
Does it crash in tcl.eval()
or during Python shutdown? Try to run Python with the -v
option and look whether it starts shutdown (prints "# crear ...") and what it output before crash.
Crash report
What happened?
Python 3.x (3.9.7) is giving the following error if I try to load a shared object TCL file. If I run manually it works.
Manual method:
Python method:
Gives an error here >>>:
Please help. Thanks in Advance.
CPython versions tested on:
3.9
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
No response