Open zylo117 opened 2 weeks ago
Hi @zylo117, thank you for reporting the problem! It looks like the data transmission is not able to establish the connection. This could have different reasons. Could you please provide a minimal reproducible example so I can hopefully reproduce the problem on my end?
just put a breakpoint on line 3: print(), then I can't view image on variable img.
import cv2
img = cv2.imread('123.jpg')
print()
crop = [img for img in [img]]
I can't reproduce it here. It's hard to say what exactly could be causing the problem for you. The data transmission from the python debug process to the PyCharm instance happens via a socket network connection. It's using a random port for that. Are there any particularly restrictive settings on your machine that could prevent this socket connection from being established?
I can't reproduce it here. It's hard to say what exactly could be causing the problem for you. The data transmission from the python debug process to the PyCharm instance happens via a socket network connection. It's using a random port for that. Are there any particularly restrictive settings on your machine that could prevent this socket connection from being established?
I don't think so, but it could be a pycharm's bug. A while ago, the pycharm Debug Image Viewer plugin stopped working in this code, and your plugin doesn't work either.
crop = [img for img in [img]]
But if I remove the 4th line of this code, both plugins work. It's really strange. I don't understand how this line of code matters
An exception occurred in the plugin.
Environment:
Exception details:
Steps to reproduce:
Code snippet: