I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used):
(For OSX El Capitan):
File"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 341, in processAlgorithm
with open(prjFile, 'w') as f:
PermissionError: [Errno 13] Permission denied: '.prj'
The above error being common to Mac and Windows as well. Sometimes while running the tool on windows environment is able to pass the permission error stage (somehow and its pretty weird, only sometimes) and generates only '.prj' file but fails stating:
'not able to generate shapefile'
I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.
All the supporting packages (GDAL) and respective python versions have been properly installed (3.6.7 for QGIS 3.0+).
My system specs are as follows:
System: Macbook Pro Mid 2012 i5 El Capitan + Windows 10 Pro (Bootcamp)
How can I fix this error?