Skip to content

Getting IndexError: list index out of range while executing cs_tools tools searchable deploy command #218

Description

@Subhransuusa

First Stop

  • I have read and agreed to the ThoughtSpot LICENSE.
  • I understand that if I have a critical issue with ThoughtSpot, I should reach out to my designated Account Executive and Customer Success Manager instead of cs_tools.

Platform Configuration

│ │ ] │ │
│ │ TOOL_TASKS = [ │ │
│ │ │ <cs_tools.cli.progress.WorkTask object at 0x7f909d566a70>, │ │
│ │ │ <cs_tools.cli.progress.WorkTask object at 0x7f909e47d6c0>, │ │
│ │ │ <cs_tools.cli.progress.WorkTask object at 0x7f909e47e1a0> │ │
│ │ ] │ │
│ │ tracker = <cs_tools.cli.progress.WorkTracker object at 0x7f909d022380> │ │
│ │ ts = <cs_tools.thoughtspot.ThoughtSpot object at 0x7f909c85b520> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
IndexError: list index out of range

                      ╭───────────────────── 😅  This is an unhandled error!  😅 ─────────────────────╮
                      │                                                                               │
                      │ If you encounter this message more than once, please help by letting us know! │
                      │                                                                               │
                      │           GitHub: https://github.com/thoughtspot/cs_tools/issues/new/choose   │
                      │                                                                               │
                      ╰──────────── Run cs_tools logs report to send us your last error. ─────────────╯


 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
                                                    Deploying Searchable
 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  Getting details for data source               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0:00:00
  Customizing Searchable Model to your cluster  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0:00:00
  Deploying TML to ThoughtSpot                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0:00:08
 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  Elapsed   0h 00m 09s                                  Control-C to Quit                                0 Background Tasks
 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Description

I am using the deploy command : cs_tools tools searchable deploy --connection-guid 36bb83f5-5755-480e-942e-bd058053a266 --database MPA_DW --schema THOUGHTSPOT_METADATA --config thoughtspot_dev_instance

it populated below information and then "Index out of range error" came.

PA_DW --schema THOUGHTSPOT_METADATA --config thoughtspot_dev_instance
[22:43:13] INFO TABLE 'TS_METADATA_COLUMN' successfully imported app.py:184
INFO TABLE 'TS_USER' successfully imported app.py:184
INFO TABLE 'TS_SHARING_ACCESS' successfully imported app.py:184
INFO TABLE 'TS_DATA_SOURCE' successfully imported app.py:184
INFO WORKSHEET 'CS Tools ~ BI Server Advanced' successfully imported app.py:184
INFO TABLE 'TS_ORG' successfully imported app.py:184
INFO LIVEBOARD 'CS Tools ~ Worksheet Column Utilization' successfully imported app.py:184
INFO LIVEBOARD 'CS Tools ~ ThoughtSpot Adoption' successfully imported app.py:184

2025-04-01T17_27_35.log

Considering adding a log file.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions