Closed shubhamvpandey closed 2 days ago
Hey @shubhamvpandey! π Thanks for flagging this bug! ππ
You're our superhero bug hunter! π¦ΈββοΈπ¦ΈββοΈ Before we suit up to squash this bug, could you please:
π Double-check our documentation: https://rengine.wiki π΅οΈ Make sure it's not a known issue π Provide all the juicy details about this sneaky bug
Once again - thanks for your vigilance! π οΈπ
Fixed it was Kali issue, after 20-11-2024 update I was able to install it.
Is there an existing issue for this?
Current Behavior
error while installing
Expected Behavior
reNgine is installed!!!
######################################################################### Creating an account ######################################################################### Using: docker compose COMPOSE_DOCKER_CLI_BUILD=1 docker compose -f docker-compose.yml exec web python3 manage.py createsuperuser
| | | _ _ | '/ \ . ` |/ ` | | ' \ / \ | | | / |\ | (_| | | | | | / || \|| _|_, ||| |_|_| / | |___/
pikepdf._core | pikepdf C++ to Python logger bridge initialized Traceback (most recent call last): File "/usr/src/app/manage.py", line 26, in
main()
File "/usr/src/app/manage.py", line 22, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.10/dist-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, *cmd_options)
File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/management/commands/createsuperuser.py", line 79, in execute
return super().execute(args, options)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 393, in execute
self.check()
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 419, in check
all_issues = checks.run_checks(
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 416, in check
for pattern in self.url_patterns:
File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 602, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 595, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/src/app/reNgine/urls.py", line 41, in
include('startScan.urls')),
File "/usr/local/lib/python3.10/dist-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/src/app/startScan/urls.py", line 2, in
from . import views
File "/usr/src/app/startScan/views.py", line 18, in
from reNgine.charts import
File "/usr/src/app/reNgine/charts.py", line 5, in
from plotly.io import to_image
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/_plotly_utils/importers.py", line 36, in getattr
class_module = importlib.import_module(rel_module, parent_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.10/dist-packages/plotly/io/_kaleido.py", line 10, in
scope = PlotlyScope()
File "/usr/local/lib/python3.10/dist-packages/kaleido/scopes/plotly.py", line 64, in init
elif "snap" in path:
TypeError: argument of type 'NoneType' is not iterable
make: [Makefile:36: username] Error 1
Using: docker compose
COMPOSE_DOCKER_CLI_BUILD=1 docker compose -f docker-compose.yml exec web python3 manage.py migrate
| | | _ _ | '/ \ . ` |/ ` | | ' \ / \ | | | / |\ | (_| | | | | | / || \|| _|_, ||| |_|_| / | |___/
pikepdf._core | pikepdf C++ to Python logger bridge initialized Traceback (most recent call last): File "/usr/src/app/manage.py", line 26, in
main()
File "/usr/src/app/manage.py", line 22, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.10/dist-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, cmd_options)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, *options)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 89, in wrapped
res = handle_func(args, kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/core/management/commands/migrate.py", line 75, in handle
self.check(databases=[database])
File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 419, in check
all_issues = checks.run_checks(
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/usr/local/lib/python3.10/dist-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 416, in check
for pattern in self.url_patterns:
File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 602, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 595, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/src/app/reNgine/urls.py", line 41, in
include('startScan.urls')),
File "/usr/local/lib/python3.10/dist-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/src/app/startScan/urls.py", line 2, in
from . import views
File "/usr/src/app/startScan/views.py", line 18, in
from reNgine.charts import *
File "/usr/src/app/reNgine/charts.py", line 5, in
from plotly.io import to_image
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/_plotly_utils/importers.py", line 36, in getattr
class_module = importlib.import_module(rel_module, parent_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.10/dist-packages/plotly/io/_kaleido.py", line 10, in
scope = PlotlyScope()
File "/usr/local/lib/python3.10/dist-packages/kaleido/scopes/plotly.py", line 64, in init
elif "snap" in path:
TypeError: argument of type 'NoneType' is not iterable
make: *** [Makefile:43: migrate] Error 1
Thank you for installing reNgine, happy recon!! In case you have unapplied migrations (see above in red), run 'make migrate'
Steps To Reproduce
run ./install file
Environment
Anything else?
No response