4

Ran into this error while trying to create a shapefile layer for training sites in an object segmentation project. This is an issue with QGIS itself, as I tried to create new vector layers on previous projects and got the same error.

I did edit some path variables while trying to connect QGIS to an external python interpreter, and I suspect my issues stem from that based on navigating to Settings > "Options > Environment > Current environment variables (read-only - bold indicates modified at startup)". There was a custom PATH variable that I had set earlier in my ~/.bash_profile and commented out, but clearly it still exists according to Q.

For anyone experienced in customizing environment variables, is there a simple solution to this problem? I'm only just starting to become familiar with customization but I've surely bungled something up along the way.

4
  • I just ran into this same issue today. Did you ever find a reason or resolution? – Gene Myers Nov 7 '20 at 10:48
  • 3
    If I recall, the issue was related to the path that QGIS was trying to save the shapefile out to. Sometimes it won't set a default directory for saving files, so you have to select the " ... " button directly beside the text box where you specify a file name, then navigate to whichever file folder you want to store the shapefile. – Rob Nov 9 '20 at 19:05
  • yes, it was that indeed, thank you. – Gene Myers Nov 10 '20 at 15:23
  • Same issue, and yes - selecting a different destination (e.g. Desktop) worked fine. – danwild Mar 18 at 3:38
1

Copying the solution suggested by @Rob

You have to select the " ... " button directly beside the text box where you specify a file name, then navigate to whichever file folder you want to store the shapefile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.