jum4 / sublime-sqlexec

A Plugin for running SQL commands in Sublime Text
http://lubriciousdevelopers.github.io/projects/sublime-sql-exec
99 stars 48 forks source link

Fresh install doesn't work on SublimeText 3 #31

Open andrei-cacio opened 10 years ago

andrei-cacio commented 10 years ago

I did a fresh install via the Package Manager and when I try to list the connection list nothing happens and I get this in the ST3 console:

File "SQLExec in /home/andrei/.config/sublime-text-3/Installed Packages/SQLExec.sublime-package", line 140, in sqlChangeConnection IndexError: list index out of range

Even if I add some connections here: ( Preferences > Package Settings > SQLExec > Settings - User ) It still crashes.

I hope this reproduction helps you. Thanks, Andrei

andrei-cacio commented 10 years ago

Seems to be working now...

ChrisCos commented 10 years ago

I hit this too. This occurs if you have a misconfigured user settings file. Re-check the user settings and make sure you have the correct JSON.