Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project templates should be stored relative to config folder #20740

Closed
qgib opened this issue Apr 22, 2015 · 4 comments
Closed

Project templates should be stored relative to config folder #20740

qgib opened this issue Apr 22, 2015 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project

Comments

@qgib
Copy link
Contributor

qgib commented Apr 22, 2015

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 12623
Affected QGIS version: 2.8.1
Redmine category:project_loading/saving


The path to project templates is currently stored absolute in the .ini config file. So when preparing a default config to be used with the --configpath option, the templates will be searched in the absolute (often wrong) directory, rather than in the relative one.
Better make absolute/relative optional, or follow the choice for project layers.

@qgib
Copy link
Contributor Author

qgib commented Apr 29, 2015

Author Name: Stefan Blumentrath (@ninsbl)


The same applies to a lot of settings related to Processing (e.g. paths to providers like SAGA or GRASS) and also model or script folder.
Would be nice to be able to have variables available here or if paths to providers could be read from PATH...
That would make --configpath more portable between different computer (and possibly OSes).

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2018

Author Name: Paolo Cavallini (@pcav)


Seems OK now in QGIS 3.


  • subject was changed from Project templates should be store relative to config folder to Project templates should be stored relative to config folder
  • status_id was changed from Open to Feedback
  • description was changed from The path to project templates is currently stored absolute in the .ini config file. So when preparing a default config to be used with the --configpath option, the templates will be searched in the absolute (often wrong) directory, rather than in the relative one.
    Better make absolute/relative optional, or follow the choice for project layers. to The path to project templates is currently stored absolute in the .ini config file. So when preparing a default config to be used with the --configpath option, the templates will be searched in the absolute (often wrong) directory, rather than in the relative one.
    Better make absolute/relative optional, or follow the choice for project layers.

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Mar 7, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Project labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project
Projects
None yet
Development

No branches or pull requests

1 participant