Hello,
I'm trying to use the sql.bundle with TextMate 1.5.9 (1510) and Postgres 8.4.2 (kyngchaos binary). After the configuration when I click on excecute line as query, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b undle: dlopen(/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/key chain.bundle, 9): no suitable image found. Did find: (LoadError) /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b undle: no matching architecture in universal wrapper - /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b undle from /Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo rt/bin/db_browser_lib.rb:5 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo rt/bin/db_browser.rb:8:in `require' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo rt/bin/db_browser.rb:8
I've already tried to set up TM_PSQL shell variable, but that did not help.
Thanks for your help. Peter
On 13 Feb 2010, at 11:51, Peter Zalavari wrote:
I'm trying to use the sql.bundle with TextMate 1.5.9 (1510) and Postgres 8.4.2 (kyngchaos binary). After the configuration when I click on excecute line as query, I see this error message: [...] no suitable image found [...] keychain.bundle
Try Preferences → Software Update and switch to Cutting Edge. I believe that version has a build of the KeyChain ruby extension (which we use) that is compatible with SnowLeopard’s 64 bit ruby.
Thanks Allan! I upgraded to the newest cutting edge version und the database browser seems to be working now, but unfortunately I can't run a query. If I click on execute line as query, the database browser window appears: "Please choose a table from the left". Peter
On 14 Feb 2010, at 18:04, Peter Zalavari wrote:
I upgraded to the newest cutting edge version und the database browser seems to be working now, but unfortunately I can't run a query. If I click on execute line as query, the database browser window appears: "Please choose a table from the left".
The Execute Line as Query works on the current line/selection in the document. Not sure if you entered such. Though even w/o a (valid) line, it should show your database tables in the left side, not sure if it did that!?!