<?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: Config Explorer error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468881#M57641</link>
    <description>&lt;P&gt;can you do the same commands as before &lt;CODE&gt;bin\splunk cmd python&lt;/CODE&gt;  and now try running this command:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;import os, subprocess; env_copy = os.environ.copy(); p = subprocess.Popen(['bin\\splunk', 'btool', 'check', '--debug'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=False, env=env_copy); o = p.communicate(); o&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 19:54:25 GMT</pubDate>
    <dc:creator>chrisyounger</dc:creator>
    <dc:date>2020-06-04T19:54:25Z</dc:date>
    <item>
      <title>Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468876#M57636</link>
      <description>&lt;P&gt;Hi at all,&lt;BR /&gt;I tried to use the Config Explorer app on a stand-alone Splunk server (on italian Windows 10), but when opening it I have the following error message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;An error occurred!
init:
An exception of type TypeError occurred. Arguments:
('environment can only contain strings',)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then I haven't any function or dashboard or interface.&lt;BR /&gt;Is there an installation or configuration action to perform to start the app?&lt;/P&gt;
&lt;P&gt;Ciao.&lt;BR /&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 17:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468876#M57636</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-06-06T17:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468877#M57637</link>
      <description>&lt;P&gt;Hmm I think that your shell environment has a unicode string which is causing a problem with the application startup.  Can you please open a "cmd" shell as the local administrator, then run this command from the SPLUNK_HOME directory:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;bin\splunk cmd python&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;then you should get a new prompt that looks like "&amp;gt;&amp;gt;&amp;gt;". Now type:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;import os; os.environ&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and this will dumb a large bunch of text. Can you paste it here?  I expect one of the strings will be prefixed with a "u" like so: &lt;CODE&gt;u'some_value'&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Cheers, Chris.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 20:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468877#M57637</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-06-03T20:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468878#M57638</link>
      <description>&lt;P&gt;Hi @chrisyoungerjds,&lt;BR /&gt;
Thank you for your attention.&lt;/P&gt;

&lt;P&gt;This is the result&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; import os; os.environ
{'PROGRAMW6432': 'C:\\Program Files', 'SPLUNK_SERVER_NAME': 'Splunkd', 'NUMBER_OF_PROCESSORS': '8', 'LOCALAPPDATA': 'C:\\Users\\Giuseppe\\AppData\\Local', 'PROGRAMDATA': 'C:\\ProgramData', 'HOMEPATH': '\\Users\\Giuseppe', 'TEMP': 'C:\\Users\\GIUSEP~1\\AppData\\Local\\Temp', 'USERDOMAIN_ROAMINGPROFILE': 'AzureAD', 'USERDOMAIN': 'AzureAD', 'PYTHONHASHSEED': 'random', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'SPLUNK_ETC': 'C:\\Program Files\\Splunk\\etc', 'PATH': 'C:\\Program Files\\Splunk\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\GiuseppeCusello\\AppData\\Local\\Microsoft\\WindowsApps', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'CONFIGSETROOT': 'C:\\WINDOWS\\ConfigSetRoot', 'OS': 'Windows_NT', 'SYSTEMROOT': 'C:\\WINDOWS', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 142 Stepping 10, GenuineIntel', 'NODE_PATH': 'C:\\Users\\Giuseppe\\OneDrive', 'TMP': 'C:\\Users\\GIUSEP~1\\AppData\\Local\\Temp', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'SPLUNK_HOME': 'C:\\Program Files\\Splunk', 'RANDFILE': 'C:\\Program Files\\Splunk\\var\\run\\.rnd',, 'PROCESSOR_LEVEL': '6', 'HOMEDRIVE': 'C:', 'COMPUTERNAME': 'DESKTOP', 'SPLUNK_WEB_NAME': 'splunkweb', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'WINDIR': 'C:\\WINDOWS', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'OPENSSL_CONF': 'C:\\Program Files\\Splunk\\openssl.cnf', 'VBOX_MSI_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'SPLUNK_DB': 'C:\\Program Files\\Splunk\\var\\lib\\splunk', 'APPDATA': 'C:\\Users\\Giuseppe\\AppData\\Roaming', 'PYTHONUTF8': '1', 'PROMPT': '$P$G', 'SSL_CERT_FILE': 'C:\\Program Files\\Splunk\\cert.pem', 'PROCESSOR_REVISION': '8e0a', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'USERPROFILE': 'C:\\Users\\Giuseppe', 'PUBLIC': 'C:\\Users\\Public', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'DOKANLIBRARY1': 'C:\\Program Files\\Dokan\\Dokan Library-1.3.1\\', 'SYSTEMDRIVE': 'C:', 'HOSTNAME': 'DESKTOP', 'USERNAME': 'Giuseppe', 'PROGRAMFILES': 'C:\\Program Files', 'LOGONSERVER': '\\\\DESKTOP', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules', 'LDAPCONF': 'C:\\Program Files\\Splunk\\etc\\openldap\\ldap.conf'}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There isn't any string with &lt;CODE&gt;u'some_value'&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468878#M57638</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-06-04T07:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468879#M57639</link>
      <description>&lt;P&gt;Thanks for providing this output. The only anomaly I can find is that there is an extra comma appearing after the RANDFILE key. I have no idea how this has entered into the OS environment but it might indicate an environment variable with no name.. I wonder if you can find it by right click  "This PC" &amp;gt; "Properties" &amp;gt; Environment variables &amp;gt; check both boxes.&lt;/P&gt;

&lt;P&gt;You also didn't mention what version of Splunk you are using, but some of my research indicates this might resolve if you use Python 3 - this will happen if you are using Splunk 8 and above.&lt;/P&gt;

&lt;P&gt;All the best and let me know what you find out.&lt;BR /&gt;
Cheers. Chris&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 08:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468879#M57639</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-06-04T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468880#M57640</link>
      <description>&lt;P&gt;Thanks Chris,&lt;BR /&gt;
Probably the above error is my mistake in trying to anonymize the data I sent you!&lt;/P&gt;

&lt;P&gt;About the version of Splunk I am using the latest 8.0.4.&lt;/P&gt;

&lt;P&gt;In any case I am already using Python3 (I have configured server.conf as described in the documentation) even if using the command you have suggested it replies with python 2.7.&lt;BR /&gt;
So now I forced to use Python3 and I have the following result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;environ({'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\Giuseppe\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'DESKTOP', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'CONFIGSETROOT': 'C:\\WINDOWS\\ConfigSetRoot', 'DOKANLIBRARY1': 'C:\\Program Files\\Dokan\\Dokan Library-1.3.1\\', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\Giuseppe', 'LOCALAPPDATA': 'C:\\Users\\Giuseppe\\AppData\\Local', 'LOGONSERVER': '\\\\DESKTOP', 'NUMBER_OF_PROCESSORS': '8', 'OS': 'Windows_NT', 'PATH': 'C:\\Program Files\\Splunk\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Infocert\\DiKe 6\\RAO;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\Giuseppe\\AppData\\Local\\Microsoft\\WindowsApps', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 142 Stepping 10, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '8e0a', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PROMPT': '$P$G', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINDOWS', 'TEMP': 'C:\\Users\\GIUSEP~1\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\GIUSEP~1\\AppData\\Local\\Temp', 'USERDOMAIN': 'AzureAD', 'USERDOMAIN_ROAMINGPROFILE': 'AzureAD', 'USERNAME': 'Giuseppe', 'USERPROFILE': 'C:\\Users\\Giuseppe', 'VBOX_MSI_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINDOWS', 'HOSTNAME': 'DESKTOP', 'SPLUNK_HOME': 'C:\\Program Files\\Splunk', 'SPLUNK_DB': 'C:\\Program Files\\Splunk\\var\\lib\\splunk', 'SPLUNK_ETC': 'C:\\Program Files\\Splunk\\etc', 'RANDFILE': 'C:\\Program Files\\Splunk\\var\\run\\.rnd', 'SPLUNK_SERVER_NAME': 'Splunkd', 'SPLUNK_WEB_NAME': 'splunkweb', 'PYTHONHASHSEED': 'random', 'PYTHONUTF8': '1', 'NODE_PATH': 'C:\\Program Files\\Splunk\\lib\\node_modules', 'OPENSSL_CONF': 'C:\\Program Files\\Splunk\\openssl.cnf', 'SSL_CERT_FILE': 'C:\\Program Files\\Splunk\\cert.pem', 'LDAPCONF': 'C:\\Program Files\\Splunk\\etc\\openldap\\ldap.conf'})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But none &lt;CODE&gt;u'some_value'&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Ciao and Thanks.&lt;/P&gt;

&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468880#M57640</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-06-04T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468881#M57641</link>
      <description>&lt;P&gt;can you do the same commands as before &lt;CODE&gt;bin\splunk cmd python&lt;/CODE&gt;  and now try running this command:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;import os, subprocess; env_copy = os.environ.copy(); p = subprocess.Popen(['bin\\splunk', 'btool', 'check', '--debug'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=False, env=env_copy); o = p.communicate(); o&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 19:54:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/468881#M57641</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-06-04T19:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/503633#M62090</link>
      <description>&lt;P&gt;Thank you for reporting this problem. I figured out what was causing the problem and I have pushed a new version to Splunkbase.&amp;nbsp;&lt;SPAN&gt;OK Please download version 1.4.9 from here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://splunkbase.splunk.com/app/4353/" target="_blank"&gt;https://splunkbase.splunk.com/app/4353/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best of luck and let me know if you have any more problems&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 20:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/503633#M62090</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-06-09T20:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/504974#M62162</link>
      <description>&lt;P&gt;hi! I had the same issue but with the latest version&amp;nbsp;&lt;SPAN&gt;1.4.9 now it works!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 13:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/504974#M62162</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2020-06-18T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Config Explorer error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/531074#M64287</link>
      <description>&lt;P&gt;I have a same problem and it seems like, im useing&amp;nbsp;Python-2.7. Can anyone help me on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 21:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Config-Explorer-error/m-p/531074#M64287</guid>
      <dc:creator>fnlfaraz</dc:creator>
      <dc:date>2020-11-26T21:19:06Z</dc:date>
    </item>
  </channel>
</rss>

