[Qgis-community-team] Fwd: feed update error
Richard Duivenvoorde
rdmailings at duif.net
Sat Jul 16 01:22:25 PDT 2016
-------- Forwarded Message --------
Subject: feed update error
Date: Sat, 2 Jul 2016 11:07:59 +0200
From: Richard Duivenvoorde <richard at duif.net>
To: Tim Sutton <tim at kartoza.com>, Alessandro Pasotti
<apasotti at gmail.com>, Akbar Gumbira <akbargumbira at gmail.com>
Gents,
currently the feeds on planet are not being updated:
http://planet.qgis.org/planet/feed/atom/
If I'm correct (but I'm not sure!) in the django app/server there is a
script update_planet.sh which should be ran every ... time.
So I ssh'd in container and (see below)
Did the container maybe change logging: or renamed a setting?
Richard
plugins at 320558c5528b:~/QGIS-Django$ cat update_planet.sh
cd /home/plugins/QGIS-Django/qgis-app
# Run feedjack_update.py to update the planet postings
SITE_DIR=/home/plugins/QGIS-Django/qgis-app
source /home/plugins/.virtualenvs/plugins/bin/activate
# set up the environment
export PYTHONPATH=$SITE_DIR:$SITE_DIR
export DJANGO_SETTINGS_MODULE=settings
# update the feeds
/home/plugins/.virtualenvs/plugins/bin/feedjack_update.py
plugins at 320558c5528b:~/QGIS-Django$ cd /home/plugins/QGIS-Django/qgis-app
plugins at 320558c5528b:~/QGIS-Django/qgis-app$
SITE_DIR=/home/plugins/QGIS-Django/qgis-app
plugins at 320558c5528b:~/QGIS-Django/qgis-app$ source
/home/plugins/.virtualenvs/plugins/bin/activate
(plugins)plugins at 320558c5528b:~/QGIS-Django/qgis-app$ export
PYTHONPATH=$SITE_DIR:$SITE_DIR
(plugins)plugins at 320558c5528b:~/QGIS-Django/qgis-app$ export
DJANGO_SETTINGS_MODULE=setting
(plugins)plugins at 320558c5528b:~/QGIS-Django/qgis-app$
/home/plugins/.virtualenvs/plugins/bin/feedjack_update.py
Traceback (most recent call last):
File "/home/plugins/.virtualenvs/plugins/bin/feedjack_update.py", line
508, in <module>
main()
File "/home/plugins/.virtualenvs/plugins/bin/feedjack_update.py", line
459, in main
django.setup()
File
"/home/plugins/.virtualenvs/plugins/local/lib/python2.7/site-packages/django/__init__.py",
line 17, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File
"/home/plugins/.virtualenvs/plugins/local/lib/python2.7/site-packages/django/conf/__init__.py",
line 48, in __getattr__
self._setup(name)
File
"/home/plugins/.virtualenvs/plugins/local/lib/python2.7/site-packages/django/conf/__init__.py",
line 44, in _setup
self._wrapped = Settings(settings_module)
File
"/home/plugins/.virtualenvs/plugins/local/lib/python2.7/site-packages/django/conf/__init__.py",
line 92, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named setting
More information about the Qgis-community-team
mailing list