vim-ipython-cell icon indicating copy to clipboard operation
vim-ipython-cell copied to clipboard

iPython 8.2.0 not compatible with vim-ipython-cell

Open spencer-tb opened this issue 2 years ago • 4 comments

I believe this issue: https://github.com/ipython/ipython/issues/13622, is preventing vim-ipython-cell to work with ipython==8.2.0.

Due to issues with '%paste -q' and '%cpaste -q'.

It works in ipython==8.1.1, so recommend using this version until it is fixed in ipython==8.2.0.

spencer-tb avatar Apr 17 '22 17:04 spencer-tb

Thanks for the notice. I get the same ERROR! Session/line number was not unique in database. History logging moved to new session x error message, but the code execution still seems to work. Is it the same for you?

I've added a line to the README about this issue.

hanschen avatar Apr 22 '22 08:04 hanschen

The issue seems to be fixed in IPython 8.4.0. Can you still reproduce the issue?

EDIT: Nevermind, it seems like the issue's still here as well.

hanschen avatar Jul 10 '22 20:07 hanschen

The issue seems to be fixed in IPython 8.4.0. Is it the same for you?

Still same for me

AchmadFathoni avatar Jul 11 '22 02:07 AchmadFathoni

Same for me in IPYHON 8.4.0

Mickychen00 avatar Aug 02 '22 04:08 Mickychen00

This commit should fix the issue with the new release of 8.6.0.

I don't personally use this plugin, can anyone confirm?

CosmosAtlas avatar Nov 23 '22 02:11 CosmosAtlas

This commit should fix the issue with the new release of 8.6.0.

I don't personally use this plugin, can anyone confirm?

@CosmosAtlas Many thanks for the fix. :) The error seems to be gone for %cpaste -q, but I unfortunately still get an error when running %paste -q:

In [2]: %paste -q
test

ERROR! Session/line number was not unique in database. History logging moved to new session 2188
$ ipython --version
8.6.0

hanschen avatar Nov 23 '22 09:11 hanschen

The issue has now been fixed in the latest version of IPython (8.8.0 and newer). I have moved the information about this issue to the FAQ.

hanschen avatar Jan 04 '23 20:01 hanschen