Closed fahad3git closed 6 years ago
Hello,
What has changed than before, when Vorax could start? It's an odd error...
Really I don't know.
Sqlplus is working fine from terminal, and vim.
Hi talek,
Is there a way to solve this issue.
Thank you.
Hi,
Please tell me more about your configuration.
) OS ) ruby version ) Vim version ) Vorax version
Also, do you use an OS provided vim with ruby support or did you compile VIM yourself?
OS Information
LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 28 (Twenty Eight) Release: 28 Codename: TwentyEight
Kernel Information
4.17.18-200.fc28.x86_64
Ruby Version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
Vim Version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 13 2018 13:12:23)
Included patches: 1-279
Modified by bugzilla@redhat.com
Compiled by bugzilla@redhat.com
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +extra_search +mouse_netterm +tag_old_static
+arabic +farsi +mouse_sgr -tag_any_white
+autocmd +file_in_path -mouse_sysmouse -tcl
+autochdir +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
+balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
+browse +fork() -mzscheme +textobjects
++builtin_terms +gettext +netbeans_intg +timers
+byte_offset -hangul_input +num64 +title
+channel +iconv +packages +toolbar
+cindent +insert_expand +path_extra +user_commands
+clientserver +job +perl/dyn +vartabs
+clipboard +jumplist +persistent_undo +vertsplit
+cmdline_compl +keymap +postscript +virtualedit
+cmdline_hist +lambda +printer +visual
+cmdline_info +langmap +profile +visualextra
+comments +libcall +python/dyn +viminfo
+conceal +linebreak +python3/dyn +vreplace
+cryptv +lispindent +quickfix +wildignore
+cscope +listcmds +reltime +wildmenu
+cursorbind +localmap +rightleft +windows
+cursorshape +lua/dyn +ruby/dyn +writebackup
+dialog_con_gui +menu +scrollbind +X11
+diff +mksession +signs -xfontset
+digraphs +modify_fname +smartindent +xim
+dnd +mouse +startuptime +xpm
-ebcdic +mouseshape +statusline +xsmp_interact
+emacs_tags +mouse_dec -sun_workshop +xterm_clipboard
+eval +mouse_gpm +syntax -xterm_save
+ex_extra -mouse_jsbterm +tag_binary
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/vim81"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lSM -lICE -lm -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc
Vorax Version
Also, I'm using an OS provided vim with ruby support.
Ok, I was able to reproduce the issue on a Fedora system. Apparently the problem is lurking down into the childprocess library. What I did was to go directly into ~/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess.rb and change the line 36 as shown below:
The funny part is that the error appears just within the ruby code invoked from Vim, not directly as a plain/regular ruby script. Please check if this workaround can be used on your system.
Thank you.
It is working fine now.
I really appreciate it.
Hello,
Today odd thing happened when I tried to use vorax4. I'm receiving the following message:
Initializing connection... /usr/share/ruby/logger.rb:746:in'
Error detected while processing function 125_OpenNode[2]..302[8]..316[12]..124_Connect[7]..vorax#sqlplus#Connect[14]..vorax#sqlplus#Initialize[7]..vorax#sqlplus#ExecImmediate[11]..vorax#ruby#SqlplusExec:
initialize' /usr/share/ruby/logger.rb:746:in
open' /usr/share/ruby/logger.rb:746:inopen_logfile' /usr/share/ruby/logger.rb:738:in
set_dev' /usr/share/ruby/logger.rb:673:ininitialize' /usr/share/ruby/logger.rb:387:in
new' /usr/share/ruby/logger.rb:387:ininitialize' /home/fahad/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess.rb:36:in
new' /home/fahad/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess.rb:36:inlogger' /home/fahad/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess/abstract_process.rb:184:in
log' /home/fahad/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess/unix/process.rb:35:inexited?' /home/fahad/.gem/ruby/gems/childprocess-0.9.0/lib/childprocess/abstract_process.rb:134:in
alive?' eval:33:insqlplus_alive?' eval:14:in
with_sqlplus' eval:2:in `line 34: TypeError: no implicit conversion of Object into String Error detected while processing function125_OpenNode[2]..302:
line 8:
E171: Missing :endif
would you please help me in resolving such error, because currently, my work is really dependent on your plugin.
Thank you.