[Qgis-user] Lost Sextante models

Victor Olaya volayaf at gmail.com
Mon Sep 16 11:14:12 PDT 2013


Jonas

Basically you have to re-make your models. The modeler has now more
fuctionality (the UI has changed) and it requires saving more data for
each model. Your models are old and lack that data, so they are not
complete and cannot be open by the most recent version

Regards
Victor


2013/9/16 Jonas Sjögren <jonas.sjo at gmail.com>:
> Regarding the lost models, I found the following error message in History
> and log, and the same goes for most of my models that do not show up:
>
> Could not load model Calculate_FloodedObjects.model
>
> Error in model definition line:Reclassified Grid Values : Traceback (most
> recent call last):
>
> File
> "C:/PROGRA~2/QGISWE~1/apps/qgis-dev/./python/plugins\processing\modeler\ModelerAlgorithm.py",
> line 164, in openModel
>
> algParams[param.name] = AlgorithmAndParameter(int(tokens[0]), tokens[1])
>
> ValueError: invalid literal for int() with base 10: 'Reclassified Grid
> Values'
>
>
>
> Anyone who has clue how to solve it?
>
> Best regards,
>
> Jonas
>
>
>
> 2013/9/16 Jonas Sjögren <jonas.sjo at gmail.com>
>>
>> Thank you for your instant reply. However, moving my models to
>> "C:\Users\Username\.qgis2\processing\models" didn´t solve the problem, they
>> still do not show up in the models folder in the toolbox. I have reinstalled
>> Master 1.9.0-35, checked the pathways in options and configuration and
>> rebooted my pc with no change. I have some scripts stored in
>> "C:\Users\Username\.qgis2\processing\scripts" and they do show up, although
>> not all of them. It seems as if the total number of them are stored
>> somewhere else...? Regarding the models, I believe the file extension is the
>> same as before, .model? The test models and example models are shown as
>> usual, but where are these stored?
>> Best regards,
>> Jonas
>>
>>
>> 2013/9/15 Werner Macho <werner.macho at gmail.com>
>>>
>>> On 09/14/2013 09:24 PM, Jonas Sjögren wrote:
>>>
>>> > I used to work in QGIS Master 1.9.0-4 where I have created some models
>>> > in
>>> > Sextante. When upgrading to a more recent version, QGIS Master
>>> > 1.9.0-35,
>>> > they were suddenly lost. According to Sextante options and
>>> > configuration,
>>> > the models are stored in C:\Users\Username\.qgis2\sextante\models, so I
>>> > moved them there. But they still do not show up in the Sextante
>>> > toolbox.
>>> > Only Sextante example models and test models are shown. Is it possible
>>> > to
>>> > import them in some way? I don´t really like the idea of rebuilding
>>> > them...:-( If you have an idea, please let me know. Thanks,
>>>
>>> Sextante has recently been renamed to "processing" so you should not put
>>> your models into "C:\Users\Username\.qgis2\sextante\models" but rather
>>> into "C:\Users\Username\.qgis2\processing\models" .. and get rid of that
>>> whole "sextante" folder .. (or just rename it to processing)
>>>
>>> That should do the job
>>>
>>> kind regards
>>> Werner
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list