question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

shell_magic exception on OSX with zsh

See original GitHub issue

Spotted this while working on maxpoint/spylon-kernel#33. When launching a kernel which loads the shell_magic:

[MetaKernelApp] ERROR | Can't load '/Users/parente/miniconda3/envs/spylon-kernel-dev/lib/python3.6/site-packages/metakernel/magics/shell_magic.py': error: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x109706f98>
command: /bin/bash
args: [b'/bin/bash', b'--rcfile', b'/Users/parente/miniconda3/envs/spylon-kernel-dev/lib/python3.6/site-packages/metakernel/bashrc.sh']
buffer (last 100 chars): '\x1b[?1034h(spylon-kernel-dev) '
before (last 100 chars): '\x1b[?1034h(spylon-kernel-dev) '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 88201
child_fd: 54
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
    0: re.compile("[$#]")

I’ll try to test this in a plain metakernel install. If it’s known that pexpect and metakernel aren’t py36 compatible, then please disregard.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
blink1073commented, May 12, 2017

0.20.2 is on PyPI, conda build in progress.

0reactions
parentecommented, May 21, 2017

0.20.2 is also on conda-forge

Read more comments on GitHub >

github_iconTop Results From Across the Web

ZSH Won't Run an M1 Command Line Tool Built in Xcode
I have a command line tool that zsh refuses to run when built for Apple ... And it's not crashing--there's no exception or...
Read more >
in mac always getting zsh: command not found: - Stack Overflow
I am using the z Shell ( zsh ) instead of the default bash, and something wrong happen so that all commands that...
Read more >
Moving to zsh, part 8 - Scripting OS X
The argument for bash has been that it has been pre-installed on every Mac OS X since 10.2. The same is true for...
Read more >
Terminal commands (which, dirname, curl, and more) are all ...
I've recently-ish updated from an Intel-based Mac to an M1-based Mac ... As in when I run a, for example, curl command I...
Read more >
How to Fix Zsh Command Not Found Error on macOS [5 Ways]
In 2019, macOS released Catalina, and from then on, Mac switched from Bash to Zsh as the default login shell. So, some Zsh...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found