mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 00:25:51 +03:00
[GH-ISSUE #285] Insecure key file permissions #226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amarc on GitHub (Apr 17, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/285
Hello,
durring install process I hang on ./manage.py collectstatic with following error:
WARNING:root:No local_settings file found.
Traceback (most recent call last):
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib64/python3.3/site-packages/django/core/management/init.py", line 453, in execute_from_command_line
utility.execute()
File "/usr/lib64/python3.3/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib64/python3.3/site-packages/django/core/management/init.py", line 263, in fetch_command
app_name = get_commands()[subcommand]
File "/usr/lib64/python3.3/site-packages/django/core/management/init.py", line 109, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib64/python3.3/site-packages/django/conf/init.py", line 53, in getattr
self._setup(name)
File "/usr/lib64/python3.3/site-packages/django/conf/init.py", line 48, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib64/python3.3/site-packages/django/conf/init.py", line 132, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib64/python3.3/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/var/www/webvirt/webvirtmgr/webvirtmgr/settings.py", line 163, in
'.secret_key_store'))
File "/var/www/webvirt/webvirtmgr/webvirtmgr/utils/secret_key.py", line 61, in generate_or_read_from_file
raise FilePermissionError("Insecure key file permissions!")
webvirtmgr.utils.secret_key.FilePermissionError: Insecure key file permissions!
While distro is not Red Hat/ Ubuntu all required packages are installed. Can you give me a hint what might cause this error ?
ty.
@schmitch commented on GitHub (Apr 17, 2014):
Currently I don't fix this. Since Python3 isn't supported anyways.
Just use Python2
@amarc commented on GitHub (Apr 18, 2014):
Hi,
that would be great thank you.
A.