Edson J Bueno escreveu em 05/10/07 02:12:
olha a mensagem
[EMAIL PROTECTED]:~$ unzip info.ods
Archive: info.ods
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of info.ods or
info.ods.zip, and cannot find info.ods.ZIP, period.
e o ark tambem não abre...
e o que esqueci de falar é que estava com senha...
Pela sua msg de erro, o zip deve estar corrompido, sorry :-(
Se o arquivo zip estiver correto, deve acontecer isso:
Listando o conteudo do zip:
---
$ unzip -l file.ods
Archive: file.ods
Length Date Time Name
-------- ---- ---- ----
46 04-05-07 15:02 mimetype
0 04-05-07 15:02 Configurations2/statusbar/
0 04-05-07 15:02 Configurations2/accelerator/current.xml
0 04-05-07 15:02 Configurations2/floater/
0 04-05-07 15:02 Configurations2/popupmenu/
0 04-05-07 15:02 Configurations2/progressbar/
0 04-05-07 15:02 Configurations2/menubar/
0 04-05-07 15:02 Configurations2/toolbar/
0 04-05-07 15:02 Configurations2/images/Bitmaps/
52317 04-05-07 15:02 content.xml
6785 04-05-07 15:02 styles.xml
984 04-05-07 15:02 meta.xml
2714 04-05-07 15:02 Thumbnails/thumbnail.png
7876 04-05-07 15:02 settings.xml
1873 04-05-07 15:02 META-INF/manifest.xml
-------- -------
72595 15 files
---
Testando a integridade do zip:
---
$ unzip -t file.ods
Archive: file.ods
testing: mimetype OK
testing: Configurations2/statusbar/ OK
testing: Configurations2/accelerator/current.xml OK
testing: Configurations2/floater/ OK
testing: Configurations2/popupmenu/ OK
testing: Configurations2/progressbar/ OK
testing: Configurations2/menubar/ OK
testing: Configurations2/toolbar/ OK
testing: Configurations2/images/Bitmaps/ OK
testing: content.xml OK
testing: styles.xml OK
testing: meta.xml OK
testing: Thumbnails/thumbnail.png OK
testing: settings.xml OK
testing: META-INF/manifest.xml OK
No errors detected in compressed data of file.ods.
---
Pode ver q a extrutura do zip (arvore de diretorio) independe do
conteudo do documento. O documento xml em si, eh o arquivo content.xml.
Se ele tiver senha, nao sei o q acontece. Nao sei se a senha proteje o
zip ou apenas o xml na abertura pelo ooo. Testa ai e diz pra nos :-p
[]
--
------------------------ __o [EMAIL PROTECTED] ----.-----------
[EMAIL PROTECTED] Roberto Bagatini _`\<, www.ceat.net/~arkanon \
-=---=---==---=---=- (_)/(_) Phone +55 51 3748 7000 `--------
Lajeado - RS - Brasil --------- ICQ 34 789 30 - LinuxUser 102.514
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]