fabioz / PyDev.Debugger

Sources for the debugger used in PyDev, PyCharm and VSCode Python
Eclipse Public License 1.0
425 stars 122 forks source link

RecursionError with OpenAI Library in PyDev.Debugger of PyCharm 2023.3 #266

Closed xuing closed 8 months ago

xuing commented 10 months ago

I encountered a RecursionError while debugging a Python script that imports the OpenAI library in PyCharm using the PyDev.Debugger.

For detailed information about the issue, please refer to following

openai/openai-python#906

Jetbrains youtrack

captain828 commented 10 months ago

Happens in the latest PyCharm stable as well. (2023.3)

grzesadam commented 9 months ago

It happens in 2023.3.1, persists in 2023.3.2 RC, but does not happen in 2023.2.5

khaledmsm commented 9 months ago

any update ?

dielect commented 9 months ago

I have also completed this issue, my version is March 2, 2023, I am currently retiring the review version, and I hope it will be useful.

captain828 commented 8 months ago

Seems to be fixed with the latest OpenAI library (1.10.0) and the latest Pycharm stable (2023.3.3),

xuing commented 8 months ago

Seems to be fixed with the latest OpenAI library (1.10.0) and the latest Pycharm stable (2023.3.3),

Yes, although the contributor still recommends that the PyCharm team also fix this.

Feel free to close the issues if deemed necessary.

https://github.com/openai/openai-python/issues/906#issuecomment-1894145644

fabioz commented 8 months ago

This issue is only in the PyCharm fork, so closing here as plain pydevd does not have this issue.