{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbra/csv.vim/issues/65","labels_url":"https://api.github.com/repos/chrisbra/csv.vim/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/chrisbra/csv.vim/issues/65/comments","events_url":"https://api.github.com/repos/chrisbra/csv.vim/issues/65/events","html_url":"https://github.com/chrisbra/csv.vim/issues/65","id":96554706,"number":65,"title":"Error when opening csv files, header row missing","user":{"login":"mnebuerquo","id":10221914,"avatar_url":"https://avatars.githubusercontent.com/u/10221914?v=3","gravatar_id":"","url":"https://api.github.com/users/mnebuerquo","html_url":"https://github.com/mnebuerquo","followers_url":"https://api.github.com/users/mnebuerquo/followers","following_url":"https://api.github.com/users/mnebuerquo/following{/other_user}","gists_url":"https://api.github.com/users/mnebuerquo/gists{/gist_id}","starred_url":"https://api.github.com/users/mnebuerquo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnebuerquo/subscriptions","organizations_url":"https://api.github.com/users/mnebuerquo/orgs","repos_url":"https://api.github.com/users/mnebuerquo/repos","events_url":"https://api.github.com/users/mnebuerquo/events{/privacy}","received_events_url":"https://api.github.com/users/mnebuerquo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-22T12:16:04Z","updated_at":"2015-07-24T09:50:59Z","closed_at":null,"body":"I get the following error when opening a csv file:\r\n```\r\n\"Locations.csv\" [dos] 11L, 184C\r\nError detected while processing function CSVArrangeCol..<SNR>69_ArrangeCol..<SNR>69_Columnize:\r\nline   99:\r\nE767: Too many arguments to printf()\r\nError detected while processing function CSVArrangeCol:\r\nline    2:\r\nE171: Missing :endif\r\n```\r\n\r\nAfter that, it appears to work except the header row is missing.\r\n\r\nInput file:\r\n```\r\nroute_name,stop_sequence_number,stop_location_id,stop_action,stop_arrival_time,stop_departure_time,time_zone\r\nMR-2001,1,9,Pickup,7/19/2014 8:00,7/19/2014 8:00,CST\r\nMR-2001,2,6,Pickup,7/19/2014 10:00,7/19/2014 11:00,CST\r\nMR-2001,3,9,Pickup,7/19/2014 13:00,7/19/2014 14:00,CST\r\nMR-2001,4,8,Pickup,7/19/2014 16:00,7/19/2014 18:00,CST\r\nMR-2001,5,4,Delivery,7/20/2014 8:00,7/20/2014 10:00,CST\r\nMR-3005,1,8,Pickup,7/20/2014 8:00,7/20/2014 8:30,EST\r\nMR-3005,2,2,Pickup,7/20/2014 10:00,7/20/2014 11:00,EST\r\nMR-3005,3,7,Pickup,7/20/2014 13:00,7/20/2014 14:00,EST\r\nMR-3005,4,8,Delivery,7/20/2014 23:00,7/27/2014 0:00,EST\r\nMR-3005,5,6,Delivery,7/27/2014 8:00,7/27/2014 10:00,EST\r\nMR-4006,1,7,Pickup,7/19/2014 8:00,7/19/2014 8:00,PST\r\nMR-4006,2,2,Pickup,7/19/2014 10:00,7/19/2014 11:00,PST\r\nMR-4006,3,9,Pickup,7/19/2014 13:00,7/19/2014 14:00,PST\r\nMR-4006,4,10,Delivery,7/19/2014 16:00,7/19/2014 18:00,PST\r\nMR-4006,5,2,Delivery,7/20/2014 8:00,7/20/2014 10:00,PST\r\nMR-6509,1,4,Pickup,7/20/2014 8:00,7/20/2014 8:30,CST\r\nMR-6509,2,10,Pickup,7/20/2014 10:00,7/20/2014 11:00,CST\r\nMR-6509,3,1,Pickup,7/20/2014 13:00,7/20/2014 14:00,CST\r\nMR-6509,4,3,Delivery,7/20/2014 23:00,7/27/2014 0:00,CST\r\nMR-6509,5,5,Delivery,7/27/2014 8:00,7/27/2014 10:00,CST\r\nMR-7250,1,4,Pickup,7/22/2014 8:00,7/22/2014 8:30,EST\r\nMR-7250,2,3,Pickup,7/22/2014 10:00,7/22/2014 11:00,EST\r\nMR-7250,3,6,Pickup,7/22/2014 13:00,7/22/2014 14:00,EST\r\nMR-7250,4,6,Delivery,7/23/2014 17:00,7/23/2014 18:00,EST\r\nMR-8000,1,7,Pickup,7/20/2014 8:00,7/20/2014 8:30,PST\r\nMR-8000,2,2,Delivery,7/20/2014 10:00,7/20/2014 11:00,PST\r\nMR-8000,3,3,Delivery,7/20/2014 15:00,7/20/2014 16:00,PST\r\n```"},"comment":{"url":"https://api.github.com/repos/chrisbra/csv.vim/issues/comments/124459055","html_url":"https://github.com/chrisbra/csv.vim/issues/65#issuecomment-124459055","issue_url":"https://api.github.com/repos/chrisbra/csv.vim/issues/65","id":124459055,"user":{"login":"mnebuerquo","id":10221914,"avatar_url":"https://avatars.githubusercontent.com/u/10221914?v=3","gravatar_id":"","url":"https://api.github.com/users/mnebuerquo","html_url":"https://github.com/mnebuerquo","followers_url":"https://api.github.com/users/mnebuerquo/followers","following_url":"https://api.github.com/users/mnebuerquo/following{/other_user}","gists_url":"https://api.github.com/users/mnebuerquo/gists{/gist_id}","starred_url":"https://api.github.com/users/mnebuerquo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnebuerquo/subscriptions","organizations_url":"https://api.github.com/users/mnebuerquo/orgs","repos_url":"https://api.github.com/users/mnebuerquo/repos","events_url":"https://api.github.com/users/mnebuerquo/events{/privacy}","received_events_url":"https://api.github.com/users/mnebuerquo/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T09:50:59Z","updated_at":"2015-07-24T09:50:59Z","body":"I see the same error in 7.3\r\n```\r\n:version\r\nVIM - Vi IMproved 7.3 (2010 Aug 15, compiled May  4 2012 04:10:13)\r\nIncluded patches: 1-429\r\nModified by pkg-vim-maintainers@lists.alioth.debian.org\r\nCompiled by buildd@\r\nHuge version with GTK2 GUI.  Features included (+) or not (-):\r\n+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist\r\n+cmdline_info +comments +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval\r\n+ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand\r\n+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname +mouse +mouseshape\r\n+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme\r\n+netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile +python -python3 +quickfix +reltime +rightleft +ruby\r\n+scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white +tcl\r\n+terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace\r\n+wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save\r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  system gvimrc file: \"$VIM/gvimrc\"\r\n    user gvimrc file: \"$HOME/.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/i386-linux-gnu/gtk-2.0/include -I\r\n/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include\r\n/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2 -fs\r\ntack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr\r\n/include/tcl8.5  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1\r\nLinking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic  -Wl,-E  -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--\r\nas-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfr\r\neetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lg\r\npm -ldl  -L/usr/lib -llua5.1  -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr\r\n/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib -ltcl8.5 -\r\nldl -lpthread -lieee -lm -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm  -L/usr/lib\r\n```\r\n\r\nHere is the vimrc I'm using for both machines, from my dotfiles in github:\r\nhttps://github.com/mnebuerquo/dotfiles/blob/master/vim/vimrc\r\n\r\nHere is a smaller file which reproduces the error:\r\n```\r\nid,location_name,state\r\n1,plant 10,OH\r\n2,plant 11,KY\r\n3,plant 12,IN\r\n4,plant 13,TN\r\n5,plant 8,CA\r\n6,plant 9,FL\r\n7,supplier 1,AK\r\n8,supplier 11,TX\r\n9,supplier 12,GA\r\n10,supplier 16,MA\r\n```"}}