error messages in opening a zip archive within a zip archive
Closed this issue · 17 comments
I am getting the following messages:
Error detected while processing function 25_ZipBrowseSelect:
line 25:
E117: Unknown function: rzip#util#escapeFileName
line 26:
E121: Undefined variable: zipname
E116: Invalid arguments for function insert
The second level archive seems to have been opened OK, so these messages weren't fatal, but I would like to sort them out - any hint on which of the script files to look for the source of the messages? Thanks.
Debian 11. VIM 8.2
PS - Since my machine is not connected, the script files are unzipped from the vim-rzip-master.zip, and not 'git cloned' as directed in the README file.
Hi, @boryeumao ! Is it possible to attach the zip file?
@boryeumao you did not attach the t1.zip file. You have to attach it here on Github, I don't think it works if you reply via email.
By the way, :e test
does not trigger vim-rzip, only zipfile://
URLs or files ending in .zip
.
@boryeumao you still did not attach the zip file you're having trouble with. You have to come to #19, create a new comment and attach the file. Attaching it via email will not work.
Looks like this may be where the errros came from:
Browsing zipfile zipfile:///home/user/w/n_s/n/qubes/R4.1.1/t2.zip::t1.zip
@boryeumao Here's a demo showing how to install the plugin manually using Vim packages and with your file in the same folder hierarchy:
No errors.
Got it -- my manual installation had everything under start/, missing the vim-rzip/ directory. I have averted plugins so far, hence the lack of understanding of a 'package'-level directory. Big lesson for me - Thank you so much, for the help and for vim-rzip.
If it is OK I will close the issue.
@boryeumao I'm glad you sorted it ou!