cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Citrix monitor with Powershell SDK

Candy
Guide

When I extended monitoring using the Powershell SDK monitoring mode, the following error was reported:
Python datasource initialization error: Exception("Could not run a test powershell script: 'NoneType' object has no attribute 'stderr'"),
How do I fix it? thank you.

1 REPLY 1

RazTN7
Dynatrace Champion
Dynatrace Champion

@Candy 

Ref from external site

If code is written like this 

def get_shape_of_object(obj):
  return obj.shape


value = None
print(get_shape_of_object(value))

 should fix into below example

def get_shape_of_object(obj):
  if obj is None:
    return None
  return obj.shape


value = None
print(get_shape_of_object(value))

 

How to Fix AttributeError: 'NoneType' object has no attribute 'shape' (appdividend.com)

How to Fix the 'NoneType' object has no attribute: 'text' Error in Python - Nsikak Imoh

Cheers!

RN

Have a nice day!

Featured Posts