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

mobsf: venv failure #2335

Closed
noraj opened this issue May 9, 2019 · 4 comments
Closed

mobsf: venv failure #2335

noraj opened this issue May 9, 2019 · 4 comments
Labels
status::WIP Work In Progress

Comments

@noraj
Copy link
Contributor

noraj commented May 9, 2019

Bug description

$ mobsf -h          
run.sh: line 5: venv/bin/activate: No such file or directory

$ which mobsf
/usr/bin/mobsf

$ head /usr/bin/mobsf
#!/bin/sh
cd /usr/share/mobsf
exec bash run.sh

$ head -6 /usr/share/mobsf/run.sh 
#!/bin/bash
# Dev Server
#. venv/bin/activate && python manage.py runserver
# Prod Server
. venv/bin/activate && gunicorn -b 0.0.0.0:8000 MobSF.wsgi:application --workers=1 --timeout=1800

But there is no venv or .venv directory.

It may remember we changed something about virtualenv for this package.

Steps to reproduce

  • Install
  • Launch

Info for developers

GNU/Linux distribution: ArchLinux + BA repo
Tool version: blackarch/mobsf 1:866.a900c9d-1

@Edu4rdSHL
Copy link
Contributor

Edu4rdSHL commented May 15, 2019

We need that https://github.com/kennethreitz/requests/issues/5067 will be fixed first.

I got it when trying to fix and running testing with blackarch-devtools.

[2019-05-15 02:20:06 +0000] [26797] [INFO] Starting gunicorn 19.9.0
[2019-05-15 02:20:06 +0000] [26797] [INFO] Listening at: http://0.0.0.0:8000 (26797)
[2019-05-15 02:20:06 +0000] [26797] [INFO] Using worker: sync
[2019-05-15 02:20:06 +0000] [26800] [INFO] Booting worker with pid: 26800
/usr/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
[2019-05-15 02:20:06 +0000] [26797] [INFO] Shutting down: Master
[2019-05-15 02:20:06 +0000] [26797] [INFO] Reason: Worker failed to boot.

@Edu4rdSHL Edu4rdSHL added the status::WIP Work In Progress label May 15, 2019
@pwnfoo
Copy link
Member

pwnfoo commented May 20, 2019

@Edu4rdSHL That issue is now fixed

@Edu4rdSHL
Copy link
Contributor

Thanks, we are closing it when the package got bumped.

@ghost
Copy link

ghost commented Jul 25, 2019

Successfully bumped :p

@ghost ghost closed this as completed Jul 25, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status::WIP Work In Progress
Projects
None yet
Development

No branches or pull requests

3 participants