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

During Installation: Secret Key not recognized #6912

Open
funktionierbar opened this issue Oct 24, 2020 · 0 comments
Open

During Installation: Secret Key not recognized #6912

funktionierbar opened this issue Oct 24, 2020 · 0 comments

Comments

@funktionierbar
Copy link

Steps to reproduce:

Followed the Installation instructions on Ubuntu 18.04. with following differences:

first I installed all dependecies

sudo mkdir /var/www/pootle
cd /var/www/pootle
virtualenv env
source env/bin/activate
sudo pip install --pre Pootle
sudo pootle init --db mysql --db-name pootle --db-user pootle --config /var/www/pootle/env/pootle.conf
sudo nano'ed the above conf file and input the mysql-user-password, checked the secret-key, is present and has correct length
sudo pootle rqworker &

all working well, with exception to the note that python2.7 is deprecated.

Results (Expected/Actual):

expected: rqworker starting
actual:

Traceback (most recent call last):
File "/usr/local/bin/pootle", line 11, in
load_entry_point('Pootle==2.8.2', 'console_scripts', 'pootle')()
File "/usr/local/lib/python2.7/dist-packages/pootle/runner.py", line 357, in main
run_app(project='pootle', django_settings_module='pootle.settings')
File "/usr/local/lib/python2.7/dist-packages/pootle/runner.py", line 312, in run_app
caches = settings.CACHES.keys()
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 53, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 116, in init
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Environment (i.e. 'pootle --version', DB, OS, Browser):

pootle --version
Pootle 2.8.2 (Django 1.10.8, Translate Toolkit 2.2.5)

When I try "pootle migrate" the same error is shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant