From issues-reply at bitbucket.org Mon Dec 1 10:38:55 2014 From: issues-reply at bitbucket.org (=?utf-8?q?Anders_Hovm=C3=B6ller?=) Date: Mon, 01 Dec 2014 09:38:55 -0000 Subject: [pypy-issue] Issue #1936: Weird import ctypes error (pypy/pypy) Message-ID: <20141201093855.31607.37202@app14.ash-private.bitbucket.org> New issue 1936: Weird import ctypes error https://bitbucket.org/pypy/pypy/issue/1936/weird-import-ctypes-error Anders Hovm?ller: I get this funny behavior: ``` #!python Python 2.7.3 (87aa9de10f9c, Nov 24 2013, 20:57:21) [PyPy 2.2.1 with GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. And now for something completely different: ``"it's likely temporary until forever" arigo'' >>>> import ctypes >>>> import gunicorn >>>> from gunicorn import util Traceback (most recent call last): File "", line 1, in File "/Users/andersh/Projects/triresolve/env-pypy/site-packages/gunicorn-0.17.2_trioptima1-py2.7.egg/gunicorn/util.py", line 24, in import resource File "/usr/local/Cellar/pypy/2.2.1/libexec/lib_pypy/resource.py", line 6, in from ctypes_config_cache._resource_cache import * File "/usr/local/Cellar/pypy/2.2.1/libexec/lib_pypy/ctypes_config_cache/_resource_cache.py", line 6, in globals(), locals(), ["*"]) File "/usr/local/Cellar/pypy/2.2.1/libexec/lib_pypy/ctypes_config_cache/_resource_64_.py", line 1, in import ctypes ImportError: No module named ctypes >>>> import ctypes Traceback (most recent call last): File "", line 1, in ImportError: No module named ctypes >>>> ``` Note that I successfully import ctypes, then I try to import gunicorn and it raises, then I'm in a state where I can't import ctypes anymore. From issues-reply at bitbucket.org Mon Dec 1 14:01:43 2014 From: issues-reply at bitbucket.org (Eitan Yanovsky) Date: Mon, 01 Dec 2014 13:01:43 -0000 Subject: [pypy-issue] Issue #1937: Upgrade from 2.3.1->2.4.0 running specific unit test the process crash with exit code 139 (pypy/pypy) Message-ID: <20141201130143.4366.9584@app14.ash-private.bitbucket.org> New issue 1937: Upgrade from 2.3.1->2.4.0 running specific unit test the process crash with exit code 139 https://bitbucket.org/pypy/pypy/issue/1937/upgrade-from-231-240-running-specific-unit Eitan Yanovsky: We have a bunch of tests which worked fine on all previous versions of pypy. When we upgrade to version 2.4.0 one of them started to crash always with exit code 139. I was able to isolate the problem to the following function: def normalize_counter(counter): """ Returns a normalize representation of the counter in a dictionary """ result = {} counter_sum = sum(counter.itervalues()) for key, count in counter.iteritems(): result[key] = float(count) / counter_sum return result If I change the counter.itervalues() to counter.values() the problem is not reproduced. I am not able to create a standalone simple reproduction without my entire app. I tried reproducing by calling this method with the same data which is being called when the actual failure occur, together with the same order of method invocation but it doesn't crash. I hope this provides enough info. From issues-reply at bitbucket.org Mon Dec 1 16:22:53 2014 From: issues-reply at bitbucket.org (Eli Spizzichino) Date: Mon, 01 Dec 2014 15:22:53 -0000 Subject: [pypy-issue] Issue #1938: numpy failed to load: lapack_lite.pypy-22.so: undefined symbol: Py_InitModule4_64 (pypy/pypy) Message-ID: <20141201152253.10191.98396@app11.ash-private.bitbucket.org> New issue 1938: numpy failed to load: lapack_lite.pypy-22.so: undefined symbol: Py_InitModule4_64 https://bitbucket.org/pypy/pypy/issue/1938/numpy-failed-to-load-lapack_litepypy-22so Eli Spizzichino: Hello everyone, I've created a clean virtualenv with -p /usr/bin/pypy, cloned and compiled the pypy version of numpy but when I import it I got: ImportError: unable to load extension module '/home/es/.virtualenvs/pypy_4/site-packages/numpy/linalg/lapack_lite.pypy-22.so': /home/es/.virtualenvs/pypy_4/site-packages/numpy/linalg/lapack_lite.pypy-22.so: undefined symbol: Py_InitModule4_64 I've read around report of this happening on OSX but I'm on ubuntu and I have no idea of what atlas supports mean or how to disable it. (I've installed also gfortran but it did not make any difference) Any help it's appreciated! From issues-reply at bitbucket.org Tue Dec 2 12:37:06 2014 From: issues-reply at bitbucket.org (Carmen Bianca Bakker) Date: Tue, 02 Dec 2014 11:37:06 -0000 Subject: [pypy-issue] Issue #1939: PyPy 3k interactive interpreter crashes on RCTRL+number key combination (pypy/pypy) Message-ID: <20141202113706.15742.23918@app13.ash-private.bitbucket.org> New issue 1939: PyPy 3k interactive interpreter crashes on RCTRL+number key combination https://bitbucket.org/pypy/pypy/issue/1939/pypy-3k-interactive-interpreter-crashes-on Carmen Bianca Bakker: So this is an odd bug. I run Ubuntu 14.10. I have PyPy 3k installed from the binary download. ``` #!bash $ pypy3 --version Python 3.2.5 (b2091e973da6, Oct 19 2014, 18:29:55) [PyPy 2.4.0 with GCC 4.6.3] ``` If I type right CTRL + [2, 3, 4, 5, 6, 7], the interpreter crashes and I get the following stack trace: ``` #!bash $ pypy3 Python 3.2.5 (b2091e973da6, Oct 19 2014, 18:29:55) [PyPy 2.4.0 with GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>> Traceback (most recent call last): File "/opt/pypy3/lib_pypy/_pypy_interact.py", line 45, in interactive_console run_interactive(mainmodule) File "/opt/pypy3/lib_pypy/pyrepl/simple_interact.py", line 62, in run_multiline_interactive_console returns_unicode=True) File "/opt/pypy3/lib_pypy/pyrepl/readline.py", line 216, in multiline_input return reader.readline(returns_unicode=returns_unicode) File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 616, in readline self.handle1() File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 599, in handle1 self.do_cmd(cmd) File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 551, in do_cmd self.refresh() File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 532, in refresh screen = self.calc_screen() File "/opt/pypy3/lib_pypy/pyrepl/completing_reader.py", line 230, in calc_screen screen = super(CompletingReader, self).calc_screen() File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 295, in calc_screen l, l2 = disp_str(line) File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 81, in disp_str s = [uc(x) for x in buffer] File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 81, in s = [uc(x) for x in buffer] File "/opt/pypy3/lib_pypy/pyrepl/reader.py", line 57, in _my_unctrl return br'\u%04x' % ord(c) TypeError: unsupported operand type(s) for %: 'bytes' and 'int' ``` I just thought I'd do the right thing and report the bug. CPython 3 does not appear to have this behaviour, and neither does PyPy 2. From issues-reply at bitbucket.org Tue Dec 2 14:45:47 2014 From: issues-reply at bitbucket.org (mattip) Date: Tue, 02 Dec 2014 13:45:47 -0000 Subject: [pypy-issue] Issue #1940: changeset 68c97410a30e causes segfault in numpypy casting float->int8 (pypy/pypy) Message-ID: <20141202134547.19546.79373@app08.ash-private.bitbucket.org> New issue 1940: changeset 68c97410a30e causes segfault in numpypy casting float->int8 https://bitbucket.org/pypy/pypy/issue/1940/changeset-68c97410a30e-causes-segfault-in mattip: The following works pre-`68c97410a30e`, fails after import _numpypy.multiarray as np b = np.arange(1500).astype('int8') I tried writing a test in micronumpy/test/test_zjit , but it passes. Note I could not find a way to cast `W_Int8Box.value` back to float line 32 correctly even before the changeset, but that does not seem to be the issue here. Here is the diff for the test [https://gist.github.com/mattip/e0cea71ee0102ac375fb](https://gist.github.com/mattip/e0cea71ee0102ac375fb) From issues-reply at bitbucket.org Tue Dec 2 22:12:46 2014 From: issues-reply at bitbucket.org (Andy Freeland) Date: Tue, 02 Dec 2014 21:12:46 -0000 Subject: [pypy-issue] Issue #1941: PyPy + eventlet + urllib3: ValueError: file descriptor cannot be a negative integer (-1) (pypy/pypy) Message-ID: <20141202211246.14427.18305@app14.ash-private.bitbucket.org> New issue 1941: PyPy + eventlet + urllib3: ValueError: file descriptor cannot be a negative integer (-1) https://bitbucket.org/pypy/pypy/issue/1941/pypy-eventlet-urllib3-valueerror-file Andy Freeland: When using urllib3 1.9.1's connection pooling on PyPy 2.4.0 on OS X with eventlet 0.15.2, I get occasional file descriptor errors: ```pytb Traceback (most recent call last): File "app_main.py", line 75, in run_toplevel File "demo.py", line 17, in pool.request('HEAD', TARGET_PATH) File "/Users/rouge8/.virtualenvs/tmp-ee0aa913b15a2c5c/site-packages/urllib3/request.py", line 68, in request **urlopen_kw) File "/Users/rouge8/.virtualenvs/tmp-ee0aa913b15a2c5c/site-packages/urllib3/request.py", line 81, in request_encode_url return self.urlopen(method, url, **urlopen_kw) File "/Users/rouge8/.virtualenvs/tmp-ee0aa913b15a2c5c/site-packages/urllib3/connectionpool.py", line 511, in urlopen conn = self._get_conn(timeout=pool_timeout) File "/Users/rouge8/.virtualenvs/tmp-ee0aa913b15a2c5c/site-packages/urllib3/connectionpool.py", line 222, in _get_conn if conn and is_connection_dropped(conn): File "/Users/rouge8/.virtualenvs/tmp-ee0aa913b15a2c5c/site-packages/urllib3/util/connection.py", line 39, in is_connection_dropped p.register(sock, POLLIN) ValueError: file descriptor cannot be a negative integer (-1) ``` Here's a snippet to reproduce: ```python import eventlet eventlet.monkey_patch() import os import urllib3 TARGET_HOST = os.environ.get('TARGET_HOST', 'http://localhost:9200') TARGET_PATH = os.environ.get('TARGET_PATH', '/test') pool = urllib3.connection_from_url(TARGET_HOST) for i in range(1000): pool.request('HEAD', TARGET_PATH) ``` CPython does not raise any errors even on much larger ranges. From issues-reply at bitbucket.org Wed Dec 3 12:02:36 2014 From: issues-reply at bitbucket.org (Armin Rigo) Date: Wed, 03 Dec 2014 11:02:36 -0000 Subject: [pypy-issue] Issue #1942: Support for AF_xxx sockets (pypy/pypy) Message-ID: <20141203110236.22393.44223@app13.ash-private.bitbucket.org> New issue 1942: Support for AF_xxx sockets https://bitbucket.org/pypy/pypy/issue/1942/support-for-af_xxx-sockets Armin Rigo: PyPy's sockets don't support all the AF_xxx address families that only work (and can only be tested) when running as root, or that are more or less deprecated nowadays. What should we do about them? Add them as people report a need for them, as long as they are not too much of the deprecated kind? An example where the AF_PACKET family is needed: http://stackoverflow.com/questions/27186685/scapy-showing-error-with-pypy From issues-reply at bitbucket.org Mon Dec 8 15:22:37 2014 From: issues-reply at bitbucket.org (Armin Rigo) Date: Mon, 08 Dec 2014 14:22:37 -0000 Subject: [pypy-issue] Issue #1943: RuntimeError: settrace/setprofile function gets lost (pypy/pypy) Message-ID: <20141208142237.7774.37132@app09.ash-private.bitbucket.org> New issue 1943: RuntimeError: settrace/setprofile function gets lost https://bitbucket.org/pypy/pypy/issue/1943/runtimeerror-settrace-setprofile-function Armin Rigo: It's not possible to write a settrace() or setprofile() function that remains active if we're about to run out of stack. If we are, we get a RuntimeError when the function is called. The RuntimeError is normally propagated, but in case it is eaten (e.g. because we're in a hasattr()) then the program continues to run normally --- but the trace/profile function is disabled. (This also occurs on CPython.) From issues-reply at bitbucket.org Tue Dec 9 10:48:37 2014 From: issues-reply at bitbucket.org (Armin Rigo) Date: Tue, 09 Dec 2014 09:48:37 -0000 Subject: [pypy-issue] Issue #1944: ctypes on windows: GetLastError() not working (pypy/pypy) Message-ID: <20141209094837.24558.13570@app11.ash-private.bitbucket.org> New issue 1944: ctypes on windows: GetLastError() not working https://bitbucket.org/pypy/pypy/issue/1944/ctypes-on-windows-getlasterror-not-working Armin Rigo: Seems that GetLastError() always returns 0 on ctypes+Windows. See attached example (prints 6 on CPython, 0 on PyPy 2.4). From issues-reply at bitbucket.org Thu Dec 11 17:57:55 2014 From: issues-reply at bitbucket.org (Simon B.) Date: Thu, 11 Dec 2014 16:57:55 -0000 Subject: [pypy-issue] Issue #1945: Compiling on Windows with Visual Studio 2008 and PyPy 2.4.0 (pypy/pypy) Message-ID: <20141211165755.20943.10361@app01.ash-private.bitbucket.org> New issue 1945: Compiling on Windows with Visual Studio 2008 and PyPy 2.4.0 https://bitbucket.org/pypy/pypy/issue/1945/compiling-on-windows-with-visual-studio Simon B.: I can't compile C extension modules with PyPy, here the example *pysha3*. Same is true with other extension libarys. Error log of pip: ``` ------------------------------------------------------------ C:\Users\Simon\Desktop\pypy-2.4.0-win32\bin\pip run on 12/11/14 17:56:49 Downloading/unpacking pysha3 Getting page https://pypi.python.org/simple/pysha3/ URLs to search for versions for pysha3: * https://pypi.python.org/simple/pysha3/ Analyzing links from page https://pypi.python.org/simple/pysha3/ Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.1.win-amd64-py2.6.exe#md5=af5dab0b9e0a61e36bbf80a215605168 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.1.win32-py2.6.exe#md5=268aa9963c6665a50b5c2dd43e0446e4 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.1.win-amd64-py2.6.exe#md5=4ca533cc8773cad1f7ab1c0571c85107 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.1.win32-py2.6.exe#md5=6add072d98871a6a7d07154ae02f413c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.2.win-amd64-py2.6.exe#md5=d137af764948d2d59798c7e4db6d4df6 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.2.win32-py2.6.exe#md5=b08c784fb9c9917afc73b146f3212061 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.win-amd64-py2.6.exe#md5=306152f666aa285994ad2d60e241ee2c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.win32-py2.6.exe#md5=bbbc6eba0497dc6b15576fff597d743a (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3-cp26-none-win32.whl#md5=566eb0e3c7dee2140a0ce2662f1c4339 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3-cp26-none-win_amd64.whl#md5=7f546ef211fee5143ff9f23554be2141 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3.win-amd64-py2.6.exe#md5=7229f6edb85df0fa4921e5fe5923f140 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3.win32-py2.6.exe#md5=9666e460f88b174bf40457f40cf86766 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.1.win-amd64-py2.7.exe#md5=9b7314f662ba0f6e6b70f88aeb223547 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.1.win32-py2.7.exe#md5=04c2f761c0d68069668a7b452a47fb66 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.1.win-amd64-py2.7.exe#md5=e306d2f45c96fa0196cd8bcad2644c3c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.1.win32-py2.7.exe#md5=a57e983b0a41f506d351d3a0ef8ebbdd (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.2.win-amd64-py2.7.exe#md5=8a2e21c6d336a833bb93ab743fbe0352 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.2.win32-py2.7.exe#md5=7dbdf66324b8f0f96456bbc3a69ebba3 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.win-amd64-py2.7.exe#md5=4469667fb254e9101944dc5413b52139 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.win32-py2.7.exe#md5=6df2221799c27a5541503f47ecbd650c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3-cp27-none-win32.whl#md5=2635b11235356b00b3029b52df9b14aa (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3-cp27-none-win_amd64.whl#md5=743292eeed061ad9b1a77f39820f882c (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3.win-amd64-py2.7.exe#md5=478cb7157d9021016e9752ec15194aff (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3.win32-py2.7.exe#md5=7a8f93c823911e2caa7573b7ca3f810c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.1.win-amd64-py3.2.exe#md5=7948e3a9f90a578084d9d77b6d242725 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.1.win32-py3.2.exe#md5=fb231bb7fb60ca7e428640ab30bef7d9 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.1.win-amd64-py3.2.exe#md5=54934ed22b2ede9a22b3f503b180f68e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.1.win32-py3.2.exe#md5=753d8cc5c0f82dbdbf46c8da3f560597 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.2.win-amd64-py3.2.exe#md5=46a92d6c29b003f7c8a031d795f53402 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.2.win32-py3.2.exe#md5=ed95381b1c9d881c0b6643829da4dead (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.win-amd64-py3.2.exe#md5=c67d376b9e0db22f0012252cf05ccf33 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.win32-py3.2.exe#md5=3e078bcc316dfbdcad767bfef17b2bcb (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3-cp32-none-win32.whl#md5=939a2a29c19a5fbe8ebc228eccf1d164 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3-cp32-none-win_amd64.whl#md5=f1ba94bedb8f9633e713e15a44141703 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3.win-amd64-py3.2.exe#md5=e5626840feb09f8bac10ebb17b4134d1 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3.win32-py3.2.exe#md5=228e7a5127ca0eacd859f7c9b6fe7415 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.1.win-amd64-py3.3.exe#md5=54d57013ab1ae30b7645cb7c28059d13 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.1.win32-py3.3.exe#md5=1605e5b4379d9b2eeaab6beb065136d6 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.1.win-amd64-py3.3.exe#md5=61e7ba52fb0f992514fe4fe8721318a3 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.1.win32-py3.3.exe#md5=42ac8762a6095be9220fb1f3e6d440d7 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.2.win-amd64-py3.3.exe#md5=7892e36806a2aa87b73b129fc7302b07 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.2.win32-py3.3.exe#md5=ad4f0a7241171eb34637928b98a2dd0d (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.win-amd64-py3.3.exe#md5=b43315760b2f4a83ffeab124cae73f4c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.win32-py3.3.exe#md5=e7ec6126ab822d456652f405966db67e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3-cp33-none-win32.whl#md5=957f624823eaa861e03bc8a57cc1a483 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3-cp33-none-win_amd64.whl#md5=25d28636975ea090c63482abd22ef4f6 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3.win-amd64-py3.3.exe#md5=8d7cc349b95a3f9f0a8d4532b0976a64 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3.win32-py3.3.exe#md5=0fdde3f0b7b756b645316fba00532ddd (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3-cp34-none-win32.whl#md5=93bec3c02225ac5ac41022289350a8d7 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3-cp34-none-win_amd64.whl#md5=47a9403b214c8a43d19e681daf86ce42 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python Skipping link https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3.win-amd64-py3.4.exe#md5=f76ec330bd918d9fc693cf5acb3fc4ca (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3.win32-py3.4.exe#md5=5457b9b9d286a3e9b06e367aa060a75e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.1.tar.gz#md5=28d01387b337e49af6f7123d41b13618 (from https://pypi.python.org/simple/pysha3/), version: 0.1 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.1.zip#md5=8bcbd81ea7014d5ef5589adaab6a7cbe (from https://pypi.python.org/simple/pysha3/), version: 0.1 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.1.tar.gz#md5=954d82c6a6e92f3f25e33a67b8b44aa6 (from https://pypi.python.org/simple/pysha3/), version: 0.2.1 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.1.zip#md5=848e934b1f22c69f439350abe2f88af8 (from https://pypi.python.org/simple/pysha3/), version: 0.2.1 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.2.tar.gz#md5=5899db42dd400e104f8d018467c4c35b (from https://pypi.python.org/simple/pysha3/), version: 0.2.2 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.2.zip#md5=af809c6600e0c41656a1dc603a13b726 (from https://pypi.python.org/simple/pysha3/), version: 0.2.2 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.tar.gz#md5=dc9541b4ac67be40f8eb662143655ecd (from https://pypi.python.org/simple/pysha3/), version: 0.2 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.zip#md5=06e755a6bb710c166c5ad4138d093884 (from https://pypi.python.org/simple/pysha3/), version: 0.2 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.tar.gz#md5=150ef07e47b6ef79bdf7717036ceccc7 (from https://pypi.python.org/simple/pysha3/), version: 0.3 Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.zip#md5=092da55212eb411845a18bf1d6b80295 (from https://pypi.python.org/simple/pysha3/), version: 0.3 Skipping link http://bugs.python.org/issue16113 (from https://pypi.python.org/simple/pysha3/); not a file Skipping link http://keccak.noekeon.org/ (from https://pypi.python.org/simple/pysha3/); not a file Using version 0.3 (newest of versions: 0.3, 0.3, 0.2.2, 0.2.2, 0.2.1, 0.2.1, 0.2, 0.2, 0.1, 0.1) Downloading from URL https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.tar.gz#md5=150ef07e47b6ef79bdf7717036ceccc7 (from https://pypi.python.org/simple/pysha3/) Running setup.py (path:c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py) egg_info for package pysha3 running egg_info creating pip-egg-info\pysha3.egg-info writing pip-egg-info\pysha3.egg-info\PKG-INFO writing top-level names to pip-egg-info\pysha3.egg-info\top_level.txt writing dependency_links to pip-egg-info\pysha3.egg-info\dependency_links.txt writing manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt' warning: manifest_maker: standard file '-c' not found reading manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt' Source in c:\users\simon\appdata\local\temp\pip_build_simon\pysha3 has version 0.3, which satisfies requirement pysha3 Installing collected packages: pysha3 Running setup.py install for pysha3 Running command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile running install running build running build_py creating build creating build\lib.win32-2.7 copying sha3.py -> build\lib.win32-2.7 running build_ext building '_sha3' extension Traceback (most recent call last): File "app_main.py", line 75, in run_toplevel File "app_main.py", line 581, in run_it File "", line 1, in File "c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py", line 99, in "Topic :: Security :: Cryptography", File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\install.py", line 573, in run self.run_command('build') File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 54, in run _build_ext.run(self) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 347, in run self.build_extensions() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 456, in build_extensions self.build_extension(ext) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 187, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 506, in build_extension depends=ext.depends) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall return unpatched['query_vcvarsall'](version, *args, **kwargs) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 299, in query_vcvarsall raise ValueError(str(list(result.keys()))) ValueError: [u'path'] Complete output from command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build\lib.win32-2.7 copying sha3.py -> build\lib.win32-2.7 running build_ext building '_sha3' extension Traceback (most recent call last): File "app_main.py", line 75, in run_toplevel File "app_main.py", line 581, in run_it File "", line 1, in File "c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py", line 99, in "Topic :: Security :: Cryptography", File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\install.py", line 573, in run self.run_command('build') File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build.py", line 127, in run self.run_command(cmd_name) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 54, in run _build_ext.run(self) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 347, in run self.build_extensions() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 456, in build_extensions self.build_extension(ext) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 187, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 506, in build_extension depends=ext.depends) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 473, in compile self.initialize() File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall return unpatched['query_vcvarsall'](version, *args, **kwargs) File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 299, in query_vcvarsall raise ValueError(str(list(result.keys()))) ValueError: [u'path'] ---------------------------------------- Cleaning up... Removing temporary dir c:\users\simon\appdata\local\temp\pip_build_Simon... Command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3 Exception information: Traceback (most recent call last): File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\commands\install.py", line 283, in run requirement_set.install(install_options, global_options, root=options.root_path) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\req.py", line 1435, in install requirement.install(install_options, global_options, *args, **kwargs) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\req.py", line 706, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\util.py", line 697, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3 ``` From issues-reply at bitbucket.org Thu Dec 11 19:45:29 2014 From: issues-reply at bitbucket.org (arianaut) Date: Thu, 11 Dec 2014 18:45:29 -0000 Subject: [pypy-issue] Issue #1946: curses.initscr() raises ctype TypeError (pypy/pypy) Message-ID: <20141211184529.10060.41755@app14.ash-private.bitbucket.org> New issue 1946: curses.initscr() raises ctype TypeError https://bitbucket.org/pypy/pypy/issue/1946/cursesinitscr-raises-ctype-typeerror arianaut: Python 3.2.5 (001db61e74f0, Dec 11 2014, 11:07:52) [PyPy 2.5.0-alpha0 with GCC 4.2.1 Compatible Clang 3.5.0 (tags/RELEASE_350/final)] on linux2 Type "help", "copyright", "credits" or "license" for more information. And now for something completely different: ``PyPy 1.1.0beta released: http://codespeak.net/pypy/dist/pypy/doc/release-1.1.0.html'' >>>> import curses >>>> curses.initscr() Traceback (most recent call last): File "", line 1, in File "/opt/pypy3/lib-python/3/curses/__init__.py", line 31, in initscr fd=_sys.__stdout__.fileno()) File "/opt/pypy3/lib_pypy/_curses.py", line 1131, in setupterm if lib.setupterm(term, fd, err) == lib.ERR: TypeError: initializer for ctype 'char *' must be a bytes or list or tuple, not str I am using the latest pypy revision for py3k on Arch Linux, built using https://aur.archlinux.org/packages/pypy3-hg/ From issues-reply at bitbucket.org Sat Dec 13 18:56:36 2014 From: issues-reply at bitbucket.org (larstiq) Date: Sat, 13 Dec 2014 17:56:36 -0000 Subject: [pypy-issue] Issue #1947: LANG=C ./pypy3.3 fails with maximum recursion depth exceeded (pypy/pypy) Message-ID: <20141213175636.4687.9204@app06.ash-private.bitbucket.org> New issue 1947: LANG=C ./pypy3.3 fails with maximum recursion depth exceeded https://bitbucket.org/pypy/pypy/issue/1947/lang-c-pypy33-fails-with-maximum-recursion larstiq: On my Ubuntu 14.10 64 bit setup a freshly built pypy from the py3.3 branch fails thusly: > LANG=C ./pypy-c debug: OperationError: debug: operror-type: RuntimeError debug: operror-value: maximum recursion depth exceeded debug: OperationError: debug: operror-type: AttributeError debug: operror-value: stdout Also setting LANG to a non-existing locale has this behaviour. Setting it to something that is available, say en_US.UTF-8, and it works. From issues-reply at bitbucket.org Wed Dec 17 07:06:12 2014 From: issues-reply at bitbucket.org (Unknown Name) Date: Wed, 17 Dec 2014 06:06:12 -0000 Subject: [pypy-issue] Issue #1948: Pillow installation fails on Pypy Windows (pypy/pypy) Message-ID: <20141217060612.26475.19676@app09.ash-private.bitbucket.org> New issue 1948: Pillow installation fails on Pypy Windows https://bitbucket.org/pypy/pypy/issue/1948/pillow-installation-fails-on-pypy-windows Unknown Name: I have been trying to install the Pillow module 2.6.1 (32 bit) in Pypy (2.7 compatible 32 bit) 2.4.0, on an Windows 7 64 bit machine with no success. Pip 1.5.6 works with Python 2.7.9, and installs Pillow fine, but when I use Pip in the Pypy folder, it throws out this (http://pastebin.com/vErspx6J). Installing it using easy_install and trying to run results in a "Fatal Python error: PyThreadState_Get: no current thread", and pypy crashing instantly. I have Visual C 2008 express installed. MinGW also fails on Windows, attempting it on Mac OS X with pip also fails. From issues-reply at bitbucket.org Thu Dec 18 14:40:35 2014 From: issues-reply at bitbucket.org (Jakob Reschke) Date: Thu, 18 Dec 2014 13:40:35 -0000 Subject: [pypy-issue] Issue #1949: pyrepl broken under Windows (also breaks pdb) (pypy/pypy) Message-ID: <20141218134035.16676.68082@app04.ash-private.bitbucket.org> New issue 1949: pyrepl broken under Windows (also breaks pdb) https://bitbucket.org/pypy/pypy/issue/1949/pyrepl-broken-under-windows-also-breaks Jakob Reschke: Under Windows 7 64-Bit I cannot use pdb in pypy because pyrepl tries to use its unix_console module which imports termios which is not available under Windows. The following session (paths trimmed) demonstrates the problem and contains the pypy version and the stack trace. > pypy Python 2.7.8 (f5dcc2477b97, Sep 18 2014, 14:30:11) [PyPy 2.4.0 with MSC v.1500 32 bit] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>> import pdb >>>> pdb.set_trace() --Return-- > ?[33;01m?[00m(?[36;01m1?[00m)()->None Traceback (most recent call last): File "---\pypy-2.4.0-win32\lib-python\2.7\bdb.py", line 53, in trace_dispatch return self.dispatch_return(frame, arg) File "---\pypy-2.4.0-win32\lib-python\2.7\bdb.py", line 88, in dispatch_return self.user_return(frame, arg) File "---\pypy-2.4.0-win32\lib-python\2.7\pdb.py", line 190, in user_return self.interaction(frame, None) File "---\pypy-2.4.0-win32\site-packages\pdbpp-0.7.2-py2.7.e gg\pdb.py", line 144, in interaction completer = fancycompleter.setup() File "---\pypy-2.4.0-win32\site-packages\fancycompleter-0.4- py2.7.egg\fancycompleter.py", line 288, in setup completer = Completer() File "---\pypy-2.4.0-win32\site-packages\fancycompleter-0.4- py2.7.egg\fancycompleter.py", line 163, in __init__ self.config.setup() File "---\pypy-2.4.0-win32\site-packages\fancycompleter-0.4- py2.7.egg\fancycompleter.py", line 118, in setup self.readline, supports_color = self.find_best_readline() File "---\pypy-2.4.0-win32\site-packages\fancycompleter-0.4- py2.7.egg\fancycompleter.py", line 114, in find_best_readline import readline File "---\pypy-2.4.0-win32\lib_pypy\readline.py", line 9, in from pyrepl.readline import * File "---\pypy-2.4.0-win32\lib_pypy\pyrepl\readline.py", lin e 33, in from pyrepl.unix_console import UnixConsole, _error File "---\pypy-2.4.0-win32\lib_pypy\pyrepl\unix_console.py", line 22, in import termios, select, os, struct, errno ImportError: No module named termios From issues-reply at bitbucket.org Wed Dec 24 03:55:21 2014 From: issues-reply at bitbucket.org (Dan Stromberg) Date: Wed, 24 Dec 2014 02:55:21 -0000 Subject: [pypy-issue] Issue #1950: anydbm issue in 2.4.0 that wasn't present in 2.3.1 (pypy/pypy) Message-ID: <20141224025521.14188.84130@app02.ash-private.bitbucket.org> New issue 1950: anydbm issue in 2.4.0 that wasn't present in 2.3.1 https://bitbucket.org/pypy/pypy/issue/1950/anydbm-issue-in-240-that-wasnt-present-in Dan Stromberg: The error looks like: ``` #!python /usr/local/pypy-2.4.0/bin/pypy ./test-bloom-filter --performance-test Traceback (most recent call last): File "app_main.py", line 75, in run_toplevel File "./test-bloom-filter", line 13, in import anydbm File "/usr/local/pypy-2.4.0/lib-python/2.7/anydbm.py", line 45, in _mod = __import__(_name) File "/usr/local/pypy-2.4.0/lib_pypy/gdbm.py", line 42, in ''', libraries=['gdbm']) File "/usr/local/pypy-2.4.0/lib_pypy/cffi/api.py", line 340, in verify lib = self.verifier.load_library() File "/usr/local/pypy-2.4.0/lib_pypy/cffi/verifier.py", line 73, in load_library self._write_source() File "/usr/local/pypy-2.4.0/lib_pypy/cffi/verifier.py", line 125, in _write_source file = open(self.sourcefilename, 'w') IOError: [Errno 2] No such file or directory: '/usr/local/pypy-2.4.0/lib_pypy/__pycache__/_cffi__g224bc031xf13cf229.c' make: *** [performance-numbers.db] Error 1 ``` The happens on Linux Mint 17 and Linux Mint 17.1. I've been installing pypy with a script I wrote myself, because I didn't notice any instructions about how to do it. However, I don't recall offhand if I built the 2.4.0 sources myself or just downloaded the binaries. Anyway, when I do build and install manually, I: ``` #!python 1) Copy pypy-c to pypy 2) Copy the includes 3) Copy the two library directories ``` The script that demonstrates this problem is at http://stromberg.dnsalias.org/svn/bloom-filter/trunk/ Thanks. From issues-reply at bitbucket.org Sun Dec 28 14:34:45 2014 From: issues-reply at bitbucket.org (ggg ggg) Date: Sun, 28 Dec 2014 13:34:45 -0000 Subject: [pypy-issue] Issue #1951: Pypy3 2.4.0 crashes when using ctypes.CDLL('asdf') on Windows8 x64 Chinese Language (pypy/pypy) Message-ID: <20141228133445.28950.7269@app08.ash-private.bitbucket.org> New issue 1951: Pypy3 2.4.0 crashes when using ctypes.CDLL('asdf') on Windows8 x64 Chinese Language https://bitbucket.org/pypy/pypy/issue/1951/pypy3-240-crashes-when-using-ctypescdll ggg ggg: I guess that 's because the OSError contains unicode information. Some modules seem to have the same problem. Python3.3 x64: >>> import ctypes >>> ctypes.CDLL('asdf') Traceback (most recent call last): File "", line 1, in File "C:\Python\Python3364\lib\ctypes\__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] ????????? >>> Pypy3 2.4.0 win32: >>>> import ctypes >>>> ctypes.CDLL('asdf') RPython traceback: File "pypy_goal_targetpypystandalone.c", line 2522, in entry_point File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 10979, in dispatch_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 19359, in call_function__AccessDirect_None File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 10932, in dispatch_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 19359, in call_function__AccessDirect_None File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 11085, in dispatch_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 19359, in call_function__AccessDirect_None File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 10932, in dispatch_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 18987, in CALL_FUNCTION__AccessDirect_None File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 11118, in dispatch_bytecode__AccessDirect_None File "pypy_objspace_std_callmethod.c", line 2767, in CALL_METHOD__AccessDirect_star_1 File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter File "pypy_module_pypyjit_interp_jit.c", line 107, in portal_3 File "pypy_interpreter_pyopcode.c", line 7496, in handle_bytecode__AccessDirect_None File "pypy_interpreter_pyopcode.c", line 11118, in dispatch_bytecode__AccessDirect_None File "pypy_objspace_std_callmethod.c", line 2767, in CALL_METHOD__AccessDirect_star_1 File "pypy_interpreter_pyframe.c", line 3110, in PyFrame_execute_frame File "rpython_jit_metainterp_warmspot.c", line 1143, in ll_portal_runner__Unsigned_Bool_pypy_interpreter ... Fatal RPython error: UnicodeDecodeError This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.