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

error during ./start on 4.13.10-1kali2 #21

Open
shellchocolat opened this issue Jul 12, 2018 · 4 comments
Open

error during ./start on 4.13.10-1kali2 #21

shellchocolat opened this issue Jul 12, 2018 · 4 comments

Comments

@shellchocolat
Copy link

./install.sh seems fine:

No GOPATH detected, creating temporary GOPATH at /root/Github/pappy-proxy/gopath
Already up to date.
Getting puppy dependencies...
Building puppy into /root/.pappy/puppy...
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /root/.pappy/venv/bin/python3
Not overwriting existing python script /root/.pappy/venv/bin/python (you must use /root/.pappy/venv/bin/python3)
Installing setuptools, pip, wheel...done.
Obtaining file:///root/Github/pappy-proxy
Requirement already satisfied: cmd2>=0.6.8 in /root/.pappy/venv/lib/python3.6/site-packages (from pappyproxy==0.3.1) (0.9.2)
Requirement already satisfied: Jinja2>=2.8 in /root/.pappy/venv/lib/python3.6/site-packages (from pappyproxy==0.3.1) (2.10)
Requirement already satisfied: pygments>=2.0.2 in /root/.pappy/venv/lib/python3.6/site-packages (from pappyproxy==0.3.1) (2.2.0)
Requirement already satisfied: pyperclip>=1.5.27 in /root/.pappy/venv/lib/python3.6/site-packages (from cmd2>=0.6.8->pappyproxy==0.3.1) (1.6.2)
Requirement already satisfied: colorama in /root/.pappy/venv/lib/python3.6/site-packages (from cmd2>=0.6.8->pappyproxy==0.3.1) (0.3.9)
Requirement already satisfied: wcwidth; sys_platform != "win32" in /root/.pappy/venv/lib/python3.6/site-packages (from cmd2>=0.6.8->pappyproxy==0.3.1) (0.1.7)
Requirement already satisfied: MarkupSafe>=0.23 in /root/.pappy/venv/lib/python3.6/site-packages (from Jinja2>=2.8->pappyproxy==0.3.1) (1.0)
Installing collected packages: pappyproxy
  Found existing installation: pappyproxy 0.3.1
    Uninstalling pappyproxy-0.3.1:
      Successfully uninstalled pappyproxy-0.3.1
  Running setup.py develop for pappyproxy
Successfully installed pappyproxy

Pappy installed. Run pappy by executing the generated "start" script.

But there is an issue when .start

Traceback (most recent call last):
  File "/root/.pappy/venv/bin/pappy", line 11, in <module>
    load_entry_point('pappyproxy', 'console_scripts', 'pappy')()
  File "/root/Github/pappy-proxy/pappyproxy/pap.py", line 142, in start
    main()
  File "/root/Github/pappy-proxy/pappyproxy/pap.py", line 134, in main
    interface_loop(client)
  File "/root/Github/pappy-proxy/pappyproxy/console.py", line 32, in interface_loop
    cons.cmdloop()
  File "/root/.pappy/venv/lib/python3.6/site-packages/cmd2/cmd2.py", line 3052, in cmdloop
    parser = argparse.ArgumentParser()
  File "/usr/lib/python3.6/argparse.py", line 1631, in __init__
    prog = _os.path.basename(_sys.argv[0])
IndexError: list index out of range
@hook-s3c
Copy link

hook-s3c commented Oct 7, 2018

also having this issue

@SimoneRaponi
Copy link

I'm having the same issue, in Ubuntu 18.04.1 LTS.
Has anyone solved the problem?

@Holzhaus
Copy link

Also having this issue on Arch Linux.

@Holzhaus
Copy link

Looks like line 31 in pappyproxy/console.py is culprit. If you comment that one out, the error goes away.

Holzhaus added a commit to Holzhaus/pappy-proxy that referenced this issue Nov 20, 2018
Holzhaus added a commit to Holzhaus/pappy-proxy that referenced this issue Nov 20, 2018
Holzhaus added a commit to Holzhaus/pappy-proxy that referenced this issue Nov 20, 2018
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

4 participants