pip install -r pip-requirements.txt
- open file /usr/lib/ckan/default/local/lib/python2.7/site-packages/xhtml2pdf/util.py", line 39, in
- comment out the below:
if not (reportlab.Version[0] == "2" and reportlab.Version[2] >= "1"):
raise ImportError("Reportlab Version 2.1+ is needed!")
REPORTLAB22 = (reportlab.Version[0] == "2" and reportlab.Version[2] >= "2")
- add the below:
if not (reportlab.Version[:3]>="2.1"):
raise ImportError("Reportlab Version 2.1+ is needed!")
REPORTLAB22 = (reportlab.Version[:3]>="2.1")
Add the below anywhere after the declaration of 'ckan.site_id' into your init file, such as development.ini, production.ini
- #vdojstats
- vdojstats.export_dir = /tmp/export/%(ckan.site_id)s/
- vdojstats.export_header = Victoria DoJ