stadt-karlsruhe / ckanext-discovery Goto Github PK
View Code? Open in Web Editor NEWA CKAN extension to help people discover your data
License: GNU Affero General Public License v3.0
A CKAN extension to help people discover your data
License: GNU Affero General Public License v3.0
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?
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'
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.