sopel-irc / sopel-ipython Goto Github PK
View Code? Open in Web Editor NEWIPython console plugin for Sopel (formerly part of core)
License: Other
IPython console plugin for Sopel (formerly part of core)
License: Other
Logs for posterity. I haven't been able to reproduce this with IPython 8, even with the published sopel-ipython 0.0.2 release (uploaded before #2 disabled the console history).
Exception ignored in atexit callback: <bound method InteractiveShell.atexit_operations of <IPython.terminal.embed.InteractiveShellEmbed object at 0x7f0e2198c430>>
Traceback (most recent call last):
File "/home/dgw/.local/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3908, in atexit_operations
self.history_manager.end_session()
File "/home/dgw/.local/lib/python3.10/site-packages/IPython/core/history.py", line 574, in end_session
self.writeout_cache()
File "/home/dgw/.local/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/dgw/.local/lib/python3.10/site-packages/IPython/core/history.py", line 58, in needs_sqlite
return f(self, *a, **kw)
File "/home/dgw/.local/lib/python3.10/site-packages/IPython/core/history.py", line 780, in writeout_cache
self._writeout_input_cache(conn)
File "/home/dgw/.local/lib/python3.10/site-packages/IPython/core/history.py", line 761, in _writeout_input_cache
with conn:
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 139698651924032 and this is thread id 139698756259840.
$ pip list | grep ipython
ipython 7.34.0
sopel-ipython 0.0.2
I think the best "fix" for this is to hold until Sopel 8.0 is finished, then release a new version of sopel-ipython with #2 reverted (turning history back on), support for Sopel<8 and Python<3.8 dropped, and requiring IPython>=8.
That's a lot of 8sā¦ But turning off the console history was already just a kludge-y workaround, and there's no reason to lose that feature from the plugin permanently unless I can reproduce the error with Python 3.8+ and a current version of IPython.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.