Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 13:26:37 GMT
From:      Kris Moore <kris@pcbsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136753: editors/openoffice.org-3 fails to create proper profile paths
Message-ID:  <200907141326.n6EDQbv8017588@www.freebsd.org>
Resent-Message-ID: <200907141330.n6EDU3og018597@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136753
>Category:       ports
>Synopsis:       editors/openoffice.org-3 fails to create proper profile paths
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 14 13:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kris Moore
>Release:        7.2-Stable
>Organization:
iXsystems / PC-BSD
>Environment:
FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #11: Wed Jun 24 18:36:21 EDT 2009     root@build7x32.pcbsd.org:/usr/obj/pcbsd-build72/cvs/7.2-src/sys/PCBSD  i386
>Description:

Found a bug in OO when trying to use extension template packages, but it may effect other extensions as well. Installing a template package such as one from Sun:

http://extensions.services.openoffice.org/project/TemplatePack_II

The actual installation seems to go just fine. However, when you go to use a new template, OO throws an error: 

/usr/home/kris/.openoffice.org/3r/uno_packages/cache/uno_packages/yTznki_/OOOP-templates-separated-en-US-2.6.0.2.oxt/template/en-US/forms/Confidentiality_Agreement.ott does not exist

When we dig deeper into this, we find a very similar path in the .openoffice.org folder:

/usr/home/kris/.openoffice.org/3/user/uno_packages/ <everything after this point is the same)


The only differences are 3 -> 3r, and user/uno_packages is becoming uno_packages.


>How-To-Repeat:
Simply install the template package mentioned above. 
>Fix:
We can fix the issue this way:

mkdir /home/kris/.openoffice.org/3r
ln -s /home/kris/.openoffice.org/3 /home/kris/.openoffice.org/3r
ln -s /home/kris/.openoffice.org/3/user/uno_packages /home/kris/.openoffice.org/3r/uno_packages

After creating the directory / symlink, the templates all work like a champ. 

This is obviously a workaround, but now that this is known, maybe somebody can figure out where in the OO code this path error is occuring. 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907141326.n6EDQbv8017588>