Cadasta / cadasta-qgis-plugin

[DEPRECATED] QGIS plugin to create, edit, upload and download Cadasta projects
GNU General Public License v3.0
4 stars 7 forks source link

Error when updating project #170

Closed dimasciput closed 7 years ago

dimasciput commented 7 years ago
Traceback (most recent call last):
File "/Users/user/.qgis2/python/plugins/cadasta-qgis-plugin/cadasta/gui/tools/wizard/step_project_update03.py", line 299, in upload_update
self.update_project()
File "/Users/user/.qgis2/python/plugins/cadasta-qgis-plugin/cadasta/gui/tools/wizard/step_project_update03.py", line 123, in update_project
status, response = step2.send_update_request(post_data)
File "/Users/user/.qgis2/python/plugins/cadasta-qgis-plugin/cadasta/gui/tools/wizard/step_project_update02.py", line 147, in send_update_request
network.connect_json_patch(json.dumps(post_data))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 243, in dumps
return _default_encoder.encode(obj)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: NULL is not JSON serializable