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

Barry Brown barry at barrybrown.us
Fri Jul 13 16:01:02 UTC 2007


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 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




More information about the textmate mailing list