datopian / ckanext-dataexplorer-react

A new Data Explorer for CKAN built on React.
GNU Affero General Public License v3.0
8 stars 6 forks source link

Internal Server Error on Ckan 2.10 #7

Closed abedkhooli closed 1 year ago

abedkhooli commented 1 year ago

I installed the extension according to instructions but when I try to create a new view, the preview shows internal server error. The uwsgi error shows: ERROR [ckan.config.middleware.flask_app] Cannot determine url for /usr/lib/ckan/default/src/ckanext-dataexplorer-react/ckanext/dataexplorer/fanstatic/css/2.bdfddcb8.chunk.css which is related to webassets.yml file. Is there an easy fix?

anuveyatsu commented 1 year ago

hi @abedkhooli could you check #4 ?

abedkhooli commented 1 year ago

I thought that was merged. I replaced webassets.yml and plugin.py with those in #4 and got the main view (dataexplorer_view) to work. The chart view on its own did not display the chart but worked as part of main view. So, I would say the fix solves the issue to a good extent. Closing.