Closed spadgett closed 8 years ago
I seem to be running into the same problem, I also get a whole bunch of
2014-08-21 11:24:45.289 AM VimR[29403]: -[MMVimController(Private) addMenuItemWithDescriptor:atIndex:tip:icon:keyEquivalent:modifierMask:action:isAlternate:]@1143: Menu item 'Plugin->eclim->Buffers' has no parent
type errors.
Oh, right. That's because I do not respond to all calls from MacVim(Framework). I'll try to figure out the minimal amount of reaction needed.
I am having the same issue so I left here my .vimrc if it could help to resolve the issue.
" https://github.com/sontek/dotfiles/ " ========================================================== " Dependencies - Libraries/Applications outside of vim " ========================================================== " Pep8 - http://pypi.python.org/pypi/pep8 " Pyflakes " Ack " nose, django-nose
" ========================================================== " Plugins included " ========================================================== " Pathogen " Better Management of VIM plugins " " GunDo " Visual Undo in vim with diff's to check the differences " " Pytest " Runs your Python tests in Vim. " " Commant-T " Allows easy search and opening of files within a given path " " Snipmate " Configurable snippets to avoid re-typing common comands " " PyFlakes " Underlines and displays errors with Python on-the-fly " " Fugitive " Interface with git from vim " " Git " Syntax highlighting for git config files " " Pydoc " Opens up pydoc within vim " " Surround " Allows you to surround text with open/close tags " " Py.test " Run py.test test's from within vim " " MakeGreen " Generic test runner that works with nose " " ========================================================== " Shortcuts " ========================================================== set nocompatible " Don't be compatible with vi let mapleader="," " change the leader to be a comma vs slash
" Seriously, guys. It's not like :W is bound to anything anyway. command! W :w
fu! SplitScroll()
:wincmd v
:wincmd w
execute "normal!
nmap
"
" sudo write this cmap W! w !sudo tee % >/dev/null
" Toggle the tasklist
map
" Run pep8
let g:pep8_map='
" run py.test's
nmap
" Run django tests
map
" Reload Vimrc
map
" open/close the quickfix window
nmap
" for when we forget to use sudo to open/edit a file cmap w!! w !sudo tee % >/dev/null
" ctrl-jklm changes to that split
map
" and lets make these all work in insert mode too (
" Open NerdTree
let g:NERDTreeDirArrows=0
let g:NERDTreeStatusline = "%t"""
map
map
" Ack searching
nmap
" Load the Gundo window
map
" Jump to the definition of whatever the cursor is on
map
" Rename whatever the cursor is on (including references to it)
map
" ==========================================================
" Basic Settings
" ==========================================================
syntax on " syntax highlighing
filetype on " try to detect filetypes
filetype plugin indent on " enable loading indent file for filetype
set number " Display line numbers
set numberwidth=1 " using only 1 column (and 1 space) while possible
set background=dark " We are using dark background in vim
set title " show title in console title bar
set wildmenu " Menu completion in command mode on
" don't bell or blink set noerrorbells set vb t_vb=
" Ignore these files when completing set wildignore+=.o,.obj,.git,.pyc set wildignore+=eggs/ set wildignore+=.egg-info/
set grepprg=ack " replace the default grep program with ack
" Set working directory
nnoremap
" Disable the colorcolumn when switching modes. Make sure this is the " first autocmd for the filetype here "autocmd FileType * setlocal colorcolumn=0
""" Insert completion " don't select first item, follow typing in autocomplete set completeopt=menuone,longest,preview set pumheight=6 " Keep a small completion window
""" Moving Around/Editing
set cursorline " have a line indicate the cursor location
set ruler " show the cursor position all the time
set nostartofline " Avoid moving cursor to BOL when jumping around
set virtualedit=block " Let cursor move past the last char in
" don't outdent hashes inoremap # #
" close preview window automatically when we move around autocmd CursorMovedI * if pumvisible() == 0|pclose|endif autocmd InsertLeave * if pumvisible() == 0|pclose|endif
"""" Reading/Writing set noautowrite " Never write a file unless I request it. set noautowriteall " NEVER. set noautoread " Don't automatically re-read changed files. set modeline " Allow vim options to be embedded in files; set modelines=5 " they must be within the first or last 5 lines. set ffs=unix,dos,mac " Try recognizing dos, unix, and mac line endings.
"""" Messages, Info, Status set ls=2 " allways show status line set vb t_vb= " Disable all bells. I hate ringing/flashing. set confirm " Y-N-C prompt if closing with unsaved changes. set showcmd " Show incomplete normal mode commands as I type. set report=0 " : commands always print changed line count. set shortmess+=a " Use [+]/[RO]/[w] for modified/readonly/written. set ruler " Show some info, even without statuslines. set laststatus=2 " Always show statusline, even if only 1 window. set statusline=[%l,%v\ %P%M]\ %f\ %r%h%w\ (%{&ff})\ %{fugitive#statusline()}
" displays tabs with :set list & displays when a line runs off-screen set listchars=tab:>-,eol:$,trail:-,precedes:<,extends:> set list
""" Searching and Patterns set ignorecase " Default to using case insensitive searches, set smartcase " unless uppercase letters are used in the regex. set smarttab " Handle tabs more intelligently set hlsearch " Highlight searches by default. set incsearch " Incrementally search while typing a /regex
"""" Display if has("gui_running") " Remove menu bar set guioptions-=m
" Remove toolbar
set guioptions-=T
endif
" Paste from clipboard
map
" Quit window on
" hide matches on
" Remove trailing whitespace on
" Select the item in the list with enter
" inoremap
" ========================================================== " Javascript " ========================================================== au BufRead *.js set makeprg=jslint\ %
" Use tab to scroll through autocomplete menus
"autocmd VimEnter * imap
let g:acp_completeoptPreview=1
" =========================================================== " FileType specific changes " ============================================================ " Mako/HTML autocmd BufNewFile,BufRead .mako,.mak,*.jinja2 setlocal ft=html autocmd FileType html,xhtml,xml,css setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=2
" Python "au BufRead .py compiler nose au FileType python set omnifunc=pythoncomplete#Complete au FileType python setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4 smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with au FileType coffee setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4 smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with au BufRead .py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\,\ line\ %l%.%#,%Z%[%^\ ]%\@=%m " Don't let pyflakes use the quickfix window let g:pyflakes_use_quickfix = 0 let g:SuperTabDefaultCompletionType = "context"
" Add the virtualenv's site-packages to vim path if has('python') py << EOF import os.path import sys import vim if 'VIRTUAL_ENV' in os.environ: project_base_dir = os.environ['VIRTUAL_ENV'] sys.path.insert(0, project_base_dir) activate_this = os.path.join(project_base_dir, 'bin/activate_this.py') execfile(activate_this, dict(file=activate_this)) EOF endif
" Load up virtualenv's vimrc if it exists if filereadable($VIRTUAL_ENV . '/.vimrc') source $VIRTUAL_ENV/.vimrc endif
if exists("&colorcolumn") set colorcolumn=79 endif syntax enable
set nocompatible " be iMproved filetype off " required!
set rtp+=~/.vim/bundle/vundle/ call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'Valloric/YouCompleteMe'
filetype plugin on
syntax enable
set mouse=a
set clipboard=unnamed
nmap
set background=dark set hlsearch set nu set smartindent set tabstop=4 set shiftwidth=4 set expandtab
"au BufReadPost .xml colorscheme github
"au BufReadPost .sh colorscheme github
"au BufReadPost .twig colorscheme koehler
"au BufReadPost .css colorscheme monokai
"au BufReadPost .js colorscheme gitub
"au BufReadPost .py colorscheme github
"au BufReadPost .tex colorscheme github
"au BufReadPost .bib colorscheme github
""au BufReadPost .ml colorscheme dracula
"au BufReadPost .json colorscheme dracula
"au BufReadPost .html colorscheme dracula
"au BufReadPost .java colorscheme github
"au BufReadPost .ml colorscheme dracula
"au BufReadPost .mli colorscheme dracula
"au BufReadPost .c colorscheme github
""au BufReadPost .h colorscheme dracula
""au BufReadPost *.php colorscheme two2tango
"
"
colorscheme github
"#TagbarToogle
nmap
"Noode JS" au FileType javascript set dictionary+=$HOME/.vim/dict/vim-node-dict/dict/node.dict set gfn=Monaco:h12 set omnifunc=syntaxcomplete#Complete
"set foldmethod=indent "set foldlevel=1 "set foldclose=all
"augroup vimrc "au BufReadPre * setlocal foldmethod=indent "au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif "augroup END'' " " "colorscheme dracula set nolist
let g:ocp_indent_vimfile = system("opam config var share") let g:ocp_indent_vimfile = substitute(g:ocp_indent_vimfile, '[\r\n]*$', '', '') let g:ocp_indent_vimfile = g:ocp_indent_vimfile . "/vim/syntax/ocp-indent.vim" autocmd FileType ocaml exec ":source " . g:ocp_indent_vimfile""""
" YCM let g:ycm_extra_confgloblist = ['~/.vim/bundle/YouCompleteMe/cpp/ycm/','!~/_'] let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/cpp/ycm/.ycm_extra_conf.py'
" Syntastic "let g:syntastic_c_checkers=['make'] "let g:syntastic_always_populate_loc_list = 1 "let g:syntastic_check_on_open=1 "let g:syntastic_enable_signs=1 "let g:syntastic_error_symbol = '✗' "let g:syntastic_warning_symbol = '⚠' "set statusline+=%#warningmsg# ""set statusline+=%{SyntasticStatuslineFlag()} "set statusline+=%*gbar
Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
set guifont=Monaco\ for\ Powerline:h12 let g:Powerline_symbols = 'fancy' set encoding=utf-8 set t_Co=256 set fillchars+=stl:\ ,stlnc:\ set term=xterm-256color set termencoding=utf-8
if has("gui_running") let s:uname = system("uname") if s:uname == "Darwin\n" set guifont=Monaco\ for\ Powerline:h12 "colorscheme github colorscheme dracula endif endif
let python_highlight_all = 1
Yes, me too. Just downloaded to take a peek but can't get anything to open. My vimrc is here: https://gist.github.com/benfrain/f09dd39e66fe2da9cf0a
Do you still have a problem when you temporarily deactivate your vimrc?
If I deactivate my vimrc everything works properly
I too can make things work by deactivating my vimrc, I tried deactivating all bundles (managed through Vundle) one by one to figure out which one was causing the problem, but couldn't find it. Pretty convinced it's caused by Eclim.
@benfrain: I tried your vimrc on my machine and VimR opens (with a slight drawing artifact on the top right corner). Maybe you're on 10.8? Since I don't have 10.8, I cannot/could not test it. Tried it without your vimrc?
@naneau @spadgett: I'll try to fix it.
@alvarofe Could you send me your .vim via mail or so? Pathogen does not seem to automatically download the plugins...
@qvacua if I remove my .vimrc I have the same issue. I am on 10.9 (Build 13E28). MacBook Air (if that makes any difference).
@spadgett and @naneau: try the snapshot http://taewon.de/snapshots/VimR-20140822-1929.tar.bz2
@benfrain: hm.. that's weird. I have exact the same setting... Could you tell me what Console says?
@qvacua The snapshot works great! Thanks.
Well, I kind of cheated: You will not be able to see any tooltips (probably) coming from eclim... I'll add (copy :blush:) the real implementation from MacVim some time later...
@alvarofe: I tried your vimrc with the vim folder; it works (on my machine...): it takes a bit more time to open the window than my setting, but it works. Does Console say anything useful?
Hi Tae,
Afraid I'm away from my computer for a week now but will send you the output on my return.
Thanks, Ben
On 22 Aug 2014, at 18:37, Tae Won Ha notifications@github.com wrote:
@benfrain: hm.. that's weird. I have exact the same setting... Could you tell me what Console says?
— Reply to this email directly or view it on GitHub.
I have this same issue.
My .vimrc https://github.com/shennyg/dotfiles/blob/master/.vimrc
My console output
8/22/14 11:12:03.393 AM VimR[70971]: objc[70971]: Class VRPlugin is implemented in both /Applications/VimR.app/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition and /Applications/VimR.app/Contents/PlugIns/Markdown.vimr-plugin/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition. One of the two will be used. Which one is undefined.
I tried the snapshot with no luck.
@qvacua snapshot works great for me as well! Thank you :)
@shennyg: I tried your vimrc and it works.. I did not enter the API key for the WakeTime, but still, it worked... You can ignore the Console output, that's no problem.
@shennyg, @benfrain, @alvarofe: Could you please delete the com.qvacua.VimR.plist
file in ~/Library/Preferences
and try to launch VimR again?
@qvacua here you have the console output https://gist.github.com/e370ba792e69baa9f57f.git
@alvarofe: it seems that it is a Python related problem: Fatal Python error: PyThreadState_Get: no current thread
(line 745 in your Console output) And it seems that others had a similar problem with MacVim. It was YCM-related problem, but maybe it's also the reason why some could not use VimR with YCM.. Could you try some suggestions outlined in the YCM-issue?
@qvacua I have MacVim and everything works fine. I'll try to research more to try understand what happen. If I find the solution, I'll let you know.
PS: Delete com.qvacua.VimR.plist from Preferences did not work
Same issue for me.
I get
objc[35995]: Class VRPlugin is implemented in both /Applications/VimR.app/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition and /Applications/VimR.app/Contents/PlugIns/Markdown.vimr-plugin/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition. One of the two will be used. Which one is undefined.
when I launch, and a gray window that can't open anything.
My vimfiles are here if that's helpful: https://github.com/sentientmonkey/vimfiles
@alvarofe Have you tried to use the stock Python of OS X?
@sentientmonkey The duplicate class thing is normal and is not the reason for the bug. Would it be possible to build VimR from source, run it and tell me what it logs (in Xcode for instance)?
@qvacua OK, finally got chance to test this. Just downloaded v0.0.2 and restarted - tried to open a file and this is the crash report from Console:
Process: Vim [3604] Path: /Applications/VimR.app/Contents/Frameworks/MacVimFramework.framework/Versions/A/Vim Identifier: Vim Version: 0 Code Type: X86-64 (Native) Parent Process: VimR [3478] Responsible: VimR [3478] User ID: 501
Date/Time: 2014-08-30 19:01:34.185 +0100 OS Version: Mac OS X 10.9.4 (13E28) Report Version: 11 Anonymous UUID: ECBE26DC-F7D6-DF8C-DCA6-CCC48B642CC7
Sleep/Wake UUID: D06FFEEF-F370-4AE6-B0A5-1BE49E1F9CEB
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0: --> __TEXT 0000000108e93000-0000000109098000 [ 2068K] r-x/rwx SM=COW /Applications/VimR.app/Contents/Frameworks/MacVimFramework.framework/Versions/A/Vim
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff94b3b292 __kill + 10 1 Vim 0x0000000108f9895b mch_exit + 219 2 Vim 0x0000000108f9b9de deathtrap + 430 3 libsystem_platform.dylib 0x00007fff8ed035aa _sigtramp + 26 4 ??? 000000000000000000 0 + 0 5 libruby.1.dylib 0x000000010d157c24 rb_intern + 53 6 libruby.1.dylib 0x000000010d10d939 rb_define_module + 16 7 ext.bundle 0x000000010adfd011 Init_ext + 21 8 libruby.2.0.0.dylib 0x000000010939dcde dln_load + 186 9 libruby.2.0.0.dylib 0x00000001094aef11 rb_vm_call_cfunc + 416 10 libruby.2.0.0.dylib 0x00000001093cf10e rb_require_safe + 1449 11 libruby.2.0.0.dylib 0x00000001094b5f49 0x10939d000 + 1150793 12 libruby.2.0.0.dylib 0x00000001094a4677 0x10939d000 + 1078903 13 libruby.2.0.0.dylib 0x00000001094ae0c8 0x10939d000 + 1118408 14 libruby.2.0.0.dylib 0x00000001094ae02d rb_iseq_eval + 366 15 libruby.2.0.0.dylib 0x00000001093cea37 0x10939d000 + 203319 16 libruby.2.0.0.dylib 0x00000001093cf070 rb_require_safe + 1291 17 libruby.2.0.0.dylib 0x00000001094b5f49 0x10939d000 + 1150793 18 libruby.2.0.0.dylib 0x00000001094a4677 0x10939d000 + 1078903 19 libruby.2.0.0.dylib 0x00000001094ae0c8 0x10939d000 + 1118408 20 libruby.2.0.0.dylib 0x00000001094ae02d rb_iseq_eval + 366 21 libruby.2.0.0.dylib 0x00000001093cea37 0x10939d000 + 203319 22 libruby.2.0.0.dylib 0x00000001093cf070 rb_require_safe + 1291 23 libruby.2.0.0.dylib 0x00000001094b5f49 0x10939d000 + 1150793 24 libruby.2.0.0.dylib 0x00000001094b595c 0x10939d000 + 1149276 25 libruby.2.0.0.dylib 0x00000001094a4677 0x10939d000 + 1078903 26 libruby.2.0.0.dylib 0x00000001094ae0c8 0x10939d000 + 1118408 27 libruby.2.0.0.dylib 0x00000001094b2544 0x10939d000 + 1135940 28 libruby.2.0.0.dylib 0x00000001093cc5ed rb_protect + 214 29 Vim 0x000000010905c892 ex_ruby + 66 30 Vim 0x0000000108ef01f7 do_cmdline + 15799 31 Vim 0x0000000108eeaf86 do_source + 1766 32 Vim 0x0000000108eea66f do_in_runtimepath + 543 33 Vim 0x0000000109067a30 main + 9424 34 libdyld.dylib 0x00007fff95f545fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff94b3c662 kevent64 + 10 1 libdispatch.dylib 0x00007fff98b98421 _dispatch_mgr_invoke + 239 2 libdispatch.dylib 0x00007fff98b98136 _dispatch_mgr_thread + 52
Thread 2: 0 libsystem_kernel.dylib 0x00007fff94b3be6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff8e9bef08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff8e9c1fb9 start_wqthread + 13
Thread 3: 0 libsystem_kernel.dylib 0x00007fff94b3be6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff8e9bef08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff8e9c1fb9 start_wqthread + 13
Thread 4: 0 libsystem_kernel.dylib 0x00007fff94b3c94a poll + 10 1 libruby.2.0.0.dylib 0x00000001094c10e1 0x10939d000 + 1196257 2 libsystem_pthread.dylib 0x00007fff8e9bd899 _pthread_body + 138 3 libsystem_pthread.dylib 0x00007fff8e9bd72a _pthread_start + 137 4 libsystem_pthread.dylib 0x00007fff8e9c1fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00000001090b9eac rcx: 0x00007fbf098f4838 rdx: 0x0000000000000000 rdi: 0x0000000000000e14 rsi: 0x000000000000000b rbp: 0x00007fbf098f4860 rsp: 0x00007fbf098f4838 r8: 0x0000000000000000 r9: 0x00007fbf08811200 r10: 0x0000000000000005 r11: 0x0000000000000202 r12: 0x0000000000000000 r13: 0x00007fbf098ea470 r14: 0x0000000000000001 r15: 0x00000001090ba4b0 rip: 0x00007fff94b3b292 rfl: 0x0000000000000202 cr2: 0x0000000108f31960
Logical CPU: 0 Error Code: 0x02000025 Trap Number: 133
Binary Images:
0x108e93000 - 0x109097ff7 +Vim (0) <91264125-734D-34B5-8E59-62BC930E0E2D> /Applications/VimR.app/Contents/Frameworks/MacVimFramework.framework/Versions/A/Vim
0x109113000 - 0x109220ff7 libperl.dylib (92) <87E17EBA-E472-3BDF-A627-1EE674921C79> /System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/libperl.dylib
0x10924d000 - 0x109337fff org.python.python (2.7.5 - 2.7.5) <8DD65C8B-686D-3BF1-8682-70F02D28D200> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
0x10939d000 - 0x109531ff7 libruby.2.0.0.dylib (101) <016263D8-2073-3D21-93D6-9DEC92552D64> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
0x10ad8d000 - 0x10ad8fff7 com.apple.textencoding.unicode (2.6 - 2.6) <0EEF0283-1ACA-3147-89B4-B4E014BFEC52> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x10ade0000 - 0x10ade8ff3 libCGCMS.A.dylib (599.25.10.1) <9A4FAAD7-1C16-33F8-A615-1DCAB0546E31> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS.A.dylib
0x10adfc000 - 0x10adfdfff +ext.bundle (???) <2AC87CC0-2095-21D0-DD1C-E1F4D4481041> /Users/USER/*/ext.bundle
0x10c828000 - 0x10c829fff encdb.bundle (101) <8D15FFB7-0576-3BC4-85F7-18CE09E978E3> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/encdb.bundle
0x10c82e000 - 0x10c82ffff transdb.bundle (101) <1F7E86E4-4214-33FC-8A44-850C6EA3760F> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/trans/transdb.bundle
0x10d103000 - 0x10d1a9fff libruby.1.dylib (4)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 157584 thread_create: 1 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=160.6M resident=64.8M(40%) swapped_out_or_unallocated=95.8M(60%) Writable regions: Total=75.6M written=5932K(8%) resident=9808K(13%) swapped_out=15.9M(21%) unallocated=66.0M(87%)
REGION TYPE VIRTUAL =========== ======= CG image 4K Dispatch continuations 8192K Kernel Alloc Once 8K MALLOC 41.7M MALLOC (admin) 32K MALLOC_LARGE (reserved) 128K reserved VM address space (unallocated) Memory Tag 242 12K STACK GUARD 16K Stack 65.1M VM_ALLOCATE 16.3M DATA 19.9M IMAGE 528K LINKEDIT 67.0M TEXT 93.7M __UNICODE 544K mapped file 30.6M shared memory 4K =========== ======= TOTAL 343.4M TOTAL, minus reserved VM space 343.2M
@benfrain & @alvarofe : I'm very sorry about this, but could you please try the new snapshot? http://taewon.de/snapshots/VimR-20140831-1152.tar.bz2
(I think the reason for the crash is that I've compiled MacVimFramework with gcc
and not with clang
. The system Ruby and Python libraries are compiled with clang
and they were probably not compatible. I hope this solves the problem...)
@qvacua that doesn't solve the problem at least to me
@qvacua same problem for me using that snapshot. Tried with and without .vimrc in place and same result.
Oh and don't be sorry – I'm really looking forward to trying this and appreciate all the effort it must take. :+1:
@qvacua out of curiosity I just downloaded MacVim and that suffers exactly the same issue. I'll try VimR on a different machine in the morning and see what happens there. Given that MacVim suffers the same I'm inclined to think there is something wrong in my setup rather than VimR.
I'll tack on to this issue, since my problem is related but maybe not the same. VimR starts fine for me but does not open any windows. I get this in my logs:
2014-08-31 23:28:10,740 VimR[32381]: objc[32381]: Class VRPlugin is implemented in both /Users/sven/Applications/VimR.app/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition and /Users/sven/Applications/VimR.app/Contents/PlugIns/Markdown.vimr-plugin/Contents/Frameworks/VimRPluginDefinition.framework/Versions/A/VimRPluginDefinition. One of the two will be used. Which one is undefined. 2014-08-31 23:28:10,846 VimR[32381]: -[MMVimManager launchVimProcessWithArguments:workingDirectory:]@747: Vim executable could not be found inside app bundle!
The second one looks very strange, since, obviously, there is no Vim executable in the app bundle, only a VimR one.
OK, finally got VimR working. I think it was perhaps to do with the fact I had downloaded and built my own custom Vim.
Anyway, I renamed all vim related files folders e.g. .vimrc => .vimrcBU, vim => vimBU, usr/share/vim => usr/sharevimBU
Then found and deleted $HOME/Library/Preferences/org.vim.MacVim.plist
I was then able to open MacVim and in turn VimR
Hi The same issue for me Console output: [WARN ] 20:22:42:398 VRFileItemManager registerUrl:-136 - file:///Users/me/ is already registered, incrementing consumer count Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished. [WARN ] 20:22:43:941 VRFileItemManager registerUrl:-136 - file:///Users/me/ is already registered, incrementing consumer count Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished. [WARN ] 20:22:47:612 VRFileItemManager registerUrl:-136 - file:///Users/me/ is already registered, incrementing consumer count Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished. [WARN ] 20:22:49:145 VRFileItemManager registerUrl:-136 - file:///Users/me/ is already registered, incrementing consumer count Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished. Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished.
The latest snapshot worked on me when i delete my .vimrc
I'm having the same issue, I'll fish through my .vimrc and see what may be the cause.
vim-pathogen seems to cause the problem in my configuration
If I try to open a window, I get the following error message:
Fatal Python error: PyThreadState_Get: no current thread Vim: Caught deadly signal ABRT Vim: Finished.
I am seeing this issue when loading the YouCompleteMe plugin (on OS 10.10). As soon as I remove that plugin it works fine. I guess I'm hitting https://github.com/qvacua/vimr/issues/96
VimR Version 0.1.6 (18)
I suspect this is a conflict with Eclim. I have Eclim 2.3.4 installed. If I rename my .vim folder to something else, VimR works.
Here is an error from the logs:
This error repeats when I try to open a new window from the VimR menu.