Friday, August 4, 2017

Re: dbext hangs with sqlplus connection



On Fri, Aug 4, 2017 at 2:33 PM, David Fishburn <dfishburn.vim@gmail.com> wrote:


On dbext version 25 if I set:
let g:dbext_default_use_jobs=0

I would leave that at zero, until I get a chance to find the async issue.


Ok, will do.

 
When you show the display_cmd_line=1 and the error show above, can you paste what the command line was to compare the output.


Here, $TMPDIR was set to '/Users/dwierenga/vimtemp'  just to make sure there weren't any weird MacOS permission problems with special system folders.   It's purposefully in my home directory and mode 755.

For this error:

Error detected while processing function dbext#DB_execRangeSql[14]..dbext#DB_execSql[33]..dbext#DB_execFuncTypeWCheck[37]..<SNR>55_DB_ORA_execSql[32]..<SNR>55_DB_runCmdJobSupport[7]..<SNR>55_DB_runCmd:
line   24:
E484: Can't open file /Users/dwierenga/vimtemp/vf1hRyr/1

The actual command was (connection info redacted of course):
/Users/dwierenga/oracle/instantclient_12_1/sqlplus -S "username/password@hostname:port/SID" @/Users/dwierenga/vimtemp/vf1hRyr/dbext.sql

It looks like dbext thinks there's a file named "1" in that directory, but that directory only has dbext.sql inside it. 

Thanks for looking into this! 
 

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: