Skip to content Skip to sidebar Skip to footer

Python Logging And Pydev Debugger?

Edit : Using Liclipse 1.2.1 instead of 1.3.0 or 1.4.0 is working fine. Changelog indicate both Pydev 3.9.1 and Eclipse 4.4.1 updates for 1.3.0. Seems to break logging debug. Using

Solution 1:

There is now a relatively obscure (because they don't include the OP's error string in their webpage for good search indexing) fix implemented in PyCharm for this: https://www.jetbrains.com/pycharm/help/python-debugger.html

In PyCharm, go to: File | Settings | Build, Execution, Deployment | Python Debugger

Then uncheck 'PyQt compatible'

Solution 2:

same problem with PyCharm. possible workaround - to comment out pydev_monkey_qt.patch_qt() line in pycharm/helpers/pydev/pydevd.py, for Eclipse it should be located somewhere else

Solution 3:

Ensure to import PyQt4 before importing logging

Post a Comment for "Python Logging And Pydev Debugger?"