Closed ScottEvil closed 11 years ago
In geonode, if you go to "layers" and try to create a map from a geogit layer, it throws the following error:
Request Method:
GET
Request URL:
http://geoserver.rogue.lmnsolutions.com/maps/new?layer=lmn_demo:hospital
Django Version:
1.4.2
Exception Type:
TypeError
Exception Value:
'tuple' object does not support item assignment
Exception Location:
/var/lib/geonode/geonode/geonode/maps/views.py in new_map_config, line 370
Python Executable:
/var/lib/geonode/bin/python
Python Version:
2.7.3
Python Path:
['/var/lib/geonode/geonode/geonode',
'/var/lib/geonode/bin',
'/var/lib/geonode/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
'/var/lib/geonode/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
'/var/lib/geonode/geonode',
'/var/lib/geonode/lib/python2.7',
'/var/lib/geonode/lib/python2.7/plat-linux2',
'/var/lib/geonode/lib/python2.7/lib-tk',
'/var/lib/geonode/lib/python2.7/lib-old',
'/var/lib/geonode/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/var/lib/geonode/local/lib/python2.7/site-packages', '/var/lib/geonode/local/lib/python2.7/site-packages/PIL']
1) View a GeoGit layer in the layer view 2) Click on the Create A Map button 3) GeoNode throws TypeError at maps/new - 'tuple' object does not support item assignment