{"action":"created","issue":{"url":"https://api.github.com/repos/cjrh/vim-conda/issues/18","repository_url":"https://api.github.com/repos/cjrh/vim-conda","labels_url":"https://api.github.com/repos/cjrh/vim-conda/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cjrh/vim-conda/issues/18/comments","events_url":"https://api.github.com/repos/cjrh/vim-conda/issues/18/events","html_url":"https://github.com/cjrh/vim-conda/issues/18","id":166426961,"number":18,"title":"Massive error log on startup","user":{"login":"hholst80","id":6200749,"avatar_url":"https://avatars.githubusercontent.com/u/6200749?v=3","gravatar_id":"","url":"https://api.github.com/users/hholst80","html_url":"https://github.com/hholst80","followers_url":"https://api.github.com/users/hholst80/followers","following_url":"https://api.github.com/users/hholst80/following{/other_user}","gists_url":"https://api.github.com/users/hholst80/gists{/gist_id}","starred_url":"https://api.github.com/users/hholst80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hholst80/subscriptions","organizations_url":"https://api.github.com/users/hholst80/orgs","repos_url":"https://api.github.com/users/hholst80/repos","events_url":"https://api.github.com/users/hholst80/events{/privacy}","received_events_url":"https://api.github.com/users/hholst80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-19T20:25:14Z","updated_at":"2016-07-19T21:46:38Z","closed_at":null,"body":"I am using Pathogen and Vim 7.4 (patch 1...1689) and Anaconda w/ Python 3. \r\nvim-conda 838f582cc0829b5b0ba5852fa2d103907faec486\r\n\r\n```\r\n$ vim --version\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 16 2016 10:50:38)\r\nIncluded patches: 1-1689\r\nModified by pkg-vim-maintainers@lists.alioth.debian.org\r\nCompiled by pkg-vim-maintainers@lists.alioth.debian.org\r\nHuge version with GTK2 GUI.  Features included (+) or not (-):\r\n+acl             +farsi           +mouse_netterm   +tag_binary\r\n+arabic          +file_in_path    +mouse_sgr       +tag_old_static\r\n+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white\r\n+balloon_eval    +float           +mouse_urxvt     +tcl\r\n+browse          +folding         +mouse_xterm     +terminfo\r\n++builtin_terms  -footer          +multi_byte      +termresponse\r\n+byte_offset     +fork()          +multi_lang      +textobjects\r\n+channel         +gettext         -mzscheme        +timers\r\n+cindent         -hangul_input    +netbeans_intg   +title\r\n+clientserver    +iconv           +packages        +toolbar\r\n+clipboard       +insert_expand   +path_extra      +user_commands\r\n+cmdline_compl   +job             +perl            +vertsplit\r\n+cmdline_hist    +jumplist        +persistent_undo +virtualedit\r\n+cmdline_info    +keymap          +postscript      +visual\r\n+comments        +langmap         +printer         +visualextra\r\n+conceal         +libcall         +profile         +viminfo\r\n+cryptv          +linebreak       -python          +vreplace\r\n+cscope          +lispindent      +python3         +wildignore\r\n+cursorbind      +listcmds        +quickfix        +wildmenu\r\n+cursorshape     +localmap        +reltime         +windows\r\n+dialog_con_gui  +lua             +rightleft       +writebackup\r\n+diff            +menu            +ruby            +X11\r\n+digraphs        +mksession       +scrollbind      -xfontset\r\n+dnd             +modify_fname    +signs           +xim\r\n-ebcdic          +mouse           +smartindent     +xsmp_interact\r\n+emacs_tags      +mouseshape      +startuptime     +xterm_clipboard\r\n+eval            +mouse_dec       +statusline      -xterm_save\r\n+ex_extra        +mouse_gpm       -sun_workshop    +xpm\r\n+extra_search    -mouse_jsbterm   +syntax          \r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n 2nd user vimrc file: \"~/.vim/vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  system gvimrc file: \"$VIM/gvimrc\"\r\n    user gvimrc file: \"$HOME/.gvimrc\"\r\n2nd user gvimrc file: \"~/.vim/gvimrc\"\r\n    system menu file: \"$VIMRUNTIME/menu.vim\"\r\n  fall-back for $VIM: \"/usr/share/vim\"\r\nCompilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      \r\nLinking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm\r\n```\r\n\r\n```\r\nhholst@fb-hholst3:~$ which python\r\n/home/hholst/anaconda3/bin/python\r\nhholst@fb-hholst3:~$ which python2\r\n/usr/bin/python2\r\nhholst@fb-hholst3:~$ which python3\r\n/home/hholst/anaconda3/bin/python3\r\nhholst@fb-hholst3:~$ python --version\r\nPython 3.5.1 :: Anaconda custom (64-bit)\r\nhholst@fb-hholst3:~$ \r\n```\r\n\r\n```\r\nE133: :return not inside a function\r\nline   20:\r\nE488: Trailing characters:         # Needed to avoid\r\nline   21:\r\nE488: Trailing characters:         # When launching gvim.exe from a CMD shell. (gvim from icon seems\r\nline   22:\r\nE488: Trailing characters:         # fine!?)\r\nline   23:\r\nE488: Trailing characters:         # See also: http://bugs.python.org/issue3905\r\nline   24:\r\nE488: Trailing characters:         # stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)\r\nline   25:\r\nE492: Not an editor command:         stdin=PIPE, stderr=PIPE)\r\nline   28:\r\nE492: Not an editor command: def vim_conda_runpyshell(cmd):\r\nline   29:\r\nE133: :return not inside a function\r\nline   30:\r\nE492: Not an editor command:         executable=os.getenv('SHELL'),\r\nline   31:\r\nE492: Not an editor command:         stdin=PIPE, stderr=PIPE)\r\nline   34:\r\nE492: Not an editor command: def get_conda_info_dict():\r\nline   36:\r\nE492: Not an editor command:     {\r\nline   42:\r\nE492: Not an editor command:       ],\r\nline   55:\r\nE492: Not an editor command:       ],\r\nline   58:\r\nE492: Not an editor command:       ],\r\nline   62:\r\nE492: Not an editor command:       ],\r\nline   71:\r\nE492: Not an editor command:     }\r\nline   73:\r\nE492: Not an editor command:     output = vim_conda_runshell('conda info --json')\r\nline   74:\r\nE133: :return not inside a function\r\nline   77:\r\nE492: Not an editor command: def insert_system_py_sitepath():\r\nline   79:\r\nE492: Not an editor command:     embedded Python's sys.path. This is for Jedi-vim code completion. \"\"\"\r\nline   80:\r\nE492: Not an editor command:     cmd = \"import site, sys, os; sys.stdout.write(os.path.pathsep.join(site.getsitepackages()))\"\r\nline   81:\r\nE33: No previous substitute regular expression\r\nline   82:\r\nE488: Trailing characters:     # The following causes errors. Jedi vim imports e.g. hashlib\r\nline   83:\r\nE488: Trailing characters:     # from the stdlib, but it we've added a different stdlib to the\r\nline   84:\r\nE488: Trailing characters:     # embedded sys.path, jedi loads the wrong one, causing errs.\r\nline   85:\r\nE488: Trailing characters:     # Looks like we should only load site-packages.\r\nline   86:\r\nE488: Trailing characters:     # if len(sitedirs) > 0:\r\nline   87:\r\nE488: Trailing characters:     #     libdir = os.path.dirname(sitedirs[0])\r\nline   88:\r\nE488: Trailing characters:     #     if libdir not in sys.path:\r\nline   89:\r\nE488: Trailing characters:     #         sys.path.insert(0, libdir)\r\nline   90:\r\nE121: Undefined variable: sitedirs\r\nE15: Invalid expression: sitedirs:\r\nline  420:\r\nE171: Missing :endif\r\nPress ENTER or type command to continue\r\n```"},"comment":{"url":"https://api.github.com/repos/cjrh/vim-conda/issues/comments/233776450","html_url":"https://github.com/cjrh/vim-conda/issues/18#issuecomment-233776450","issue_url":"https://api.github.com/repos/cjrh/vim-conda/issues/18","id":233776450,"user":{"login":"cjrh","id":480395,"avatar_url":"https://avatars.githubusercontent.com/u/480395?v=3","gravatar_id":"","url":"https://api.github.com/users/cjrh","html_url":"https://github.com/cjrh","followers_url":"https://api.github.com/users/cjrh/followers","following_url":"https://api.github.com/users/cjrh/following{/other_user}","gists_url":"https://api.github.com/users/cjrh/gists{/gist_id}","starred_url":"https://api.github.com/users/cjrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjrh/subscriptions","organizations_url":"https://api.github.com/users/cjrh/orgs","repos_url":"https://api.github.com/users/cjrh/repos","events_url":"https://api.github.com/users/cjrh/events{/privacy}","received_events_url":"https://api.github.com/users/cjrh/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T21:46:38Z","updated_at":"2016-07-19T21:46:38Z","body":"I had another look at the pull request I merged.  The `print` statements were not modified by the PR, they already lacked parens.  So it seems unlikely to have made a difference."}}
{"actor":{"display_login":"cjrh"}}