I have created a build script to test sql with psql. When the script is invoked I see the following in the console.
Here is the JSON for the file, sql.sublime-build
`{
"shell_cmd": ["psql", "-U", "tevs", "-d", "tevs", "-o", "/Users/Wes/Dropbox/Programming/ElectionTransparency/psql_out.txt", "-f", "$file"]
}`
When I run it I see the following on the console
Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 795, in run_ return self.run(**args) File "exec in /Applications/Sublime Text.app/Contents/MacOS/Packages/Default.sublime-package", line 238, in run TypeError: Can't convert 'list' object to str implicitly
If I insert a print call in sublime_plugin.py just before line 795 I the following
{'shell_cmd': ['psql', '-U', 'tevs', '-d', 'tevs', '-o', '/Users/Wes/Dropbox/Programming/ElectionTransparency/psql_out.txt', '-f', '/Users/Wes/Dropbox/Programming/ElectionTransparency/testbuild.sql']}
Can this be corrected?