Received “/: Event not found.” when using PyCharm remote dubugger

我的未来我决定 提交于 2019-12-10 23:27:10

问题


When I use PyCharm with remote debug through ssh to a tcsh shell server, many times its stops working, and displays "/: Event not found"

More specifically, I encounter the following in pycharm debug console.

ssh://username@hostserver:22/path/to/bin/python -u /path/to/.pycharm_helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support=auto --client '0.0.0.0' --port 40426 --file /path/to/python/file/main.py /: Event not found.

Is the problem owing to history substitution in tcsh shell? Because I can get the same response when typing !/.

I find some similar questions like Issue with pycharm remote debug (“/: Event not found.” ) and Event not found, but no useful answer.

Sometimes this problem disappears automatically, which is weird.


回答1:


I'm having similar issue.

I have fixed this by removing remote_source file from ~/Library/Caches/PyCharm20017.3 directory.

Please note that I'm using macOS.




回答2:


I had the same issue and received an answer from JetBrains. It was caused by PyCharm not supporting csh, and the temporary solution is to use bash until PyCharm supports csh. After changing login shell to bash in Linux, the remote debugger started working.



来源:https://stackoverflow.com/questions/48050064/received-event-not-found-when-using-pycharm-remote-dubugger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!