openresearchdata / ckanext-ord-hierarchy Goto Github PK
View Code? Open in Web Editor NEWAn extension to add a hierarchical structure to datasets
An extension to add a hierarchical structure to datasets
Hi everyone.
I've installed the ckan-ord-hierarchy plugin following the procedures and after restart CKAN I didn't identify any changes in CKAN.
How can I create an hierarchical dependency between datasets?
"ckan_version": "2.8.1"
Hi,
I would like to use this extension to make a dataset tree.
I read all the program and i still haven't found the mistake.
I don't understand why the extension show only one dataset in the "sub-levels" category in spite of having 2 or more dataset in this category (for every dataset rank).
I verified it and all my dataset are linked by parent/child relationships.
Thanks you for your answer !
I have previously installed the Relations extension, and it is working.
I am trying to install this extension, to visualize the relations.
Here are the steps I followed:
/usr/lib/ckan/default/src/ckan/ckanext/stats/public/ckanext/ckanext-ord-hierarchy
/etc/ckan/default/production.ini
with ckan.plugins = ord_hierarchy [everything else]
/var/log/apache2/ckan_default.error.log
I get the output below, which finishes with PluginNotFoundException: ord_hierarchy
My question is: what string should be put in the INI file for the plugin name?
And what should the folder be called that the extension lives in (if not ckanext-ord-hierarchy
)?
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] mod_wsgi (pid=28717): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] mod_wsgi (pid=28717): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] Traceback (most recent call last):
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/etc/ckan/default/apache.wsgi", line 10, in <module>
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] application = loadapp('config:%s' % config_filepath)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] return loadobj(APP, uri, name=name, **kw)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] return context.create()
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in make_app
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] load_environment(conf, app_conf)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] p.load_all(config)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] load(*plugins)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] service = _get_service(plugin)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in _get_service
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] raise PluginNotFoundException(plugin_name)
[Tue Nov 29 19:15:22 2016] [error] [client 127.0.0.1] PluginNotFoundException: ord_hierarchy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.