ckan / ckanext-geoview

CKAN Geospatial ResourceView
MIT License
43 stars 58 forks source link

Exception on CKAN 2.3 #6

Closed amercader closed 6 years ago

amercader commented 9 years ago
File '/home/adria/dev/pyenvs/ckan_plain/src/ckan/ckan/controllers/package.py', line 1623 in resource_view
  return h.rendered_resource_view(view, resource, package, embed=True)
File '/home/adria/dev/pyenvs/ckan_plain/src/ckan/ckan/lib/helpers.py', line 1757 in rendered_resource_view
  vars = view_plugin.setup_template_variables(context, data_dict) or {}
File '/home/adria/dev/pyenvs/ckan_plain/src/ckanext-geoview/ckanext/geoview/plugin.py', line 152 in setup_template_variables
  p.toolkit.c.resource['proxy_url'] = proxy.get_proxified_resource_url(data_dict)
TypeError: 'str' object does not support item assignment
amercader commented 9 years ago

@mattfullerton this should be fixed in master, can you give it a try with a dev install before I push a new version to pypi?

mattfullerton commented 9 years ago

Yes, works now. Or at least, it does things :)