Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405) with Postgres 8.2.1. I've configured the SQL Bundle and when I try to activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert Array into String (TypeError) from /Applications/TextMate.app/ Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb: 178 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from / Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/ Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in another posting, but that did not help.
Thanks for looking into this.
-B
Hi,
I unfortunately forgot to add to the help for Postgres users:
• You need the psql binary • If your psql binary is not called “psql” then you need to set a shell variable TM_PSQL to the path to your binary in the TextMate preferences
I hope to eliminate the dependancy on the client binaries in the next version.
On 12 Jul 2007, at 20:22, Barry Brown wrote:
Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405) with Postgres 8.2.1. I've configured the SQL Bundle and when I try to activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert Array into String (TypeError) from /Applications/ TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/ bin/db_browser.rb:178 from /Applications/TextMate.app/Contents/ SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from /Applications/TextMate.app/Contents/SharedSupport/ Bundles/SQL.tmbundle/Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in another posting, but that did not help.
Thanks for looking into this.
-B
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I had the same problem... Just adding the TM_PSQL shell variable works for me.
Thanks!
On 7/12/07, Ciarán Walsh ciawal@gmail.com wrote:
Hi,
I unfortunately forgot to add to the help for Postgres users:
• You need the psql binary • If your psql binary is not called "psql" then you need to set a shell variable TM_PSQL to the path to your binary in the TextMate preferences
I hope to eliminate the dependancy on the client binaries in the next version.
On 12 Jul 2007, at 20:22, Barry Brown wrote:
Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405) with Postgres 8.2.1. I've configured the SQL Bundle and when I try to activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert Array into String (TypeError) from /Applications/ TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/ bin/db_browser.rb:178 from /Applications/TextMate.app/Contents/ SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from /Applications/TextMate.app/Contents/SharedSupport/ Bundles/SQL.tmbundle/Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in another posting, but that did not help.
Thanks for looking into this.
-B
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Ah! I saw references to the psql binary in the bundle code, but figured that was some Ruby-ism that allows you to make modules that work like shell programs. Will future versions of the bundle use libraries instead of external programs?
-B
On Jul 12, 2007, at 6:11 PM, Ciarán Walsh wrote:
Hi,
I unfortunately forgot to add to the help for Postgres users:
• You need the psql binary • If your psql binary is not called “psql” then you need to set a shell variable TM_PSQL to the path to your binary in the TextMate preferences
I hope to eliminate the dependancy on the client binaries in the next version.
On 12 Jul 2007, at 20:22, Barry Brown wrote:
Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405) with Postgres 8.2.1. I've configured the SQL Bundle and when I try to activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert Array into String (TypeError) from /Applications/ TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/ bin/db_browser.rb:178 from /Applications/TextMate.app/Contents/ SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb: 167:in `html' from /Applications/TextMate.app/Contents/ SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in another posting, but that did not help.
Thanks for looking into this.
-B
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I think I understand your answer. Your answer is "yes, I will use libraries" and not "I will simply package psql with TM so the user doesn't have to install it themselves."
-B
On Jul 13, 2007, at 10:29 AM, Ciarán Walsh wrote:
On 13 Jul 2007, at 17:01, Barry Brown wrote:
Will future versions of the bundle use libraries instead of external programs?
On Jul 12, 2007, at 6:11 PM, Ciarán Walsh wrote:
I hope to eliminate the dependancy on the client binaries in the next version.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate