Extension Vdojstats


Extension Basics

Title
Vdojstats
Name
ckanext-vdojstats
Type
Core extension
Description
The **vdojstats** extension for CKAN provides functionality to export data and display statistics r
CKAN versions

~1.5, ~2.11

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
8 years ago (2017-02-10 02:11:08)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

Requirement

installment of the pdf liburaries

pip install -r pip-requirements.txt

tweaking for xhtml2pdf with reportlab 3.0

  1. open file /usr/lib/ckan/default/local/lib/python2.7/site-packages/xhtml2pdf/util.py”, line 39, in
  2. 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”)

  3. add the below:

    if not (reportlab.Version[:3]>=”2.1”):

    raise ImportError(“Reportlab Version 2.1+ is needed!”)

    REPORTLAB22 = (reportlab.Version[:3]>=”2.1”)

Configuration

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
Version
1.0
Version release date
2014-05-05
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
vdojstats
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions