Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting before yanking crashes Spyder #94

Open
webberl opened this issue Nov 23, 2023 · 0 comments
Open

Pasting before yanking crashes Spyder #94

webberl opened this issue Nov 23, 2023 · 0 comments

Comments

@webberl
Copy link

webberl commented Nov 23, 2023

Just installed this plugin, and was just testing mindlessly when I encountered this issue. Steps to reproduce the problem and the traceback log are below.

While I understand it is obvious, but I also tried yanking before pasting, which does not reproduce the same issue.

What steps will reproduce the problem?

  1. start spyder
  2. select vim command bar
  3. type 'p' (without the quotes)

Traceback log

Traceback (most recent call last):
  File "C:\ProgramData\anaconda3\Lib\site-packages\spyder_vim\spyder\widgets.py", line 1609, in on_text_changed
    self.vim_keys(key, repeat)
  File "C:\ProgramData\anaconda3\Lib\site-packages\spyder_vim\spyder\widgets.py", line 101, in __call__
    method(repeat=repeat)
  File "C:\ProgramData\anaconda3\Lib\site-packages\spyder_vim\spyder\widgets.py", line 1138, in p
    self.P()
TypeError: VimKeys.P() missing 1 required positional argument: 'repeat'

Spyder version info

  • Spyder version: 5.4.3 (conda)
  • Python version: 3.11.5 64-bit
  • Qt version: 5.15.2
  • PyQt5 version: 5.15.7
  • Operating System: Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant