guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix python


From: Eric Bavier
Subject: Re: [PATCH] fix python
Date: Fri, 04 Apr 2014 10:36:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Alírio Eyng <address@hidden> writes:

> This fixes 'OSError: out of pty devices' with '#
> CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set'

This does not fix the error it claims to fix on my machine.  It also
undoes commit bb184d9884891ad190f2ebc4ffb71d6f361ab488

The errors I get from building python-3.3.3 are:

======================================================================
FAIL: test_wait_result (test.test_multiprocessing.WithProcessesTestCondition)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_multiprocessing.py",
 line 1035, in test_wait_result
    self.assertRaises(KeyboardInterrupt, c.wait, 10)
AssertionError: KeyboardInterrupt not raised by wait

----------------------------------------------------------------------
Ran 242 tests in 60.644s

FAILED (failures=1, skipped=4)
Re-running test 'test_openpty' in verbose mode
test (test.test_openpty.OpenptyTest) ... test test_openpty failed
ERROR

======================================================================
ERROR: test (test.test_openpty.OpenptyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_openpty.py", 
line 12, in test
    master, slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Re-running test 'test_pty' in verbose mode
test__copy_eof_on_all (test.test_pty.SmallPtyTests)
Test the empty read EOF case on both master_fd and stdin. ... ok
test__copy_to_each (test.test_pty.SmallPtyTests)
Test the normal data case on both master_fd and stdin. ... ok
test_basic (test.test_pty.PtyTest) ... Calling master_open()
skipped 'Pseudo-terminals (seemingly) not functional.'
test_fork (test.test_pty.PtyTest) ... test test_pty failed
calling pty.fork()
ERROR

======================================================================
ERROR: test_fork (test.test_pty.PtyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_pty.py", 
line 116, in test_fork
    pid, master_fd = pty.fork()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 107, 
in fork
    master_fd, slave_fd = openpty()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 29, 
in openpty
    master_fd, slave_name = _open_terminal()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 70, 
in _open_terminal
    raise os.error('out of pty devices')
OSError: out of pty devices

-- 
`~Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]