mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

History and List and Insert Saved Queries do not work anymore #227

Open matthiasmast opened 4 years ago

matthiasmast commented 4 years ago

Issue Type

Bug/Error

Description

"ST: History" and "ST: List and Insert Saved Queries" do not work anymore

Console Log:

"ST: History" Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 1052, in run return self.run() File "C:\Users\matth\AppData\Roaming\Sublime Text 3\Packages\SQLTools\SQLTools.py", line 727, in run if len(historyStore.all()) == 0: AttributeError: 'NoneType' object has no attribute 'all'

"ST: List and Insert Saved Queries" Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 1050, in run return self.run(**args) File "C:\Users\matth\AppData\Roaming\Sublime Text 3\Packages\SQLTools\SQLTools.py", line 757, in run queriesList = queriesStore.all() AttributeError: 'NoneType' object has no attribute 'all'

Version

Steps to Reproduce (For bugfixes)

  1. Run the command