gltn / stdm

STDM is a free and open source pro-poor land recordation system based on QGIS, PostgreSQL and PostGIS.
http://stdm.gltn.net/
GNU General Public License v2.0
30 stars 30 forks source link

Stack trace for missing document #490

Closed pgathogo closed 5 months ago

pgathogo commented 2 years ago

During the process of downloading supporting documents, am getting the following stack trace if the document is missing

image

IOError: [Errno 2] No such file or directory: u'D:\\home\\STDM\\Data\\SupportingDocuments\\RespondentIdDocuments\\1622376926435.jpg' 
Traceback (most recent call last):
  File "C:/Users/Administrator/.qgis2/python/plugins\stdm\data\importexport\document_downloader.py", line 49, in handle_download
    with open(self.dest_filename, 'wb') as f:
IOError: [Errno 2] No such file or directory: u'D:\\home\\STDM\\Data\\SupportingDocuments\\RespondentIdDocuments\\1622376926435.jpg'
strabzounly commented 1 year ago

Done

pgathogo commented 5 months ago

This item has been fixed.