[TxMt] SQL Bundle: Database Browser with Postgres shows error message

José Tiburcio Ribeiro Netto jtibunetto at gmail.com
Fri Jul 13 01:35:48 UTC 2007


I had the same problem...
Just adding the TM_PSQL shell variable works for me.

Thanks!

On 7/12/07, Ciarán Walsh <ciawal at 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 at 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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070712/3c2bac2d/attachment.html>


More information about the textmate mailing list