<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Citrix monitor with Powershell SDK in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Citrix-monitor-with-Powershell-SDK/m-p/231522#M3747</link>
    <description>&lt;P&gt;When I extended monitoring using the Powershell SDK monitoring mode, the following error was reported:&lt;BR /&gt;Python datasource initialization error: Exception("Could not run a test powershell script: 'NoneType' object has no attribute 'stderr'"),&lt;BR /&gt;How do I fix it? thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 08:40:41 GMT</pubDate>
    <dc:creator>Candy</dc:creator>
    <dc:date>2023-12-12T08:40:41Z</dc:date>
    <item>
      <title>Citrix monitor with Powershell SDK</title>
      <link>https://community.dynatrace.com/t5/Extensions/Citrix-monitor-with-Powershell-SDK/m-p/231522#M3747</link>
      <description>&lt;P&gt;When I extended monitoring using the Powershell SDK monitoring mode, the following error was reported:&lt;BR /&gt;Python datasource initialization error: Exception("Could not run a test powershell script: 'NoneType' object has no attribute 'stderr'"),&lt;BR /&gt;How do I fix it? thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 08:40:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Citrix-monitor-with-Powershell-SDK/m-p/231522#M3747</guid>
      <dc:creator>Candy</dc:creator>
      <dc:date>2023-12-12T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Citrix monitor with Powershell SDK</title>
      <link>https://community.dynatrace.com/t5/Extensions/Citrix-monitor-with-Powershell-SDK/m-p/231530#M3748</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62847"&gt;@Candy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ref from external site&lt;/P&gt;&lt;P&gt;If code is written like this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def get_shape_of_object(obj):
  return obj.shape


value = None
print(get_shape_of_object(value))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;should fix into below example&lt;/P&gt;&lt;PRE&gt;def get_shape_of_object(obj):
  if obj is None:
    return None
  return obj.shape


value = None
print(get_shape_of_object(value))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://appdividend.com/2022/12/20/attributeerror-nonetype-object-has-no-attribute-shape/" target="_blank" rel="noopener"&gt;How to Fix AttributeError: 'NoneType' object has no attribute 'shape' (appdividend.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nsikakimoh.com/blog/fix-nonetype-object-has-no-attribute-text" target="_blank" rel="noopener"&gt;How to Fix the 'NoneType' object has no attribute: 'text' Error in Python - Nsikak Imoh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;RN&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 07:54:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Citrix-monitor-with-Powershell-SDK/m-p/231530#M3748</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-12-12T07:54:02Z</dc:date>
    </item>
  </channel>
</rss>

