question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

changing tabs when running multiple queries throws error

See original GitHub issue

When I run multiple queries in a @block against postgres, if I try to change tabs in the output window, I get the following error:

Error: The columnWidths property of the TableColumnResizing plugin is given an invalid value.

    in GetterBase
    in Unknown
    in Unknown
    in PluginIndexer
    in PluginBase
    in Unknown
    in Unknown
    in Unknown
    in PluginIndexer
    in PluginBase
    in Unknown
    in Unknown
    in GridCore
    in PluginIndexer
    in PluginHostBase
    in Unknown
    in Grid
    in div
    in ForwardRef
    in ForwardRef
    in Unknown
    in Unknown
    in div
    in Unknown
    in Unknown
    in Unknown
    in ErrorBoundary
    in ThemeProvider_ThemeProvider
    in Unknown

Desktop (please complete the following information):

  • SQLTools Version v0.25.1
  • VS Code Version: 1.71.2
  • OS: Mac
  • Driver:
    • [✅ ] PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which…
  • Database version: [PostgreSQL v10]

Additional context Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

1reaction
leonid-shevtsovcommented, Sep 27, 2022

Also happens if you set "sqltools.results.reuseTabs": "connection" and run a new query.

Seems like it has to do with the number of columns in the result set; if it changes you get the error.

0reactions
gjsjohnmurraycommented, Oct 20, 2022

@mtxr when you have some time please investigate this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.ArgumentException thrown when switching tabs after ...
If we open an existing tab, the tab loads perfectly. We then start a new tab, run a report, which brings focus to...
Read more >
Dealing with errors - Power Query | Microsoft Learn
On the Transform tab, in the Any column group, select Replace values. From the drop-down menu, select Replace errors.
Read more >
15.10 - Running Multiple Queries - SQL Assistant
Running Multiple Queries Multiple queries can run at the same time, either from multiple tabs within one Query window or from multiple Query...
Read more >
Running Multiple Queries in Oracle SQL Developer
When do same using 'Run statement' (F9) selecting both of them then I will get two 'Query Result' tabs one next to another....
Read more >
Work with multi-statement queries | BigQuery - Google Cloud
For example, if there is no temporary table named t3 , the multi-statement query throws an error even if a table named t3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found