Failed to launch on Kali Linux
See original GitHub issueAfter cloning the repo, starting the server manually, and python setup.py develop, owtf command is reporting error.
Expected Behavior
Running properly
Current Behavior
Not running and error is reported
Possible Solution
run python setup.py develop again and see two lines of error:
Collecting black==18.4a3
Could not find a version that satisfies the requirement black==18.4a3 (from versions: )
No matching distribution found for black==18.4a3
error /root/owtf/owtf/webapp/node_modules/pngquant-bin: Command failed.
Exit code: 1
Not sure if this is the problem. Also, could be a database related problem since the error reported is a SQL instruction.
[SQL: 'SELECT DISTINCT plugins."group" AS plugins_group \nFROM plugins']
Steps to Reproduce (for bugs)
- Clone the repo
- Start pgsql with
sudo systemctl enable postgresql - Create user with
sudo su postgres -c "psql -c \"CREATE USER $db_user WITH PASSWORD '$db_pass'\"", user name isexport db_user="owtf_db_user", pass isexport db_pass="jgZKW33Q+HZk8rqylZxaPg1lbuNGHJhgzsq3gBKV32g=" - Create database with
sudo su postgres -c "psql -c \"CREATE DATABASE $db_name WITH OWNER $db_user ENCODING 'utf-8' TEMPLATE template0;\"", database name isexport db_name="owtf_db" owtf, which reports error
Logs
owtf_review:
[DEBUG] [2019-03-11 12:37:57,457] [File 'worker.py', line 100, in spawn_worker] - Adding a new worker
[DEBUG] [2019-03-11 12:37:57,466] [File 'worker.py', line 100, in spawn_worker] - Adding a new worker
The error reported is here
Context
It would be great if it can launch:)
Your Environment
- Linux kali 4.19.0-kali3-amd64 #1 SMP Debian 4.19.20-1kali1 (2019-02-14) x86_64 GNU/Linux
- Up-to-date branch
- pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Kali Linux Failed to launch preferred application for category ...
3 Answers 3 · Right click the terminal launcher icon on your task bar. · In the resulting dialog, there should be a...
Read more >Troubleshooting Installations Failures - Kali Linux
There can be a wide variety of reasons for a Kali Linux installation to fail. This could include issues such as a corrupt...
Read more >Failed to launch! : r/Kalilinux - Reddit
Go to applications and search for qterminal and open QTerminal. This will open a terminal. Type sudo apt install xfce4-settings , hit enter, ......
Read more >failed to launch preferred application for category ...
Step 1. Go to applications and search for qterminal and open QTerminal. This will open a terminal. Step 2.
Read more >Not able to launch anything - Linux.org
Hello, I am very very new to linux and just got kali installed ... "Failed to launch preferred application for category 'TerminalEmulator'.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This should be fixed in https://github.com/owtf/owtf/commit/79d955694859036e194f90b6e0f594a84ae0114e.
git pull origin develop && python setup.py developshould fix existing installations. There was a regression in a previous commit which introduced some refactoring in the database session handling.I don’t think you need Kali to test it out. I’m trying to make OWTF to be available on all platforms through Docker.
On Wed, Mar 27, 2019 at 03:15 Sachin S. Kamath notifications@github.com wrote: