Select to view content in your preferred language

Problem using ArcGIS CCTV Manager - NoneType object has no attribute M

763
4
04-13-2020 10:19 AM
Labels (1)
EdwardBoesenberg
Emerging Contributor

I am using ArcGIS Pro and trying to use CCTV Manager to plot points along sanitary sewer gravity mains but when I run the Generate Pipeline CCTV Features tool I get an error:

File "C:\Users\username\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone1\Lib\site-packages\utilsolutions\cctv\core.py", line 310, in _locate_point     point.M = 0 AttributeError: ("'NoneType' object has no attribute 'M'", 'occurred at index 990')

Do my pipe need to have M values?  The feature class is M enabled but the features have no values just NaN.

Tags (1)
0 Kudos
4 Replies
MikeMillerGIS
Esri Frequent Contributor

Can you try it without an m enabled line? We might have a bug with M enabled, but no values.

0 Kudos
EdwardBoesenberg
Emerging Contributor

I have tried with both

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

Do you have any records with Null Geometry?

EdwardBoesenberg
Emerging Contributor

There must have been some geometry with error.  I ran repair geometry and the tool finished correctly.  Thanks!

0 Kudos