ArcSOC Optimizer (Sept 20th update)
ArcGIS Monitor (10.6.1)
I made an Optimizer task using the same URL's and credentials as an existing ArcGIS counter.
Hitting "Test" results in:
Traceback (most recent call last): File "ArcSOCOptimizer.py", line 11, in main File "Modules\Outputs\ReportBuilder.py", line 15, in __init__ File "Modules\Outputs\OutputBuilder.py", line 10, in __init__ File "Modules\Inputs\InputBuilder.py", line 19, in __init__ File "Modules\SMCounters\View.py", line 4, in __init__ File "Modules\SMCounters\View.py", line 10, in __GetArcGISView File "Modules\pysm\SmClient.py", line 93, in __view_find File "Modules\pysm\base.py", line 99, in find_views TypeError: Can't convert 'NoneType' object to str implicitly Traceback (most recent call last): File "ArcSOCOptimizer.py", line 11, in main File "Modules\Outputs\ReportBuilder.py", line 15, in __init__ File "Modules\Outputs\OutputBuilder.py", line 10, in __init__ File "Modules\Inputs\InputBuilder.py", line 19, in __init__ File "Modules\SMCounters\View.py", line 4, in __init__ File "Modules\SMCounters\View.py", line 10, in __GetArcGISView File "Modules\pysm\SmClient.py", line 93, in __view_find File "Modules\pysm\base.py", line 99, in find_views TypeError: Can't convert 'NoneType' object to str implicitly
Attempts to fix:
a) I searched the filesystem for ArcSOCOptimizer.py but did not find it.
b) python was not installed, so I installed version 2.7.15 64 bit, ensured %path% included python.exe and rebooted.
c) I ran a copy of C:\ArcGIS Monitor\Administrator\resources\app\bin\ArcSOC Optimizer\test.bat, modifying the parameters to match our credentials and urls. Running the script from cmd.exe yields an extra error: "Page not found!", after which the above quoted error occurs: the JSON object must be str, not 'NoneType'
d) I tried using a copy of the 1 day config instead of the 30 days config.
The above error continues to happen.
What do you suggest?
Thanks!
-Pete