<?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 Re: TA-DMARC scheme error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/542798#M65063</link>
    <description>&lt;P&gt;Just a quick note for other who might land here via Google: this issue was fixed in 3.2.3.&lt;/P&gt;&lt;P&gt;From the&amp;nbsp;changelog (n&lt;SPAN&gt;ov. 26, 2020):&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="u.container"&gt;&lt;UL&gt;&lt;LI&gt;Added support for Splunk 8.1. (Thanks to Aaron Myers for reporting the issue)&lt;/LI&gt;&lt;LI&gt;Fixed exception when using add-on together with listenOnIPv6=yes (Thanks to gryphius for reporting this issue)&lt;/LI&gt;&lt;LI&gt;Fixed Gmail POP3 issue&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Mar 2021 09:01:11 GMT</pubDate>
    <dc:creator>jorritf</dc:creator>
    <dc:date>2021-03-08T09:01:11Z</dc:date>
    <item>
      <title>TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526238#M63940</link>
      <description>&lt;P&gt;I'm using Splunk 8.1.0 on CentOS 7 and TA-dmarc 3.2.1. When the app loads, I get the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Unable to initialize modular input "dmarc_pop3" defined in the app "TA-dmarc": Introspecting scheme=dmarc_pop3: script running failed (exited with code 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what to make of it or how to even start troubleshooting.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Aaron&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526238#M63940</guid>
      <dc:creator>amyers16</dc:creator>
      <dc:date>2020-10-23T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526295#M63944</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224273"&gt;@amyers16&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be a python version compatibility issue, read the docs from the app and make sure is compatible with your Splunk version. Also, if you are running Splunk v8.x, check which python version is enabled on your $SPLUNK_HOME/etc/system/local/server.conf under the [general] stanza.&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[general]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;serverName = hostname&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;python.version = &lt;STRONG&gt;python3&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 00:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526295#M63944</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2020-10-24T00:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526490#M63966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/115718"&gt;@alemarzu&lt;/a&gt;&amp;nbsp;and thanks for the reply. I am on 8.1.0 and checked the [general] stanza. Python version wasn't defined so I added it and restarted. Unfortunately still the same issue. I reached out to the dev via email and they said they'd look into it.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 16:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/526490#M63966</guid>
      <dc:creator>amyers16</dc:creator>
      <dc:date>2020-10-26T16:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/538229#M64772</link>
      <description>&lt;P&gt;Have the same problem on Splunk 8.1.1. For now (because it is still possible) I forced globally on host downloading these data to use python2 and it works. So it seems as some incompatibility with python 3?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116288"&gt;@jorritf&lt;/a&gt;any ideas on that? Below errors received:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	25/01/2021
14:34:27.069	
01-25-2021 14:34:27.069 +0100 ERROR ModularInputs - Unable to initialize modular input "dmarc_imap" defined in the app "TA-dmarc": Introspecting scheme=dmarc_imap: script running failed (exited with code 1)..

	25/01/2021
14:34:27.069	
01-25-2021 14:34:27.069 +0100 ERROR ModularInputs - Introspecting scheme=dmarc_imap: script running failed (exited with code 1).

	25/01/2021
14:34:27.069	
01-25-2021 14:34:27.069 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:  ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.

	25/01/2021
14:34:27.069	
01-25-2021 14:34:27.069 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:      raise ImportError('This package should not be accessible on Python 3. '

	25/01/2021
14:34:27.069	
01-25-2021 14:34:27.069 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:    File "/opt/splunk/etc/apps/TA-dmarc/bin/copyreg/__init__.py", line 7, in &amp;lt;module&amp;gt;

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:      import copyreg

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:    File "/opt/splunk/lib/python3.7/re.py", line 321, in &amp;lt;module&amp;gt;

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:      import re

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:    File "/opt/splunk/etc/apps/TA-dmarc/bin/ta_dmarc_declare.py", line 10, in &amp;lt;module&amp;gt;

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:      import ta_dmarc_declare

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:    File "/opt/splunk/etc/apps/TA-dmarc/bin/dmarc_imap.py", line 1, in &amp;lt;module&amp;gt;

	25/01/2021
14:34:27.068	
01-25-2021 14:34:27.068 +0100 ERROR ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=dmarc_imap:  Traceback (most recent call last):&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 07:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/538229#M64772</guid>
      <dc:creator>wstarowicz</dc:creator>
      <dc:date>2021-02-02T07:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/542798#M65063</link>
      <description>&lt;P&gt;Just a quick note for other who might land here via Google: this issue was fixed in 3.2.3.&lt;/P&gt;&lt;P&gt;From the&amp;nbsp;changelog (n&lt;SPAN&gt;ov. 26, 2020):&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="u.container"&gt;&lt;UL&gt;&lt;LI&gt;Added support for Splunk 8.1. (Thanks to Aaron Myers for reporting the issue)&lt;/LI&gt;&lt;LI&gt;Fixed exception when using add-on together with listenOnIPv6=yes (Thanks to gryphius for reporting this issue)&lt;/LI&gt;&lt;LI&gt;Fixed Gmail POP3 issue&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Mar 2021 09:01:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/542798#M65063</guid>
      <dc:creator>jorritf</dc:creator>
      <dc:date>2021-03-08T09:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/542986#M65075</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116288"&gt;@jorritf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have it working on Splunk 8.1, but fails when setting Python 3 as default (please see logs below). After switching to Python 2 it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 09:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/542986#M65075</guid>
      <dc:creator>wstarowicz</dc:creator>
      <dc:date>2021-03-09T09:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC scheme error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/547981#M65396</link>
      <description>&lt;P&gt;If there are still issues like these on 3.2.4, I suggest to:&lt;/P&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;clear out the &lt;SPAN class="il"&gt;TA&lt;/SPAN&gt;-&lt;SPAN class="il"&gt;dmarc&lt;/SPAN&gt;/local/ directory (which resets the config back to default)&lt;/LI&gt;&lt;LI&gt;if that doesn't work: remove the entire add-on from the heavy forwarder and reinstall&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;This seems to solve&amp;nbsp;a number of reports where there were still Python2/3 related issues resulting in &lt;SPAN class="il"&gt;TA&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN class="il"&gt;dmarc&lt;/SPAN&gt;&lt;SPAN&gt;: Introspecting scheme=&amp;lt;something&amp;gt; : script running failed (exited with code 1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I haven't been able to reproduce any of these weird errors. A clean install on any Splunk version Just Works. I also tested some upgrade scenarios but haven't been able to find any issues there either. So I can't offer any direct solution, except for the "delete and reinstall" workaround above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 07:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-scheme-error/m-p/547981#M65396</guid>
      <dc:creator>jorritf</dc:creator>
      <dc:date>2021-04-15T07:00:35Z</dc:date>
    </item>
  </channel>
</rss>

