Friday, October 21, 2011

Re: gvim64/win7 claims error on unzip, but unzip get no error, why?

Linda W wrote:
>
>
>
> I tried to open a .jar file in gvim (7.3). and got an error (which one
> has to type in manually, as vim won't let you cut/paste -- a much
> maligned user-hindrance, when it was first widely used by Microsoft):
>
> unzip: cannot find or open C:/Users/lindaw/AppData/Roaming/....
>
> So I open up a console window and try the command:
> (and)...
> ***warning*** (zip#Browse) ... same message as above....
>
>
>
> /Users/lindaw> unzip -l
> C:/users/lindaw/AppData/Roaming/Mozilla/Firefox/Profiles/lindaw/extensions/{funnynumber}/chrome/file.jar
>
> Archive:
> C:/users/lindaw/AppData/Roaming/Mozilla/Firefox/Profiles/lindaw/extensions/{funnynumber}/chrome/file.jar
>
> Length Date Time Name
> --------- ---------- ----- ----
> 1109 09-29-2011 07:39 content/menucommander.js
> 14574 09-29-2011 07:39 content/browser.js
> 22524 09-29-2011 07:39 content/script.js
> 3416 09-29-2011 07:39 content/install.js
> ....
>
> ---
> I.e. works just fine...
>
> So why didn't it work in Vim? Doesn't make sense.
> My first guess is it is I mistakenly installed broken 32-bit version
> and it couldn't call the right programs or access the right files due
> to windows redirection, but I can't think of any of the programs in
> this case, that it would have called where it needed a 64-bit version,
> so I'm stumped...
> Why does it work at the shell, but not from Vim?
>
>
Some Qs for you:
* is the path that vim uses for your shell the same as the path your
shell uses? (I'm not at a windows computer; perhaps :!echo %PATH%
* is vim using the shell you expect? :echo &shell
* The message that you're getting, "...cannot find..." is not being
issued directly by zip.vim; does it work if you use backslashes instead
of slashes?

Well, that's a start, anyway.

Regards,
Chip Campbell


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: