1

I'm using the "Points to path" processing tool. It works fine but it is not saved when I exit QGIS. It shows up in layers panel but not on screen on restart. I tried making the scratch layer permanent and got this error message

Could not make temporary scratch layer permanent.

Error: Creation of data source failed (OGR error: sqlite3_open(arrows.gpkg) failed: unable to open database file)

I don't know enough to interpret the error or correct it. I presume I'm doing something wrong when I initiate Point to path but cannot see any obvious options to correct.

6
  • Have you tried saving in a different data format? Does the tool work properly with other point-data as input?
    – Erik
    Aug 23, 2019 at 8:37
  • Do you mean the layer or whole project Erik? The tool works fine, only problem is it's not saved with the rest on exit, it's still in layers panel but not on screen when re opened.
    – Vic
    Aug 23, 2019 at 8:41
  • The layer. Have you saved it manually before closing QGIS?
    – Erik
    Aug 23, 2019 at 8:43
  • I have tried (I'm fairly sure) all the options for saving the layer but it still says
    – Vic
    Aug 23, 2019 at 8:49
  • This project includes one or more temporary scratch layers. These layers are not saved to disk and their contents will be permanently lost. Are you sure you want to proceed?
    – Vic
    Aug 23, 2019 at 8:49

1 Answer 1

3

This error is likely due to the fact that you enter just the name you want in the file name field when the proper way is to enter a full path. (just click on the box with 3 point on the right of the field to access the explorator)

enter image description here

The file name field let you create a new geopackage or select an existing one (so you can add several layer to the same .gpkg) , the layer name is automaticaly set with the same name as the .gpkg but you can change it.

1
  • Wouldn't let me add to existing .gpkg but worked OK when I renamed.
    – Vic
    Aug 23, 2019 at 9:19

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.