ports/136753: editors/openoffice.org-3 fails to create proper profile paths
| From: | Kris Moore <kris@pcbsd.org> |
| Date: | Tue, 14 Jul 2009 13:26:37 GMT |
| Subject: | editors/openoffice.org-3 fails to create proper profile paths |
| Send-pr version: | www-3.1 |
| Number: | 136753 |
| Category: | ports |
| Synopsis: | editors/openoffice.org-3 fails to create proper profile paths |
| Severity: | serious |
| Priority: | medium |
| Responsible: | openoffice@FreeBSD.org |
| State: | open |
| Class: | sw-bug |
| Arrival-Date: | Tue Jul 14 13:30:03 UTC 2009 |
| Closed-Date: | |
| Last-Modified: | Tue Jul 14 13:30:22 UTC 2009 |
| 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.
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.
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: |
| Responsible Changed | |
| From-To: | freebsd-ports-bugs->openoffice |
| By: | edwin |
| When: | Tue Jul 14 13:30:20 UTC 2009 |
| Why: | Over to maintainer (via the GNATS Auto Assign Tool) |
| Unformatted: |
