[NvimError: String cannot contain newlines]
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 284
- フォーク
- 27
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When I start debugging with :dbg, an error occurred. Following is the detail:
Error detected while processing function provider#python#Call:
line 18:
Traceback (most recent call last):
File "", line 1, in
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/commands.py", line 19, in debugger_cmd
return start(*shlex.split(plain))
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/commands.py", line 88, in start
debugger.start_py(fname)
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/new_debugger.py", line 114, in start_py
return self.start()
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/new_debugger.py", line 144, in start
self.ui.startup()
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/ui.py", line 47, in startup
self.create()
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/ui.py", line 84, in create
self.windows['output'].create('vertical belowright new')
File "/Users/ke/.local/share/nvim/plugged/vim-debug/vim_debug/window.py", line 53, in create
self.buffer[:] = [self.dtext]
File "/Users/ke/Library/Python/2.7/lib/python/site-packages/neovim/api/buffer.py", line 65, in __setitem__
return self.request('nvim_buf_set_lines', start, end, False, lines)
File "/Users/ke/Library/Python/2.7/lib/python/site-packages/neovim/api/common.py", line 44, in request
return self._session.request(name, self, *args, **kwargs)
File "/Users/ke/Library/Python/2.7/lib/python/site-packages/neovim/api/nvim.py", line 170, in request
res = self._session.request(name, *args, **kwargs)
File "/Users/ke/Library/Python/2.7/lib/python/site-packages/neovim/msgpack_rpc/session.py", line 100, in request
raise self.error_wrapper(err)
NvimError: String cannot contain newlines
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
出力バッファが割り当てられている vim_debug/window.py の 53 行目から始め、:dbg でデバッグセッションを開始して失敗を再現します。self.buffer に割り当てられた値を追跡し、Neovim buffer API のエラーと比較します。:dbg が「String cannot contain newlines」エラーなしで出力ウィンドウを開けば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- neovim, python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100