Re: [R] odfWeave Error unzipping file in Win 7

From: Max Kuhn <mxkuhn_at_gmail.com>
Date: Mon, 21 Mar 2011 17:04:40 -0400

I don't think that this is the issue, but test it on a file without spaces.

On Mon, Mar 21, 2011 at 2:25 PM, <rmailbox_at_justemail.net> wrote:
>
> I have a very similar error that cropped up when I upgraded to R 2.12 and persists at R 2.12.1. I am running R on Windows XP and OO is at version 3.2. I did not make any changes to my R code or ODF code or configuration to produce this error. Only upgraded R.
>
> Many Thanks,
>
> Eric
>
> R session:
>
>
>> odfWeave ( 'Report input template.odt' , 'August 2011.odt')
>  Copying  Report input template.odt
>  Setting wd to  C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2/odfWeave21111153483
>  Unzipping ODF file using unzip -o "Report input template.odt"
> Error in odfWeave("Report input template.odt", "August 2011.odt") :
>  Error unzipping file
>
> ------------------------
>
>
> When I start a shell and go to the temp directory in question and copy the exact command that the error message says produced an error the command runs fine. Here is that session:
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> H:\>c:
>
> C:\>cd C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2/odfWeave21111153483
>
> C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2\odfWeave21111153483>dir
>  Volume in drive C has no label.
>  Volume Serial Number is 7464-62CA
>
>  Directory of C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2\odfWeave21111153483
>
> 03/21/2011  11:11 AM    <DIR>          .
> 03/21/2011  11:11 AM    <DIR>          ..
> 03/21/2011  11:11 AM            13,780 Report input template.odt
>               1 File(s)         13,780 bytes
>               2 Dir(s)   7,987,343,360 bytes free
>
> C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2\odfWeave21111153483>unzip -o "Report input template.odt"
> Archive:  Report input template.odt
>  extracting: mimetype
>   creating: Configurations2/statusbar/
>  inflating: Configurations2/accelerator/current.xml
>   creating: Configurations2/floater/
>   creating: Configurations2/popupmenu/
>   creating: Configurations2/progressbar/
>   creating: Configurations2/menubar/
>   creating: Configurations2/toolbar/
>   creating: Configurations2/images/Bitmaps/
>  inflating: content.xml
>  inflating: manifest.rdf
>  inflating: styles.xml
>  extracting: meta.xml
>  inflating: Thumbnails/thumbnail.png
>  inflating: settings.xml
>  inflating: META-INF/manifest.xml
>
> C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2\odfWeave21111153483>
>
>
>
>
>
>
>
> ----- Original message -----
> From: "psycho-ld" <battlecryfan_at_web.de>
> To: r-help_at_r-project.org
> Date: Sun, 23 Jan 2011 01:47:44 -0800 (PST)
> Subject: [R] odfWeave Error unzipping file in Win 7
>
>
> Hey guys,
>
> I´m just getting started with R (version 2.12.0) and odfWeave and kinda
> stumble from one problem to the next, the current one is the following:
>
> trying to use odfWeave:
>
>> odfctrl <- odfWeaveControl(
> +             zipCmd = c("C:/Program Files/unz552dN/VBunzip.exe $$file$$ .",
> +              "C:/Program Files/unz552dN/VBunzip.exe $$file$$"))
>>
>> odfWeave("C:/testat.odt", "C:/iris.odt", control = odfctrl)
>  Copying  C:/testat.odt
>  Setting wd to
> D:\Users\egf\AppData\Local\Temp\Rtmpmp4E1J/odfWeave23103351832
>  Unzipping ODF file using C:/Program Files/unz552dN/VBunzip.exe
> "testat.odt"
> Fehler in odfWeave("C:/testat.odt", "C:/iris.odt", control = odfctrl) :
>  Error unzipping file
>
> so I tried a few other unzipping programs like jar and 7-zip, but still the
> same problem occurs, I also tried to install zip and unzip, but then I get
> some error message that registration failed (Error 1904 ....)
>
> so if there are anymore questions, just ask, would be great if someone could
> help me though
>
> cheers
> psycho-ld
>
> --
> View this message in context: http://r.789695.n4.nabble.com/odfWeave-Error-unzipping-file-in-Win-7-tp3232359p3232359.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 

Max

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 21 Mar 2011 - 21:17:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Mar 2011 - 23:00:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive