Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Installing German Help FilesInstalling German Help Filesin
Installing German Help FilesInstalling German Help Filesin
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
alex
Guest





PostPosted: Fri Jan 30, 2004 12:58 am    Post subject: Installing German Help FilesInstalling German Help Filesin

I tried to replace the english help files with german ones like it is discribed on the download page. After the sudo command an error message is displayed:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

and on clicking help in NeoOffice/J there´s the message: The requested document does not exist in the database !! So I guess I deleted the english help files without replacing them.
Does anyone know what´s wrong?
Here´s the terminal window:


AlexG4:~ alex$
/bin/sh
sh-2.05b$ export NEOJ_HELP_DIR="/Applications/NeoOfficeJ.app/Contents/help"
sh-2.05b$ export NEOJ_LANGUAGE="de"
sh-2.05b$ export NEOJ_HELP_FILE="/Users/alex/Desktop/helpcontent_49_unix.tar"
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 ; for i in *.css; do sed "s#font-family: #font-family: Sans Serif,#g" "$i" > "$i.tmp" ; mv -f "$i.tmp" "$i" ; done'
Password:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
sh-2.05b$ exit
exit
AlexG4:~ alex$

Thank´s for answering,
Alex
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jan 30, 2004 4:35 am    Post subject:

Alex,

This is not is bad as it seems. I don't think that you have deleted the English help files. Instead, you have merely created an empty German help directory. You are creating an empty German help directory because this part of the "sudo" command is failing:

Code:
tar zxvf "$NEOJ_HELP_FILE"


This part is failing because you have set the "$NEOJ_HELP_FILE" environment variable to a "*.tar" file instead of the "*.tar.gz" file that you downloaded from the website.

I suspect that when you downloaded the "*.tar.gz" file, some helper application turned the "*.tar.gz" file into a "*.tar" file.

To install the help files with a "*.tar" file, you need to replace the part of the "sudo" command mentioned above with this:

Code:
tar xvf "$NEOJ_HELP_FILE"


Patrick
Back to top
alex
Guest





PostPosted: Fri Jan 30, 2004 8:40 am    Post subject:

So just a z too much!
Thank´s for the advice, Patrick, it works!

Wink Alex
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.