You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipenv install --dev returns error: TypeError: must be encoded string without NULL bytes, not str
Expected result
For the packages to be installed.
Actual result
hostA(master)>pip --version
pip 18.1 from /project/python2.7.1/lib/python2.7/site-packages/pip (python 2.7)
hostA(master)>pipenv --version
pipenv, version 2018.10.13
hostA(master)>pipenv install --dev
Installing dependencies from Pipfile.lock (beebde)…
Traceback (most recent call last):▉▉▉▉▉ 0/15 — 00:00:00
File "/project/python2.7.1/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/cli/command.py", line 249, in install
editable_packages=state.installstate.editables,
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/core.py", line 1976, in do_install
skip_lock=skip_lock,
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/core.py", line 1283, in do_init
pypi_mirror=pypi_mirror,
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/core.py", line 784, in do_install_dependencies
trusted_hosts=trusted_hosts
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/core.py", line 1435, in pip_install
c = delegator.run(pip_command, block=block, env=pip_config)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/delegator.py", line 317, in run
c.run(block=block, binary=binary, cwd=cwd, env=env)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/delegator.py", line 198, in run
s = PopenSpawn(self._popen_args, **pexpect_kwargs)
File "/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/pexpect/popen_spawn.py", line 53, in __init__
self.proc = subprocess.Popen(cmd, **kwargs)
File "/project/python2.7.1/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/project/python2.7.1/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
TypeError: must be encoded string without NULL bytes, not str
/project/python2.7.1/lib/python2.7/site-packages/pipenv/vendor/vistir/compat.py:109: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/pipenv-f6EEoh-requirements'>
warnings.warn(warn_message, ResourceWarning)
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/15 — 00:00:00
I think I have a fix for this as well, but yeah the Resource warning thing seems odd. I want to get that nailed down. Thanks for the report, I'll close just for the sake of consolidating
Issue description
pipenv install --dev
returns error:TypeError: must be encoded string without NULL bytes, not str
Expected result
For the packages to be installed.
Actual result
$ pipenv --support
Pipenv version:
'2018.10.13'
Pipenv location:
'/project/python2.7.1/lib/python2.7/site-packages/pipenv'
Python location:
'/project/python2.7.1/bin/python2.7'
Python installations found:
2.6.6
:/usr/bin/python
2.7.1
:/app/python/.sys/@sys/2.7.1/RHEL64/bin/python2.7
2.7.1
:/project/python2.7.1/bin/python2.7
2.7.1
:/app/python/.sys/@sys/2.7.1/RHEL64/bin/python
2.6.6
:/usr/bin/python2.6
2.7.1
:/project/python2.7.1/bin/python
PEP 508 Information:
System environment variables:
PYTHONDONTWRITEBYTECODE
LAST_GIT_REPO
SHELL
PROJ_NR
MANPATH
LOG_DIR
VENDOR
PYTHONPATH
JAVA_TOOL_OPTIONS
HOSTNAME
ARC_ENV
MAIL
LS_COLORS
C_INCLUDE_PATH
SSH_ASKPASS
GROUP
LESSOPEN
MACHTYPE
CPLUS_INCLUDE_PATH
CVS_RSH
USER
LD_LIBRARY_PATH
EDITOR
tigPATH
RELEASE_MODULE
PIP_PYTHON_PATH
LS_OPTIONS
firefoxPATH
MODULEPATH
SSH_CONNECTION
KERNEL_CHECK
WRAPPERFORCEDOS
PIP_SHIMS_BASE_MODULE
LC_TIME
_LMFILES_
KERNEL_VERSION
REMOTEHOST
PKG_CONFIG_PATH
DEFGROUP
HOME
DISPLAY
LANG
LIBRARY_PATH
LMOD_SYSTEM_NAME
ARC_OS_DETECT
OSTYPE
CCHOME
SITE
HOST
LC_MESSAGES
SSH_TTY
LC_COLLATE
ARC_RELEASE
WINEDITOR
HOSTTYPE
PROJECT_MODULE
SSH_CLIENT
JENKINS_URL
LOGNAME
PATH
TERM
ARCRELEASE
COBBLER_SERVER
ARCPROJECT
CCASE_BLD_UMASK
SITE_DEF_CC
LOADEDMODULES
PWD
NPM_CONFIG_PREFIX
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/project/bin:/project/python2.7.1/bin:/project/npm-global-package/bin:/project/jre1.8.0_74/bin:/project/node-v8.9.1-linux-x64/global-packages/bin:/app/vbuild/RHEL6-x86_64/firefox/57.0.4:/app/python/2.7.1/RHEL64/bin:/app/vbuild/RHEL6-x86_64/git/2.12.2/bin:/app/vbuild/RHEL6-x86_64/git/2.12.2/libexec/git-core:/app/kdiff3/0.9.96/RHEL64:/opt/quest/bin:/home/yesbox/.afs/0/rbin:/home/yesbox/.afs/0/pbin:/home/yesbox/.afs/0/ibin:/usr/afsws/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin
SHELL
:/bin/tcsh
EDITOR
:emacs
LANG
:en_US.utf8
PWD
:/home/yesbox/repo
Contents of
Pipfile
('/home/yesbox/repo/Pipfile'):Contents of
Pipfile.lock
('/home/yesbox/repo/Pipfile.lock'):The text was updated successfully, but these errors were encountered: