-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
After a PluginUpdate, I get errors: #167
Comments
EDIT: NOT the same issue! Hi, same error here. As soon as I type
SystemIron: commit 746f2... Configlocal iron = require('iron')
iron.core.set_config {
preferred = {
python = "ipython"
}
} Thanks! |
I just did a git bisect and found the first commit to introduce errors to be: Then armed with my zero knowledge of Lua and Vimscript I attempted a fix. Commenting out all the code between 377 and 401 in init.lua (commit 746f220) plus modifying the map of iron-send-line to its state prior to 33d80 in iron.vim eliminated both the problems described in this issue and on issue #168. I have probably broken a few things along the way but for now it does the trick for me. EDIT: Upon further digging it looks like the problem is on the calls to |
Hi @enmy211, I have created a pull request that I think should fix your problem. You can also try for now GCBallesteros/iron.nvim while we wait for a more definitive solution. Cheers! |
Now I get error when use "iron-send-motion" |
With NVIM v0.5.0-715-gc5ceefca7, I get a little bit different error: Error while processing function 47_save_pos: |
@enmy211 That was the error I was getting which I fixed on the pull request. While we wait for a fix here, can you give it a shot to using my version of the plugin,
Hope this helps. |
Still with NVIM v0.5.0-715-gc5ceefca7: Error while processing function 47_ironSendMotion: I tried more and it worked!!! Thank you for fixing this. I use this plugin almost every day. Until now I have used Jupyter lab, which isn't my first choice. Now I am on track again!!! I'll buy you some bear!!! |
PR Merged now, @enmy211 can you check if master is fixed for you? Kudos to @GCBallesteros for the fix :) |
Yes, it works! But the very first time I send "ironSendMotion" I get error: After that: No errors. That's ok. Thank you. I will buy you some beer (not bear). Paypal? |
@enmy211 That's no good, something is still wrong there :) Can you give more details on your workflow from starting nvim to hitting the error? Keystroke for keystroke if necessary. It's hard to diagnose without being able to reproduce first. P.S. If it's not a bear then I'm not interested ;), but @hkupty may be interested in the beer, he is the one that put in the hard work. |
I got to my working directory and fire up nvim with xxxx.py. In my init.vim I have: I got to the first line and press my leader-key and the mentioned error show up. I press enter to continue, the command execute ok and IPython 7.5.0 pops up in a new window. While trying this i discovered exactly where the error occur.
I hope this help :-) |
I can reproduce it. It looks like the buffer marks are not set correctly when @enmy211 May I suggest that in the meantime you start the REPL before doing the first |
I'll have a look at that @enmy211, thanks! And thanks once again @GCBallesteros for the work on identifying and debugging iron 🙂 As for the beer, I guess I'll allow me one when I can get back to maintaining iron properly.. Sorry for not being able to keep up. |
Error during processing of function 47_save_pos:
line 6:
E117: Unknown function: nvim_buf_set_extmark
I have:
NVIM v0.4.4
Python 3.7.3
pynvim 0.4.3
Ubuntu 18.04.5 LTS
Any idea?
The text was updated successfully, but these errors were encountered: