question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to launch on Kali Linux

See original GitHub issue

After 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)

  1. Clone the repo
  2. Start pgsql with sudo systemctl enable postgresql
  3. Create user with sudo su postgres -c "psql -c \"CREATE USER $db_user WITH PASSWORD '$db_pass'\"", user name is export db_user="owtf_db_user", pass is export db_pass="jgZKW33Q+HZk8rqylZxaPg1lbuNGHJhgzsq3gBKV32g="
  4. Create database with sudo su postgres -c "psql -c \"CREATE DATABASE $db_name WITH OWNER $db_user ENCODING 'utf-8' TEMPLATE template0;\"", database name is export db_name="owtf_db"
  5. 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
viyatbcommented, Mar 28, 2019

This should be fixed in https://github.com/owtf/owtf/commit/79d955694859036e194f90b6e0f594a84ae0114e. git pull origin develop && python setup.py develop should fix existing installations. There was a regression in a previous commit which introduced some refactoring in the database session handling.

1reaction
viyatbcommented, Mar 27, 2019

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:

@viyatb https://github.com/viyatb I don’t have access to Kali right now. Let me try a VM.

But I don’t see why the operating system is a dependency here. It looks like the table schema is not being populated somehow.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/owtf/owtf/issues/1014#issuecomment-477078920, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWMSazYFj2UOMstR0WXm0vl_dvkdag0ks5va0TPgaJpZM4bpELE .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found