Giter VIP home page Giter VIP logo

ckanext-discovery's People

Contributors

torfsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ckanext-discovery's Issues

Publish to PyPi

Hi! Would love to see this package available in PyPi for installation rather than having to download from GitHub. Would you be willing to accept some help for getting the package publication-ready?

Probably ckanext-discovery does not works for CKAN 2.8.0

Hi all,
Some weeks ago, I installed ckanext-discovery (and others plugins) on my CKAN 2.7.2 and it works fine.

But last week I upgraded CKAN to 2.8.0 version and my opendata web works fine, but I can see this message in my log [1].

If I remove these plugins from .ini file, logs error dissapear.

Maybe ckanext-discovery does not work for CKAN 2.8.0 ??

Best Regards....

[1]:
[Fri Jun 29 12:59:06.303900 2018] [wsgi:error] [pid 21234:tid 140356470253312] 2018-06-29 12:59:06,302 ERROR [ckanext.discovery.plugins.search_suggestions] An exception occurred while storing a search query
[Fri Jun 29 12:59:06.304234 2018] [wsgi:error] [pid 21234:tid 140356470253312] Traceback (most recent call last):
[Fri Jun 29 12:59:06.304433 2018] [wsgi:error] [pid 21234:tid 140356470253312]   File "/home/ckan/ckan/lib/default/src/ckanext-discovery/ckanext/discovery/plugins/search_suggestions/__init__.py", line 191, in after_search
[Fri Jun 29 12:59:06.304642 2018] [wsgi:error] [pid 21234:tid 140356470253312]     if not _is_user_text_search(toolkit.c, q):
[Fri Jun 29 12:59:06.304838 2018] [wsgi:error] [pid 21234:tid 140356470253312]   File "/home/ckan/ckan/lib/default/src/ckanext-discovery/ckanext/discovery/plugins/search_suggestions/__init__.py", line 154, in _is_user_text_search
[Fri Jun 29 12:59:06.305060 2018] [wsgi:error] [pid 21234:tid 140356470253312]     context.controller != 'package'
[Fri Jun 29 12:59:06.305279 2018] [wsgi:error] [pid 21234:tid 140356470253312]   File "/home/ckan/ckan/lib/default/lib/python2.7/site-packages/werkzeug/local.py", line 347, in __getattr__
[Fri Jun 29 12:59:06.305482 2018] [wsgi:error] [pid 21234:tid 140356470253312]     return getattr(self._get_current_object(), name)
[Fri Jun 29 12:59:06.305693 2018] [wsgi:error] [pid 21234:tid 140356470253312]   File "/home/ckan/ckan/lib/default/lib/python2.7/site-packages/werkzeug/local.py", line 347, in __getattr__
[Fri Jun 29 12:59:06.305874 2018] [wsgi:error] [pid 21234:tid 140356470253312]     return getattr(self._get_current_object(), name)
[Fri Jun 29 12:59:06.306039 2018] [wsgi:error] [pid 21234:tid 140356470253312]   File "/home/ckan/ckan/lib/default/src/ckan/ckan/config/middleware/flask_app.py", line 334, in __getattr__
[Fri Jun 29 12:59:06.306348 2018] [wsgi:error] [pid 21234:tid 140356470253312]     return getattr(app_globals.app_globals, name)
[Fri Jun 29 12:59:06.306519 2018] [wsgi:error] [pid 21234:tid 140356470253312] AttributeError: '_Globals' object has no attribute 'controller'

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.