geodrinx / rasmover

A QGis plugin that moves all the active rasters, using an input vector, that is the original point and the destination point.
2 stars 3 forks source link

FIXED - Plugin fails if installed in a different directory #2

Open pcav opened 10 years ago

pcav commented 10 years ago

Traceback (most recent call last): File "/home/paolo/qgis_test/python/plugins/rasmover/rasmover.py", line 155, in canvasReleaseEvent f2 = open(dbName+'.csv', 'w') IOError: [Errno 2] File o directory non esistente: '/home/paolo/.qgis2/python/plugins/rasmover/temp/coords.csv'

pcav commented 10 years ago

I was wrong: it fails also in the standard dir.

Traceback (most recent call last): File "/home/paolo/.qgis2/python/plugins/rasmover/rasmover.py", line 201, in canvasReleaseEvent f1 = open(fileVRT, 'r') IOError: [Errno 2] File o directory non esistente: '\home\paolo.qgis2\python\plugins\rasmover\temp\original.vrt'