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

2019-07-16 11:34发布

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.

2条回答
叼着烟拽天下
2楼-- · 2019-07-16 12:15

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.

查看更多
成全新的幸福
3楼-- · 2019-07-16 12:22

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.

查看更多
登录 后发表回答