TerraME / terrame

TerraME is a programming environment for spatial dynamical modelling
www.terrame.org
GNU Lesser General Public License v3.0
36 stars 13 forks source link

Error in '-doc' after change Layer:attributes() #1766

Closed avancinirodrigo closed 7 years ago

avancinirodrigo commented 7 years ago

Something was broken after change Layer:attributes() #1690. It was not possible identify where is the error:

Building documentation for package 'terralib'
Loading package 'terralib'
Parsing 'data.lua'
Processing lua files
Processing 'amazonia-postgis.lua'
Processing 'amazonia.lua'
Processing 'cabecadeboi.lua'
Processing 'emas.lua'
Processing 'itaituba.lua'
Checking directory 'data'
Checking properties of data files
Processing 'amazonia-indigenous.shp'
Error: Argument '#1' is mandatory.
avancinirodrigo commented 7 years ago

The error was fixed, but there are two problems yet, the doc.lua is difficult to debug, because it doesn't show error line number and it seems to me that -doc executes -version when there is a error, this causes a problem in Jenkins: http://www.dpi.inpe.br/jenkins/job/terrame-ci-doc-base-linux-ubuntu-14.04/641//consoleFull

pedro-andrade-inpe commented 7 years ago

This issue was solved by https://github.com/TerraME/terrame/pull/1769/commits/2760780ccb5ea13faa2d63cccade43746173f16f