ipython Problem (suspected python select or vt100)
hangglider at gmx.de
Wed Mar 29 09:25:35 UTC 2023
I'm on MacOSX 10.5 Tiger, PPC architecture.
Ipython (3.11.2 currently but already had the same with earlier
verions of atleast 3.10 and 3.11) installs fine. But trying to use it
(without any further args, just as command shell) bombs (see below).
Piping into or redirecting input works fine.
Putting a debug print statement to the bottom function, it shows up
that it's on the 3rd call of selectors.KqueueSelector.register(),
Is that either a known problem or could any kind person provide some
helpful hints to solve that?
Thanks in advance,
----- snip! -----
application.py", line 737, in _run_async
with self.input.raw_mode(), self.input.attach(
lib/python3.11/contextlib.py", line 137, in __enter__
lib/python3.11/site-packages/prompt_toolkit/input/vt100.py", line 176,
lib/python3.11/asyncio/selector_events.py", line 340, in add_reader
self._add_reader(fd, callback, *args)
lib/python3.11/asyncio/selector_events.py", line 267, in _add_reader
lib/python3.11/selectors.py", line 522, in register
self._selector.control([kev], 0, 0)
OSError: [Errno 45] Operation not supported
If you suspect this is an IPython 8.8.0 bug, please report it at:
or send an email to the mailing list at ipython-dev at python.org
You can print a more detailed traceback right now with "%tb", or use
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
----- snipsnap! -----
*** DEBUG: KqueueSelector.register(self, fileobj, events, data) =
(<selectors.KqueueSelector object at 0x2d8c2f0>, 0, 1, (<Handle
_attached_input.<locals>.callback_wrapper() at /opt/local/Library/
----- snap! -----
More information about the macports-users