Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
create directories for models and R script in user folder
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Alexander,
the SextanteUtils class is not found in ModelerUtils.py and it throws NameError: global name 'SextanteUtils' is not defined.
Thanks!
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! It seems that we are changing this back and forth :-) I like to have it model in the user folder by default....but if we do that, the example model cannot be shipped with qgis and appear the first time qgis + sextante is opened. The same happens with R scripts and normal scripts....
Any idea how to do it? If we cannot do it, I will hardcode a folder of example models and scripts, and they will always be loaded, no matter were the model folder is located
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Now sample models and scripts are always loaded from their own folder
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Victor,
I am not a cmake expert but I guess it can be done by copying the example model in user dir models (~/sextante/models)
Maybe Alexander could do it ?
I think hardcode folder also might be a solution !
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just thinking about moving sextante folder under ~/.qgis so all QGIS-related things will be in user directory. This solve issues with access rights and make backup much simpler.
6a2fdf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.