Issue 23891 - ./install --single error messages
Summary: ./install --single error messages
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 16:14 UTC by pavel
Modified: 2004-02-02 11:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
install script for OOo 1.1.1a (3.52 KB, text/script)
2004-01-05 13:36 UTC, Olaf Felka
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-12-26 16:14:19 UTC
1.1.1a:

pavel@oo:~/OOo_1.1.1a_LinuxIntel_install> ./install --single
...
register configuration:
...............................................................................................................................................................................................................................................................................................................................................................................................................
No resource: Error message not available
Function: 'Copy_Readme_File' Line: 56

No resource: Error message not available
Function: 'Make_Freetypelink' Line: 56

No resource: Error message not available
Function: 'KDEInst' Line: 56

No resource: Error message not available
Function: 'PythonLink' Line: 56

No resource: Error message not available
Function: 'GnomeInstall' Line: 56
 
Installation Completed

The installation is completed and ./soffice runs fine.
Comment 1 khirano 2003-12-26 21:18:03 UTC
I tried "./install --single" on Fedora Core 1 and get following results:

[snip]
register configuration: ..................[snip]

No resource: Error message not available
Function: 'Copy_Readme_File' Line: 56
 
No resource: Error message not available
Function: 'Make_Freetypelink' Line: 56
 
No resource: Error message not available
Function: 'KDEInst' Line: 56
 
No resource: Error message not available
Function: 'PythonLink' Line: 56
 
No resource: Error message not available
Function: 'GnomeInstall' Line: 56
  
Installation Completed
[khirano@localhost OOo_1.1.1a_LinuxIntel_install]$

Comment 2 sparcmoz 2003-12-26 22:26:53 UTC
I see the same error messsages on linux sparc from building cws_fix645_ooo111fix2
Comment 3 Olaf Felka 2003-12-27 14:15:02 UTC
Any idea?
Comment 4 khendricks 2003-12-27 14:23:35 UTC
Hi,

No idea.  All the install.sh script does is invoke setup with an autoresponse file.

I have removed install.sh form the 680 series.  Frankly, I would just let this one die on its own.  
None of these error messages (from Basic macros?) seem to prevent installation.  Perhaps these 
macros assume root permissions to change some thing.  I am just not sure.

So unless the way setup is invoked or unless the autoresponse file is  wrong, none of these error 
messages are the result of the install.sh script.

So switching this back to you.

Sorry I can't be more help.

Kevin
Comment 5 Olaf Felka 2004-01-05 13:33:35 UTC
of @ is: Do you have any idea what went wrong in 1.1.1a? 1.1.0 doesn't throw
these error messages? 
Comment 6 Olaf Felka 2004-01-05 13:36:12 UTC
Created attachment 12276 [details]
install script for OOo 1.1.1a
Comment 7 ingo.schmidt-rosbiegal 2004-01-06 09:41:39 UTC
The install script writes the following lines into the responsefile:

[ENVIRONMENT]
INSTALLATIONMODE=$installtype
INSTALLATIONTYPE=STANDARD
DESTINATIONPATH=$prefix/$oo_home
OUTERPATH=
LOGFILE=
LANGUAGELIST=<LANGUAGE>

Concerning to Dirk, the string <LANGUAGE> is not interpreted by the setup.
My basic script 'Copy_Readme_File' tries to copy the correct readme and license
files from share/readme to the installation root. This script crashes in line
56, when it really tries to copy the files. The language information the script
gets from the setup basic functions:

UILanguage = GetUILanguage()
aLanguages = GetSelectedLanguages()

If there is no correct value, the script crashes. Unfortunately all following
basic scripts crash also.
That is the problem.
Comment 8 ingo.schmidt-rosbiegal 2004-01-06 16:12:52 UTC
To be more precise: Unfortunately all following basic scripts crash also,
because of the crash of Copy_Readme_File. Therefore they all have line 56 in
their error messages. This dependencies of the basic scripts is a very old bug,
which will no longer occur in OOo 2.0.
Comment 9 ingo.schmidt-rosbiegal 2004-01-09 08:54:45 UTC
IS -> OF: I am not quit sure, how to handle this task. Repairing the install
script would be a task for Kevin, changing the setup functionality needs to be
done by Dirk. What is your opinion?
Comment 10 Olaf Felka 2004-01-09 10:34:40 UTC
of -> dv: The install script for 1.1.1a is the same as in 1.1.0. But 1.1.0
dosn't give these basic error messages. A solution could be to change the
install script but I think that you should have a look what has been changed
that causes these errors.
Comment 11 dirk.voelzke 2004-01-12 14:58:40 UTC
fixed in cws ooo111fix2 (setup2/source/other/respfile.cxx)
Comment 12 pavel 2004-01-13 05:06:00 UTC
Thanks - verified in fix2.
Comment 13 dirk.voelzke 2004-02-02 11:08:33 UTC
Please verify, too.
Comment 14 Olaf Felka 2004-02-02 11:37:24 UTC
of: Checked in inhouse OOo 645m27s2 version with integrated cws ooo111fix2: OK.
So this fix will reach the next OOo 1.1.1 version.
Comment 15 Olaf Felka 2004-02-02 11:38:15 UTC
Please reopen if this bug is still in 1.1.1.