Skip Menu |
 

This queue is for tickets about the Vimana CPAN distribution.

Report information
The Basics
Id: 54748
Status: new
Priority: 0/
Queue: Vimana

People
Owner: Nobody in particular
Requestors: DRBEAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2010.0421
Fixed in: (no value)



Subject: mkpath dies if path already exists
Download (untitled) / with headers
text/plain 3.7k
Weird. I wasn't getting this error before. But now it's complaining about a directory which already exists. [drbean@sac Vimana]$ vimana install snipmate Plugin will be installed to vim runtime path: /home/drbean/.vim Canonical name: snipmate Downloading from: http://www.vim.org/scripts/download_script.php?src_id=11006 Saving file to /tmp/snipMate.zip Extracting to /tmp/vimana-kxjcpr. Extracting to: /tmp/vimana-kxjcpr Changing directory to /tmp/vimana-kxjcpr. Meta : Check if 'META' or 'VIMMETA' file exists. support for VIM::Packager. ...which: no vim-packager in (/usr/local/WordNet-3.0/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/opt/real/RealPlayer:/home/drbean/bin:/opt/real/RealPlayer:/opt/real/RealPlayer) Makefile : Check if makefile exists. ...not ok Rakefile : Check if rakefile exists. ...not ok Package doesn't contain META,VIMMETA,VIMMETA.yml or Makefile file No availiable strategy, try to auto-install. Archive content: after/plugin/snipMate.vim doc/snipMate.txt snippets/snippet.snippets snippets/cpp.snippets snippets/autoit.snippets snippets/php.snippets snippets/javascript.snippets snippets/tcl.snippets snippets/python.snippets snippets/java.snippets snippets/c.snippets snippets/sh.snippets snippets/tex.snippets snippets/html.snippets snippets/ruby.snippets snippets/mako.snippets snippets/_.snippets snippets/zsh.snippets snippets/vim.snippets snippets/perl.snippets snippets/objc.snippets syntax/snippet.vim plugin/snipMate.vim autoload/snipMate.vim ftplugin/html_snip_helper.vim Initializing vim runtime directories mkdir /home/drbean/.vim/syntax: 檔案已存在 at /usr/local/lib/perl5/site_perl/5.10.0/Vimana/Util.pm line 86 [drbean@sac Vimana]$ vimana install snipmate Plugin will be installed to vim runtime path: /home/drbean/.vim Canonical name: snipmate Downloading from: http://www.vim.org/scripts/download_script.php?src_id=11006 Saving file to /tmp/snipMate.zip Extracting to /tmp/vimana-ejphht. Extracting to: /tmp/vimana-ejphht Changing directory to /tmp/vimana-ejphht. Meta : Check if 'META' or 'VIMMETA' file exists. support for VIM::Packager. ...which: no vim-packager in (/usr/local/WordNet-3.0/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/opt/real/RealPlayer:/home/drbean/bin:/opt/real/RealPlayer:/opt/real/RealPlayer) Makefile : Check if makefile exists. ...not ok Rakefile : Check if rakefile exists. ...not ok Package doesn't contain META,VIMMETA,VIMMETA.yml or Makefile file No availiable strategy, try to auto-install. Archive content: after/plugin/snipMate.vim doc/snipMate.txt snippets/snippet.snippets snippets/cpp.snippets snippets/autoit.snippets snippets/php.snippets snippets/javascript.snippets snippets/tcl.snippets snippets/python.snippets snippets/java.snippets snippets/c.snippets snippets/sh.snippets snippets/tex.snippets snippets/html.snippets snippets/ruby.snippets snippets/mako.snippets snippets/_.snippets snippets/zsh.snippets snippets/vim.snippets snippets/perl.snippets snippets/objc.snippets syntax/snippet.vim plugin/snipMate.vim autoload/snipMate.vim ftplugin/html_snip_helper.vim Initializing vim runtime directories mkdir /home/drbean/.vim/syntax: 檔案已存在 at /usr/local/lib/perl5/site_perl/5.10.0/Vimana/Util.pm line 87 [drbean@sac Vimana]$ vimana install snipmate If I change line 87 to for my $path ( @$paths ) { mkpath $path unless -e $path; } it appears to work.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.