planetfederal / qgis-geogiglight-plugin

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

error when changing version to "removed layer..." #54

Closed gioman closed 8 years ago

gioman commented 8 years ago

When a layer is removed then in history this is saved as "removed layer...".

This "version" is then available among the others when doing "change to different version...", but this causes:

Traceback (most recent call last):
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\layeractions.py", line 180, in changeVersion
    repo.checkoutlayer(tracking.geopkg, tracking.layername, None, dlg.ref)
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 337, in checkoutlayer
    self._downloadfile(taskid, filename)
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\geogigwebapi\repository.py", line 194, in _downloadfile
    r.raise_for_status()
  File "C:\Users\qgis\.qgis2\python\plugins\geogig\ext-libs\requests-2.10.0-py2.7.egg\requests\models.py", line 844, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: Internal Server Error for url: http://192.168.1.87:8182/tasks/42/download