[ckan-dev] Error raises when trying using javascript

Adrià Mercader adria.mercader at okfn.org
Fri May 26 07:52:37 UTC 2017


Hi Giulia,

What does the error say in the docker logs? You should look for a full
stack trace in the logs of the web app process.

Adrià



On 25 May 2017 at 16:38, Giulia Benotto <benotto at netseven.it> wrote:

> Hi everyone.
> I am fairly new to ckan, so this is maybe a known issue.
> I have a docker installation of ckan, so far everything is running
> smoothly. Whenever I try following the guide at this link
> http://docs.ckan.org/en/latest/theming/javascript.html, I encounter a
> problem. Basically, I have my custom template called theme (instead of
> example_theme, which was giving problems as well); I develop the
> theme_popover.js in the following folder: ckanext-theme/ckanext/
> theme/fanstatic/theme_popover.js f(I added fanstatic in the plugin.py (
> toolkit.add_resource('fanstatic', 'theme’)), and the package_item.hmtl
> file in: ckanext-theme/ckanext/theme/templates/snippets/package_item.html
> When I reload the datasets page of my site, I get an internal server error.
> I tried developing other js to associate to other snippets and get the
> same error as well. It looks like every time a .js is called, I get that
> error. Unfortunately, I can’t understand why.
> Any ideas?
> Thanks.
> Giulia
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170526/8c62f988/attachment-0003.html>


More information about the ckan-dev mailing list