Bug #6141
global name 'false' is not defined error with all models
| Status: | Closed | Start Date: | 08/02/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Modeler | |||
| Target version: | - | |||
| Patch supplied: | No |
Description
Today, after upgrading to rev.328, all my models stopped working and displays the error message
global name 'false' is not defined
Creating a model with just one process, produces the error. Running the same process directly, works without problems. I tested this with several tools.
History
Updated by Salvatore Larosa 10 months ago
Hi Pedro,
the first character of global name must be upper case like: "False". Just replace it is everything works!
backtrace:
Traceback (most recent call last):
File "/home/sam/.qgis//python/plugins/sextante/core/GeoAlgorithm.py", line 116, in execute
self.processAlgorithm(progress)
File "/home/sam/.qgis//python/plugins/sextante/modeler/ModelerAlgorithm.py", line 375, in processAlgorithm
+ str(len(self.algs) - len(self.deactivated)) +"]")
File "/home/sam/.qgis//python/plugins/sextante/gui/AlgorithmExecutionDialog.py", line 294, in setText
self.log(text, false)
NameError: global name 'false' is not defined
Updated by Pedro Venâncio 10 months ago
Hi Salvatore,
Where should I change the global name to uppercase?
Thanks!
Updated by Victor Olaya 10 months ago
- Status changed from New to Resolved
I have already fixed it in r329
Updated by Pedro Venâncio 10 months ago
- Status changed from Resolved to Closed
Fix confirmed.
Thanks Victor!