Bug 144285 - OOo gives: ooo-wrapper not found
Summary: OOo gives: ooo-wrapper not found
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: OpenOffice.org (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Michael Meeks
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 08:57 UTC by Andreas Jaeger
Modified: 2006-02-01 15:54 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2006-01-20 08:57:39 UTC
aj@x40:~> rpm -qf /usr/X11R6/bin/OOo
OpenOffice_org-2.0.0.99.149-3
aj@x40:~> which OOo
aj@x40:~> OOo
/usr/X11R6/bin/OOo: line 21: exec: ooo-wrapper: not found


I hvae the following packages installed:
OpenOffice_org-kde-2.0.0.99.149-3
OpenOffice_org-2.0.0.99.149-3
OpenOffice_org-de-2.0.0.99.149-3
OpenOffice_org-de-templates-8.2-160
OpenOffice_org-gnome-2.0.0.99.149-3
OpenOffice_org-Quickstarter-1.0-474
Comment 1 Petr Mladek 2006-01-20 09:51:00 UTC
Michal, this is related to your recent wrapper-related changes. You kept only the functionality-specific wrappers, such as oowriter, oocalc. Was it intentional to remove the global universal wrappers (ooffice, ooo-wrapper) that started OOo with a blank page?

I would vote to add ooffice back again.
Comment 2 Michael Meeks 2006-01-20 09:54:52 UTC
Oh - no, it wasn't intentional - I'll have a poke at that.
Comment 3 Michael Meeks 2006-01-20 10:18:33 UTC
So - now we install an ooffice script again - Petr: can you update OOo-wrapper to use that instead of ooo-wrapper ?

Thanks.
Comment 4 Petr Mladek 2006-01-20 17:01:44 UTC
OOo-wrapper is upaded, so it should work on beta2 again.

However, there are still some issues with the OOo and ooffice wrappers:

1. The new ooffice wrapper opens blank text file in the writer mode instead of blank window in no special mode.

2. I tested how it works with the KDE quickstarter. The base function is fine. The problem is when the user tries to start ooffice from xterm and there is only the quickstarter instance on backgroung. It should open a window but it does nothing.

Steps to reproduce the 2nd problem:
1. quit all OOo instances
2. start /usr/lib/ooo-2.0/program/soffice -nodefault -nologo
   This command is used by the KDE quickstarter to start the OOo instance on background. However, the result is the same even when you use "ooffice" instead of "/usr/lib/ooo-2.0/program/soffice".
3. start ooffice

Result:
It should open a window but nohing happens. You must start OOo in a special mode (oowriter, oocalc, ...) to get a visible window.

Michael, should I create two extra bug entries fo these two problems?
Comment 5 Michael Meeks 2006-01-20 18:34:03 UTC
I think I know what's wrong :-) it'd be great if you could test a patch next week.
Comment 6 Michael Meeks 2006-01-23 11:01:47 UTC
------- Comment #4 from pmladek@suse.de  2006-01-20 10:01 MST -------
> OOo-wrapper is upaded, so it should work on beta2 again.
> 1. The new ooffice wrapper opens blank text file in the writer mode
> instead of blank window in no special mode.
> 
	Well - it seems that the old 'ooffice' did this too; at least - perhaps the functionality has changed here: my old 2.0.0.99 build if you run ./soffice.bin starts the shell, but my newer ones all start writer. What do you get if you start: ./soffice.bin <no-args> ?

> 2. I tested how it works with the KDE quickstarter. The base function is fine.
> The problem is when the user tries to start ooffice from xterm and there is
> only the quickstarter instance on backgroung. It should open a window but it
> does nothing.
> 
	Ok - interesting.

> Steps to reproduce the 2nd problem:
> 1. quit all OOo instances
> 2. start /usr/lib/ooo-2.0/program/soffice -nodefault -nologo
>    This command is used by the KDE quickstarter to start the OOo instance on
> background. However, the result is the same even when you use "ooffice"
> instead of "/usr/lib/ooo-2.0/program/soffice".
> 3. start ooffice
> 
	So - taking a lower-level approach :-) if I do:

	/usr/lib/ooo-2.0/program/soffice -nodefault -nologo\
	sleep 20
	/usr/lib/ooo-2.0/program/soffice

	I get no shell window either ;-)

> It should open a window but nohing happens. You must start OOo in a special
> mode (oowriter, oocalc, ...) to get a visible window.
> 
> Michael, should I create two extra bug entries fo these two problems?

I think they're the same bug - but, yes please do create another bug; somehow the 'shell' has got clobbered by someone (up-stream prolly). I'll commit a fix for the other minor problem I was concerned about though.

Thanks.
Comment 7 Andreas Jaeger 2006-01-27 15:31:29 UTC
OOo works now with beta2.

But the following fails:
OOo something.sxw

It opens a window with:
/usr/lib/ooo-2.0/program/something.sxw does not exist.

OOo-writer something.sxw gives the same error.
Comment 8 Andreas Jaeger 2006-01-27 15:32:38 UTC
ooowriter something.sxw fails as well
Comment 9 Petr Mladek 2006-02-01 12:41:19 UTC
Michael, could you look at it?
Comment 10 Michael Meeks 2006-02-01 15:54:52 UTC
Sure; fixed:

2006-02-01  Michael Meeks  <michael.meeks@novell.com>

	* patches/src680/speed-ooqstart.diff: fix cwd issues
	for files without paths; always send absolute paths;
	Also do system setup bits. n#144285

Thanks for the report.