ChrisYounger / config_explorer

Config viewer and file editor for Splunk. Based on VSCode.
GNU Affero General Public License v3.0
28 stars 7 forks source link

Config Explorer error #17

Closed bshuler closed 4 years ago

bshuler commented 4 years ago

this is a continuation of

https://answers.splunk.com/answers/826273/config-explorer-error.html

as answers is read only for a few days.

I am also having the issue and I ran the suggested command. output below:

C:\Program Files\Splunk>bin\splunk.exe cmd python Python 2.7.17 (default, Apr 29 2020, 03:20:34) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

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 ('Checking: C:\Program Files\Splunk\etc\users\bshuler\search\local\ui-tour.conf\r\n<REPEATED, REDACTED FOR BREVITY>Checking: C:\Program Files\Splunk\etc\system\local\web.conf\r\n', None) quit()

ChrisYounger commented 4 years ago

Thanks for reporting this. I have now been able to reproduce the problem and I have a fix almost complete that I will push soon.

ChrisYounger commented 4 years ago

OK Please download version 1.4.9 and give it a try. Let me know if you still have problems. Thanks for bringing this problem to my attention.

bshuler commented 4 years ago

Looks good, works. Thanks!