Opened 7 years ago

Last modified 2 years ago

#53073 assigned defect

py35-ipython @5.1.0 does not run on a PPC running OSX 10.5.8

Reported by: josephsacco Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard powerpc Cc: seanfarley (Sean Farley), stromnov (Andrey Stromnov), chrstphrchvz (Christopher Chavez)
Port: py-ipython

Description (last modified by ryandesign (Ryan Carsten Schmidt))

See output below.

-Joseph

$ipython3 --log-level=DEBUG

[TerminalIPythonApp] IPYTHONDIR set to: /Users/jsacco/.ipython
[TerminalIPythonApp] Created profile dir: '/Users/jsacco/.ipython/profile_default'
[TerminalIPythonApp] Searching path ['/Users/jsacco', '/Users/jsacco/.ipython/profile_default', '/usr/local/etc/ipython', '/etc/ipython'] for config files
[TerminalIPythonApp] Attempting to load config file: ipython_config.py
[TerminalIPythonApp] Looking for ipython_config in /etc/ipython
[TerminalIPythonApp] Looking for ipython_config in /usr/local/etc/ipython
[TerminalIPythonApp] Looking for ipython_config in /Users/jsacco/.ipython/profile_default
[TerminalIPythonApp] Looking for ipython_config in /Users/jsacco
Python 3.5.2 (default, Oct 11 2016, 15:44:53)
Type "copyright", "credits" or "license" for more information.

IPython 5.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

[TerminalIPythonApp] Loading IPython extensions...
[TerminalIPythonApp] Loading IPython extension: storemagic
[TerminalIPythonApp] Starting IPython's mainloop...

In [1]:
Traceback (most recent call last):
  File "/opt/local/bin/ipython3", line 5, in <module>
    start_ipython()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/__init__.py", line 119, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/terminal/ipapp.py", line 348, in start
    self.shell.mainloop()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 440, in mainloop
    self.interact()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 423, in interact
    code = self.prompt_for_code()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 333, in prompt_for_code
    pre_run=self.pre_prompt, reset_current_buffer=True)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/prompt_toolkit/interface.py", line 394, in run
    self.eventloop.run(self.input, self.create_eventloop_callbacks())
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/prompt_toolkit/eventloop/posix.py", line 92, in run
    self.add_reader(stdin, read_from_stdin)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/prompt_toolkit/eventloop/posix.py", line 273, in add_reader
    self.selector.register(fd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/prompt_toolkit/eventloop/select.py", line 75, in register
    sel.register(fd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/prompt_toolkit/eventloop/select.py", line 130, in register
    self._sel.register(fd, selectors.EVENT_READ, None)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/selectors.py", line 536, in register
    self._kqueue.control([kev], 0, 0)
OSError: [Errno 45] Operation not supported

Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: seanfarley stromnov added
Description: modified (diff)
Keywords: leopard powerpc added; ipython3 OSX 10.5.8 PPC removed
Owner: set to lpsinger
Status: newassigned

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: leopard, powerpcleopard powerpc
Port: py-ipython added; py35-ipython removed

comment:3 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

This issue is probably ancient history as py35-ipython is no longer updated. But based on the error message I’m inclined to think the cause of this problem was more likely in py35-prompt_toolkit, due to something like unawareness of limitations of kqueue on macOS 10.5.

comment:4 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.