planetfederal / qgis-geogiglight-plugin

GNU General Public License v2.0
19 stars 9 forks source link

python error when doing "remove layer from repository" #37

Closed gioman closed 8 years ago

gioman commented 8 years ago
Traceback (most recent call last):
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\layeractions.py", line 236, in removeLayer
    repo.removetree(tracking.layername)
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 294, in removetree
    self._apicall("remove", {"path":path, "recursive":"true"}, True)
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 147, in _apicall
    return execute(lambda: self.__apicall(command, payload, transaction))
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\gui\executor.py", line 69, in execute
    return func()
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 147, in 
    return execute(lambda: self.__apicall(command, payload, transaction))
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 131, in __apicall
    self.__log(url, r.json(), params)
  File "C:\Users\qgis\.qgis2\python\plugins\geogig\ext-libs\requests-2.10.0-py2.7.egg\requests\models.py", line 804, in json
    self.content.decode(encoding), **kwargs
  File "C:\PROGRA~1\BOUNDL~1\Desktop\osgeo4w\apps\Python27\lib\site-packages\simplejson\__init__.py", line 488, in loads
    return _default_decoder.decode(s)
  File "C:\PROGRA~1\BOUNDL~1\Desktop\osgeo4w\apps\Python27\lib\site-packages\simplejson\decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "C:\PROGRA~1\BOUNDL~1\Desktop\osgeo4w\apps\Python27\lib\site-packages\simplejson\decoder.py", line 389, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)