Esri / Esri/mdcs-py

Bug: Error in logging when the result is `NoneType`

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
38
PR merge metrics
No merged PRs in 30d

Description

An error is encountered in https://github.com/Esri/mdcs-py/blob/4862d0775d54058d9ebb450a1d6a88883a951f8b/scripts/Base/Base.py#L60 whenever the result of a GPTool is `NoneType`. Here's an example:
```
log-msg:Command:AMR->Aggregate Multidimensional Raster.
log-msg: Aggregate Multidimensional Raster.:buildlandsatc2l2
log-msg:Calling (arcpy.ia.AggregateMultidimensionalRaster)
WARNING: log-critical:'NoneType' object has no attribute 'inputCount'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.