Open AlJohri opened 8 years ago
I run into this error message from the Dockerfile above. http://bugs.jython.org/issue2333
NotImplementedError: passwd.pw_passwd unimplemented
Jython still works as expected.
Full Traceback:
Traceback (most recent call last):
File "/usr/local/jython-2.7.0/Lib/runpy.py", line 161, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/jython-2.7.0/Lib/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/jython-2.7.0/Lib/ensurepip/__main__.py", line 4, in <module>
ensurepip._main()
File "/usr/local/jython-2.7.0/Lib/ensurepip/__init__.py", line 220, in _main
bootstrap(
File "/usr/local/jython-2.7.0/Lib/ensurepip/__init__.py", line 123, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/usr/local/jython-2.7.0/Lib/ensurepip/__init__.py", line 45, in _run_pip
import pip
File "/tmp/tmp2azRqv/pip-1.6-py2.py3-none-any.whl/pip/__init__.py", line 10, in <module>
File "/tmp/tmp2azRqv/pip-1.6-py2.py3-none-any.whl/pip/util.py", line 17, in <module>
File "/tmp/tmp2azRqv/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 109, in <module>
File "/tmp/tmp2azRqv/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 71, in _get_build_prefix
File "/tmp/tmp2azRqv/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 66, in __get_username
File "/usr/local/jython-2.7.0/Lib/pwd.py", line 60, in getpwuid
return struct_passwd(entry)
File "/usr/local/jython-2.7.0/Lib/pwd.py", line 36, in __new__
pwd = (newStringOrUnicode(pwd.loginName), newStringOrUnicode(pwd.password), int(pwd.UID),
NotImplementedError: passwd.pw_passwd unimplemented
100 %
Congratulations! You successfully installed Jython 2.7.0 to directory /usr/local/jython-2.7.0.
There is a bug with certain versions of jython and java (some info here http://python.6.x6.nabble.com/Jython-compatibility-with-Java8-td5061189.html ).
It looks like you forked this repo, made some fundamental changes in the base docker images? This problem is not related to any branch in this repo.
I will bring my current Docker stack up to date, and see if the error occurs. I will not troubleshoot gliderlabs/alpine.
@seansummers I was just dropping a note since I saw the comment in the README
If there's an interest for alpine-jython, I'll update tags for it.
Yes, I've queued up the updates. Just not going to have gliderlabs/alpine in them.
Dockerfile using alpine: