Package: planet-venus Version: 0~git9de2109-3 Severity: important Tags: patch
If I follow the instructions on the Debian wiki to setup Planet, I get this error: INFO:planet.runner:Loading cached data Traceback (most recent call last): File "/usr/bin/planet", line 158, in <module> splice.apply(doc.toxml('utf-8')) File "/usr/lib/python2.7/dist-packages/planet/splice.py", line 142, in apply output_file = shell.run(template_file, doc) File "/usr/lib/python2.7/dist-packages/planet/shell/__init__.py", line 66, in run module.run(template_resolved, doc, output_file, options) File "/usr/lib/python2.7/dist-packages/planet/shell/dj.py", line 21, in run from django.conf import settings ImportError: No module named django.conf It seems that Django is a hard runtime dependency of planet Venus, or at least the way it is setup on Debian Planet. It is merely a "Suggests" in the control file, I recomment moving it to Depends or at least Recommends. I am not sure how this is expected to work without the template parser, really... Trivial patch: =================================================================== --- control (révision 13218) +++ control (copie de travail) @@ -16,8 +16,10 @@ Depends: ${python:Depends}, ${misc:Depends}, python-chardet, python-html5lib, python-htmltmpl, python-httplib2, python-librdf, python-libxml2, python-utidylib, python-portalocker, python-feedparser + , python-django + , python-genshi Recommends: python-libxslt1, python-beautifulsoup -Suggests: python-django, python-genshi, python-lxml +Suggests: python-lxml Conflicts: drscheme, plt-scheme, planet Description: aggregate feed generator Planet Venus downloads news feeds published by web sites and A. -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages planet-venus depends on: ii python 2.7.9-1 ii python-chardet 2.3.0-1 ii python-feedparser 5.1.3-3 ii python-html5lib 0.999-3 ii python-htmltmpl 1.22-10 ii python-httplib2 0.9+dfsg-2 ii python-librdf 1.0.17.1+dfsg-1.1+b1 ii python-libxml2 2.9.1+dfsg1-5+deb8u1 ii python-portalocker 0.5.1-1 ii python-utidylib 0.2-9 Versions of packages planet-venus recommends: ii python-beautifulsoup 3.2.1-1 ii python-libxslt1 1.1.28-2+b2 Versions of packages planet-venus suggests: ii python-django 1.7.7-1+deb8u4 ii python-genshi 0.7-3 ii python-lxml 3.4.0-1 -- no debconf information