Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X Mavericks, pyenv, pypy 2.3.1 조합에서 bin/warara.server.py 도 manage.py runserver 도 실패 #6

Open
combacsa opened this issue Jul 28, 2014 · 0 comments

Comments

@combacsa
Copy link
Contributor

OS X Mavericks, pyenv, pypy 2.3.1 환경에서 python manage.py runserver 하면 ... PyCharm 에서는 다음과 같은 결과가 나온다.

/Users/user/.pyenv/versions/arara_pypy-2.3.1/bin/python /Users/user/workspace/arara/manage.py

Process finished with exit code 127

그렇다고 python bin/warara_server.py 하면, 웹 브라우져에서 포트에 접근하는 순간 또 이런 결과가 나온다.

Opening ARAra Web Frontend on port 8000 ...
Traceback (most recent call last):
  File "app_main.py", line 75, in run_toplevel
  File "bin/warara_server.py", line 41, in <module>
    server.start()
  File "/Users/user/workspace/arara/bin/thirdparty/wsgiserver.py", line 1392, in start
    self.tick()
  File "/Users/user/workspace/arara/bin/thirdparty/wsgiserver.py", line 1448, in tick
    conn = self.ConnectionClass(s, self.wsgi_app, environ)
  File "/Users/user/workspace/arara/bin/thirdparty/wsgiserver.py", line 966, in __init__
    self.rfile = CP_fileobject(sock, "rb", self.rbufsize)
  File "/Users/user/.pyenv/versions/pypy-2.3.1/lib-python/2.7/socket.py", line 300, in __init__
    sock._reuse()
AttributeError: '_socketobject' object has no attribute '_reuse'

마땅한 검색 결과가 나오지 않으니 답답. wsgiserver 는 사실 CherryPy 의 fork 인데 이걸 교체하면 해결될까? 하지만 여전히 manage.py 가 실행되지 않는 문제의 미스테리는 풀리지 않을 듯.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant