Closed tkopets closed 7 years ago
I will look into it.
Additionally, this error shows up in the Sublime Text console:
Exception in thread Thread-23:
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "C:\Users\T.Kopets\AppData\Roaming\Sublime Text 3\Packages\SQLTools\SQLToolsAPI\Command.py", line 64, in run
results, errors = self.process.communicate(input=self.query.encode())
File "./python3.3/subprocess.py", line 920, in communicate
File "./python3.3/subprocess.py", line 1194, in _communicate
ValueError: write to closed file
I forgot to call proc.terminate(), but your pull request certainly fixes it. Thanks!
Issue Type: Bugfix/Errors Version: v0.9.0 OS: MacOS RDBMS: MySQL, PostgreSQL (probably all)
Description
When any SQLTools command is run (Exec Query, Table Description, Show Records) you always get a
thread_timeout
related message, afterthread_timeout
seconds has passed.Note: cannot reproduce on Windows (most probably issue is relevant only for MacOS and Linux).
Steps to Reproduce
"use_streams": true
in settings, configure connectionsExpected behavior: Only the output from DB CLI is expected in SQLTools output
Actual behavior: Additional message
is displayed in the SQLTools output after
thread_timeout
seconds has passed.