PyDev.Debugger
PyDev.Debugger copied to clipboard
trace.modname does not exist since Python 3.2
Linking the StackOverflow post which initially caught this problem.
The problem is that if the PyCharm debugger would be started with --save-signatures
("Collect run-time types information for code insight" Python Debugger setting), it would fail with:
AttributeError: module 'trace' has no attribute 'modname'
The problem is on this line:
modulename = trace.modname(filename)
There is no modname
function in the trace
module since Python 3.2. There is _modname
now.
Please fix. Let me know if you have any further questions.
Reproduced using PyCharm 2016.3.1 and Python 3.6.
I got exactly the same. Reproduced using PyCharm 2016.3.2 and Python 3.6
I have exactly the same problem while trying to enable "Collect run-time types information for code insight". The PyCharm version is:
PyCharm 2016.3.3
Build #PY-163.15188.4, built on March 10, 2017
Subscription is active until September 10, 2017
JRE: 1.8.0_112-release-408-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
I also have this issue PyCharm 2016.3.3 and Python 3.6.0
same issue here. When is a fix expected?
Well, it's all open source and it should be a simple fix... (mostly seeing what modname did and recreate that function internally if it's not available) does someone volunteer to fix it locally/test and provide a pull request?
For me it works in 2017.1 RC2 (https://www.jetbrains.com/pycharm/nextversion/)!