Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork245
Open
Labels
Description
Hi,
Here is the stackstrace:
$ /usr/bin/bpythonbpython version 0.14.1 on top of Python 3.4.3 /usr/bin/python>>> from sh import ls, cat>>> ls()Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/lib/python3.4/site-packages/sh.py", line 769, in __call__ return RunningCommand(cmd, call_args, stdin, stdout, stderr) File "/usr/lib/python3.4/site-packages/sh.py", line 330, in __init__ self.wait() File "/usr/lib/python3.4/site-packages/sh.py", line 334, in wait self._handle_exit_code(self.process.wait()) File "/usr/lib/python3.4/site-packages/sh.py", line 1152, in wait pid, exit_code = os.waitpid(self.pid, 0)InterruptedError: [Errno 4] Interrupted system call>>> cat("./test.py")Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/lib/python3.4/site-packages/sh.py", line 769, in __call__ return RunningCommand(cmd, call_args, stdin, stdout, stderr) File "/usr/lib/python3.4/site-packages/sh.py", line 330, in __init__ self.wait() File "/usr/lib/python3.4/site-packages/sh.py", line 334, in wait self._handle_exit_code(self.process.wait()) File "/usr/lib/python3.4/site-packages/sh.py", line 1152, in wait pid, exit_code = os.waitpid(self.pid, 0)InterruptedError: [Errno 4] Interrupted system call
Each call to a function imported through sh never ends, the previous
exceptions were thrown only when I forced it to flush by resizing the window.
The same lines were tested with python3 and ipython3 without problem.
It may be of importance to know my system:
$ uname -a
Linux Eather 3.19.2-1-ARCH#1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015 x86_64 GNU/Linux