thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
8 stars 6 forks source link

Configuration check of CStools #63

Closed Eocin1 closed 1 year ago

Eocin1 commented 1 year ago

First Stop

Platform Configuration

Info snapshot taken on 2023-05-31 │ │ │ │ CS Tools: 1.4.6 │ │ Python Version: Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] │ │ System Info: Windows (detail: Windows-10-10.0.22621-SP0) │ │ Configs Directory: C:\Users\ {anonymous} \AppData\Roaming\cs_tools │ │ Activate VirtualEnv: C:\Users\ {anonymous} \AppData\Roaming\cs_tools.cs_tools\Scripts\Activate.ps1 │ │ Platform Tags: win-amd64

Description

Cs_tools config check --config CSTool_dev provides unboundLocalError log collected and attached. 2023-05-31T14_33_37.log

boonhapus commented 1 year ago

@Eocin1 It looks like you're getting a 404 (page not found) for session/info , are you setting up a new configuration or did this start on an existing configuration?

Eocin1 commented 1 year ago

I am building on the existing configuration .

boonhapus commented 1 year ago

@Eocin1 can you check your configuration and make sure your ThoughtSpot URL is correct? It should be the same one you type when connecting in the UI.

cs_tools config show --config CSTool_dev

Additionally, if you use cs_tools config check --config cstool_dev --verbose, we might be able to get past that UnboundLocalError at the moment. That's easy to fix and I'll release a new update soon for that one.

boonhapus commented 1 year ago

@Eocin1 Updating to 1.4.7 should fix the issue with UnboundLocalError which can likely give you more insight into the HTTP 404. The only other thing I can think of for 404 is if your ThoughtSpot version is <8.4.1 ... we raised this requirement due to migrating off all of the internal APIs.

ThoughSpot Software version 8.4.1 was the first TSE release, which showed an incredible effort in standardizing the API layer. This version was released in November 2022.