Code Monkey home page Code Monkey logo

ckanext-ord-hierarchy's People

Contributors

bellisk avatar luketully avatar metaodi avatar tschortsch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tedstrauss ejdoh1

ckanext-ord-hierarchy's Issues

How to display a hierarchical structure of 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"

Problem with sub-levels

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 !

Installation fails

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:

  • Downloaded the release ZIP into my CKAN tree
  • Unzipped the master into the following location /usr/lib/ckan/default/src/ckan/ckanext/stats/public/ckanext/ckanext-ord-hierarchy
  • I updated my INI file at /etc/ckan/default/production.ini with ckan.plugins = ord_hierarchy [everything else]
  • Reset apache and nginx (in that order)
  • That's it. Next when I reloaded the CKAN site I got "500 Internal Server Error"
  • In the log at /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)?

ckan_default.error.log

[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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.