thoughtspot / thoughtspot/cs_tools

Getting a TMLDecodeError After Update 10.13

Open
#269 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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

+-----------------------------------------------------------------------------+
| |
| Info snapshot taken on 2025-10-10 |
| |
| CS Tools: 1.6.4 |
| Python Version: Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 |
| 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] |
| System Info: Windows (detail: |
| Windows-2025Server-10.0.26100-SP0) |
| Configs Directory: |
| C:\Users\VssAdministrator\AppData\Roaming*** |
| Activate VirtualEnv: |
| C:\hostedtoolcache\windows\Python\3.12.10\x64\Activate.ps1 |
| Platform Tags: win_amd64 |
| |
+-----------------------------------------------------------------------------+

Description

Getting a new error after the 10.13 upgrade. There is a new property in the TML files called spotterconfig and cs_tools doesn't seem to recognize it.

Considering adding a log file.

┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages*\cl │
│ i\dependencies_decorator.py:92 in wrapper │
│ │
│ C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages*
\cl │
│ i\tools\scriptability\app.py:344 in deploy │
│ │
│ C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages\thoughtspot │
│ _tml_tml.py:239 in load │
│ │
│ C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages\thoughtspot │
│ _tml_tml.py:235 in load │
│ │
│ C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages\thoughtspot │
│ _tml_tml.py:213 in loads │
└─────────────────────────────────────────────────────────────────────────────┘
TMLDecodeError: Unrecognized attribute in the TML spec: 'spotter_config'

File
'D:\a\1\s\TML\Deployments\model\f2a82c5c-7bf4-4b87-abf4-8a5fb96fa235.model.tml'
may not be a valid Model file

┌──────────────────── 😓 This is an unhandled error! 😓 ────────────────────┐
│ │
│ If you encounter this message more than once, please help by letting us │
│ know! │
│ │

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with thoughtspot_tml/_tml.py, especially the loads and load entry points shown in the traceback, then trace the deploy call from cli/tools/scriptability/app.py. Reproduce the failure with the referenced model.tml file and inspect how the spotter_config attribute is handled. Done means valid TML containing this attribute no longer raises TMLDecodeError during deployment, with regression coverage added if the repository has parser tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.