[pypy-issue] Issue #2300: PyPy3 2.4.0 OperationError/LookupError with virtualenv and a PATH with non-ASCII characters (pypy/pypy)

Chi Hsuan Yen issues-reply at bitbucket.org
Sat May 14 07:09:05 EDT 2016


New issue 2300: PyPy3 2.4.0 OperationError/LookupError with virtualenv and a PATH with non-ASCII characters
https://bitbucket.org/pypy/pypy/issues/2300/pypy3-240-operationerror-lookuperror-with

Chi Hsuan Yen:

### Description: ###
I'm trying to fix a virtualenv issue (https://github.com/pypa/virtualenv/issues/457). All tests on CPython pass and all on PyPy fails. [1] The PyPy2 test is OK on my machine, so I guess it's an Ubuntu issue. The PyPy3 test fails with an OperationError both on Travis CI and my machine:

```
debug: OperationError:
debug:  operror-type: LookupError
debug:  operror-value: no codec search functions registered: can't find encoding
debug: OperationError:
debug:  operror-type: AttributeError
debug:  operror-value: stdout
```

### Steps to reproduce: ###
```
$ git clone -b encoding-fix https://github.com/yan12125/virtualenv
$ cd virtualenv
$ pypy3 virtualenv.py 中文
```

The same result appears on Ubuntu 12.04 (Travis CI) [2] and Arch Linux (my machine).

### Additional info: ###
PyPy3 version on my machine:
```
$ pypy3 -V
Python 3.2.5 (b2091e973da69152b3f928bfaabd5d2347e6df46, Mar 04 2016, 07:08:30)
[PyPy 2.4.0 with GCC 5.3.0]
```
And on Travis CI:
```
$ python --version
Python 3.2.5 (b2091e973da6, Oct 19 2014, 18:29:55)
[PyPy 2.4.0 with GCC 4.6.3]
```

[1] https://travis-ci.org/pypa/virtualenv/builds/130198936

[2] https://travis-ci.org/pypa/virtualenv/jobs/130198943




More information about the pypy-issue mailing list