[Qgis-developer] Error in downloading model

Paolo Cavallini cavallini at faunalia.it
Wed Jul 2 22:40:55 PDT 2014


Hi.
While downloading a model (Model within a model) I get an error[0].
I think there are two issue here:
* the model is missing
* in case of a missing model, the error should be handled better
All the best.
===
[0]
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/processing/gui/GetScriptsAndModels.py", line
198, in okPressed
    code = readUrl(url)
  File "/usr/share/qgis/python/plugins/processing/gui/GetScriptsAndModels.py", line
86, in readUrl
    return urllib2.urlopen(url).read()
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list