View previous topic :: View next topic |
Author |
Message |
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Sun Oct 17, 2004 10:58 am Post subject: Help Files |
|
Hello
I just installed NeoOffice and it seems to work fine.
But i cannot install help files (in French) :
Terminal wrote to me :
helpxsl.zip
license.txt
sbasic33.zip
scalc33.zip
schart33.zip
sdraw33.zip
shared33.zip
simpress33.zip
smath33.zip
swriter33.zip
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
Do you know what I missed?
Thanks
Renavd _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sun Oct 17, 2004 3:13 pm Post subject: |
|
Most likely, when you downloaded the *.tar.gz file, your browser automatically uncompressed the file and saved it as a *.tar file.
If this is what happened, you can rerun the command on the download site with one small change. Change the following two words in the middle of the command from¨"tar zxvf" to¨"tar xvf".
Removing the "z" from the arguments to "tar" turns off decompression of the file.
Patrick |
|
Back to top |
|
|
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Sun Oct 17, 2004 10:12 pm Post subject: |
|
I'm not sure : file's name is helpcontent_33_unix.tgz
Isn't it a "tar.gz" file?
Renavd _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Mon Oct 18, 2004 3:32 am Post subject: |
|
renavd wrote: | I'm not sure : file's name is helpcontent_33_unix.tgz
Isn't it a "tar.gz" file?
Renavd |
Yes, it is a "tar.gz" file. The next thing to check is if the downloaded file is corrupted. I have found that some Mac OS X browsers will abort a file download but the browser will say that the download was successful.
Patrick |
|
Back to top |
|
|
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Mon Oct 18, 2004 1:01 pm Post subject: |
|
Hello
I downloaded the file again from another ftp http://download.au.kde.org/pub/openoffice/contrib/helpcontent/
But I got the same result.
Below is the complete terminal window : do you see something else wrong?
Thanks
Renavd
renavd% /bin/sh
sh-2.05b$ export NEOJ_HELP_DIR="/Volumes/OS X/Applications/NeoOfficeJ.app/Contents/help"
sh-2.05b$ export NEOJ_LANGUAGE="fr"
sh-2.05b$ export NEOJ_HELP_FILE="/Volumes/OS X/helpcontent_33_unix.tgz"
sh-2.05b$ sudo /bin/sh -e -c 'cd "$NEOJ_HELP_DIR" ; rm -Rf "$NEOJ_LANGUAGE" ; mkdir "$NEOJ_LANGUAGE" ; cd "$NEOJ_LANGUAGE" ; tar zxvf "$NEOJ_HELP_FILE" ; for i in *.zip ; do jar xvf "$i" ; done'
Password:
helpxsl.zip
license.txt
sbasic33.zip
scalc33.zip
schart33.zip
sdraw33.zip
shared33.zip
simpress33.zip
smath33.zip
swriter33.zip
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
sh-2.05b$ _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Tue Oct 19, 2004 12:42 am Post subject: |
|
renavd wrote: | ...
sh-2.05b$ sudo /bin/sh -e -c 'cd "$NEOJ_HELP_DIR" ; rm -Rf "$NEOJ_LANGUAGE" ; mkdir "$NEOJ_LANGUAGE" ; cd "$NEOJ_LANGUAGE" ; tar zxvf "$NEOJ_HELP_FILE" ; for i in *.zip ; do jar xvf "$i" ; done'
... |
If the above is your actual Terminal data, then shouldn't the 'jar' in red be 'tar', methinks??
- yoxi |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Oct 19, 2004 4:26 am Post subject: |
|
[quote="yoxiIf the above is your actual Terminal data, then shouldn't the 'jar' in red be 'tar', methinks??[/quote]
jar is correct (jar can unzip *.zip files but *.tar cannot). The error is occurring in the "tar zxvf" command. When the "z" option is passed to tar, the tar command invokes the gzip command to do the uncompressing.
I suspect that the downloaded file is truncated or corrupted in some way which is probably what is causing gzip to complain.
Patrick |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Tue Oct 19, 2004 6:00 am Post subject: |
|
Oops - I'll just keep out of this then, sorry to add confusion!
- yoxi |
|
Back to top |
|
|
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Tue Oct 19, 2004 1:07 pm Post subject: |
|
Am I the first french user who tries installing this helpfile? I hope not.
And I think this file is usefull for all unixusers, too.
Maybe can I try with another language helpfile? Do you know one, which is very OK?
Renavd _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
Max_Barel Oracle
Joined: May 31, 2003 Posts: 219 Location: French Alps
|
Posted: Tue Oct 19, 2004 3:30 pm Post subject: |
|
I'm using Fench help files from ages, even before installation support was added in OOo/X11 or Neo/J, just by copying from OOo distribution, so it's not a problem with this package in general.
Nevertheless I didn't try to downolad it and install fresh from a while so I can't be positive for the archive you have trouble with. |
|
Back to top |
|
|
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Wed Oct 20, 2004 4:50 am Post subject: |
|
I've finally solved my problem.
Thank you for your testimonial : it was helpful for me because so I remembered last year I used OpenOffice with X11 and had got helpfiles soon. And so I've expanded both of them and found a difference : in helpcontent_33_unix.tgz there is now a "license.txt" file. I've put it off and re-compressed. And now it works fine!
Best would be to correct the archive on the ftp mirrors. But I write this tip in french below for users who do a search to this subject in our native language.
Renavd
Pour bénéficier des fichiers d'aide dans NeoOfficeJ, la procédure via Terminal décrite sur la page http://www.planamesa.com/neojava/fr/download.php
fonctionne. En revanche, l'archive à télécharger comporte un fichier nommé "licence.txt" qui empêche le déroulement du processus. Il faut donc décompresser l'archive, retirer ce fichier et recompresser (DropStuff permet de créer des archives .tgz; prendre garde de cocher l'option 'Ignore finder desktop files' pour ne pas inclure le DS_store qui ne serait pas non plus compris lors de l'opération dans le Terminal).
Il y a peut-être une procédure plus simple. Mais pour ma part, c'est avec ce bidouillage-là que j'y suis arrivé! _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
renavd Agent
Joined: Oct 17, 2004 Posts: 15
|
Posted: Wed Dec 22, 2004 2:42 am Post subject: Solved! |
|
Hello
I just installed NeoOffice beta : I didn't get this problem anymore.
Thanks and congratulations for your work.
Renavd _________________ NeoOffice 2 - G4 1,33Mhz, 512Mo |
|
Back to top |
|
|
|