Found a swap file by the name ".jsidInspector.py.swp"


linuxでvimを使用してファイルを開くと、次の例外が表示されます.
E325: ATTENTION
Found a swap file by the name ".jsidInspector.py.swp"
          owned by: root   dated: Thu Jan 12 11:36:47 2017
         file name: /inspectoraccount/jsidInspector.py
          modified: YES
         user name: root   host name: localhost.localdomain
        process ID: 7084 (still running)
While opening file "jsidInspector.py"
             dated: Thu Jan 12 13:24:22 2017
      NEWER than swap file!

(1) Another program may be editing the same file.  If this is the case,
    be careful not to end up with two different instances of the same
    file when making changes.  Quit, or continue with caution.
(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r jsidInspector.py"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".jsidInspector.py.swp"
to avoid this message.

vimフォーマットが保存されていないときに終了するか、2台のマシンが1つのファイルを同時に操作しているときにこの問題が発生します(1つのswapファイルが存在することを報告します)複数のマシンが1つのファイルを同時に操作している場合は、直接別のマシンで終了すればいいです.保存されていない場合は、終了による(突然の強制シャットダウンなど)まず、車に戻って何もしないことができます.直接現在のファイルvimモードに入って、現在のファイルの内容が元の内容であるかどうかを見て、あなたが望んでいる差が少なく回復する必要がないと思ったら、rm命令を直接実行してそのswapファイルを削除します.
 rm -rf .jsidInspector.py.swp

この操作を実行しても、現在のファイルには影響しません.コンテンツの変化が大きい場合は、
 :q 

先に退いて、それから実行します.
vim -r jsidInspector.py

次に、リカバリする指定ファイルを選択し、swapファイルに対応する数字を入力すると、ファイルが保存されていないときに終了する様子が表示されます.