grapheneX / grapheneX

Automated System Hardening Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipenv Timeout

HumanG33k opened this issue · comments

Describe the bug
Can’t try with the without install method

Log Messages
Tell us what make you face this issue.
Provide log messages if you get them when the error occur.
Also reproduction steps would be helpful for us to understand the situation.

$pipenv install
Creating a virtualenv for this project…
Using /usr/bin/python3.7m (3.7.4) to create virtualenv…
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/expect.py", line 96, in expect_loop
    return self.timeout()
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/expect.py", line 70, in timeout
    raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7fe19277b610>
searcher: searcher_re:
    0: EOF

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 366, in install
    selective_upgrade=selective_upgrade,
  File "/usr/lib/python3/dist-packages/pipenv/core.py", line 1761, in do_install
    skip_requirements=skip_requirements,
 File "/usr/lib/python3/dist-packages/pipenv/core.py", line 606, in ensure_project
    three=three, python=python, site_packages=site_packages
  File "/usr/lib/python3/dist-packages/pipenv/core.py", line 555, in ensure_virtualenv
    do_create_virtualenv(python=python, site_packages=site_packages)
  File "/usr/lib/python3/dist-packages/pipenv/core.py", line 962, in do_create_virtualenv
    click.echo(crayons.blue(c.out), err=True)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/delegator.py", line 99, in out
    self.__out = self._pexpect_out
  File "/usr/lib/python3/dist-packages/pipenv/vendor/delegator.py", line 87, in _pexpect_out
    result += self.subprocess.read()
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/spawnbase.py", line 427, in read
    self.expect(self.delimiter)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/spawnbase.py", line 327, in expect
    timeout, searchwindowsize, async_)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/spawnbase.py", line 355, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/expect.py", line 106, in expect_loop
    return self.timeout(e)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pexpect/expect.py", line 70, in timeout
    raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7fe19277b610>
searcher: searcher_re:
    0: EOF
<pexpect.popen_spawn.PopenSpawn object at 0x7fe19277b610>
searcher: searcher_re:
    0: EOF

Expected behavior
Should setup the env

Desktop (please complete the following information):

  • OS: Debian current testing
  • Version 11

Additional context
pipenv come from the debian repository

Checkout this pypa/pipenv#65