geobricks / geobricks_qgis_plugin_faostat

QGIS Plugin to fetch FAOSTAT data and create thematic maps.
https://kalimadev.wordpress.com/2015/11/09/create-faostat-maps-with-qgis/
GNU General Public License v2.0
5 stars 3 forks source link

Py error: No JSON object could be decoded #2

Closed pcav closed 8 years ago

pcav commented 8 years ago

When selecting indicators, I got:

Traceback (most recent call last): File "/home/paolo/.qgis2/python/plugins/geobricks_qgis_plugin_faostat/geobricks_qgis_plugin_faostat.py", line 314, in on_domain_change elements = get_elements(domain_code) File "/home/paolo/.qgis2/python/plugins/geobricks_qgis_plugin_faostat/geobricks_faostat_connector.py", line 32, in get_elements elements = json.loads(json_data)['data'] File "/usr/lib/python2.7/json/init.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Versione Python: 2.7.10+ (default, Oct 10 2015, 09:11:24) [GCC 5.2.1 20151028]

Versione di QGIS: 2.8.3-Wien Wien, exported

Kalimaha commented 8 years ago

Can I ask you for what group/domain selection does it happen? Many thanks.

pcav commented 8 years ago

Food Security > Indicators from Household Surveys (gender etc.