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

Trouble in process build !! #75

Open
NetiSHTer22 opened this issue Apr 22, 2022 · 2 comments
Open

Trouble in process build !! #75

NetiSHTer22 opened this issue Apr 22, 2022 · 2 comments
Labels
bug Something isn't working python Pull requests that update Python code

Comments

@NetiSHTer22
Copy link

C:\Users\PC_NAME\sarenka>python3 sarenka\sarenka.py
!!! It is in develop mode !!!
Do you really want to build application?
Proceed (y/n): y
❤ Creating databases for Common Weakness Enumeration
❤ Removes folder with old databases for CWE ids
❤ Folder cwe database files in C:\Users\PC_NAME\sarenka\sarenka\backend\backend\cwe_databases for 'api_vulnerabilities' application created.
command: python C:\Users\PC_NAME\sarenka\sarenka\backend\manage.py migrate api_vulnerabilities --database=cwe_none
python: can't open file 'C:\Users\PC_NAME': [Errno 2] No such file or directory
Traceback (most recent call last):
File "sarenka\sarenka.py", line 293, in
sarenka_command.build()
File "sarenka\sarenka.py", line 285, in build
self.builder.run()
File "sarenka\sarenka.py", line 266, in run
self.__create_cwes_databases_files()
File "sarenka\sarenka.py", line 219, in __create_cwes_databases_files
self.helper.run_command(command)
File "sarenka\sarenka.py", line 77, in run_command
raise SarenkaBuildError(f"Error while executing command {command}")
main.SarenkaBuildError: Error while executing command python C:\Users\PC_NAME\sarenka\sarenka\backend\manage.py migrate api_vulnerabilities --database=cwe_none

C:\Users\PC_NAME\sarenka>

Can you help me ?

@bigverm23
Copy link

same issue today

@PhillMoran
Copy link

  1. Make sure that sqlite is installed and in your path
  2. There are 2 commands in sarenka.py that refer to 'python' either update them to python3 or other method you prefer...
    search for python - you'll see them...

@KTZgraph KTZgraph added bug Something isn't working python Pull requests that update Python code labels Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

4 participants