corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kelly <pmke...@apache.org>
Subject Re: [DISCUSS][PRE-VOTE] Release candidate 0.1
Date Fri, 14 Aug 2015 19:36:37 GMT
> On 15 Aug 2015, at 2:21 am, jan i <jani@apache.org> wrote:
> 
> I have just uploaded a new candidate made on ubuntu. It seems to have
> something to do with my network drives (amazing).

Ok, line endings are good now, all tests pass (tested on OS X, Linux, and Windows).

The zip problem still remains though:

peter@macbookpro:~/temp$ ~/dev/c/build-mac/bin/dfconvert get test.docx test.html
peter@macbookpro:~/temp$ ~/dev/c/build-mac/bin/dfconvert put test.docx test.html
peter@macbookpro:~/temp$ open test.docx 

Word complains about the file being corrupt.

It looks like it’s to do with file permissions inside the zip file… I manually unzipped
it (using the unzip command on OS X) and the files were all marked with permission bits of
0:

peter@macbookpro:~/temp/1$ unzip ../test.docx 
Archive:  ../test.docx
generated by Corinthia
  inflating: word/document.xml       
  inflating: _rels/.rels             
  inflating: word/stylesWithEffects.xml  
  inflating: word/styles.xml         
  inflating: word/fontTable.xml      
  inflating: word/_rels/document.xml.rels  
  inflating: word/settings.xml       
  inflating: docProps/core.xml       
  inflating: docProps/app.xml        
  inflating: word/theme/theme1.xml   
  inflating: docProps/thumbnail.jpeg  
  inflating: word/webSettings.xml    
  inflating: [Content_Types].xml     

peter@macbookpro:~/temp/1$ ls -lF word
total 96
drwxr-xr-x  3 peter  staff    102 15 Aug 02:34 _rels/
----------  1 peter  staff    739 31 Dec  1979 document.xml
----------  1 peter  staff   2023 31 Dec  1979 fontTable.xml
----------  1 peter  staff   1535 31 Dec  1979 settings.xml
----------  1 peter  staff  14641 31 Dec  1979 styles.xml
----------  1 peter  staff  15740 31 Dec  1979 stylesWithEffects.xml
drwxr-xr-x  3 peter  staff    102 15 Aug 02:34 theme/
----------  1 peter  staff    431 31 Dec  1979 webSettings.xml

—
Dr Peter M. Kelly
pmkelly@apache.org

PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
(fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message