Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283687 - app-office/openoffice-3.1.1 fails to open template documents
Summary: app-office/openoffice-3.1.1 fails to open template documents
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 17:21 UTC by Christian Becke
Modified: 2010-02-23 15:45 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge -pv app-office/openoffice && emerge --info (emerge-info.txt,4.64 KB, text/plain)
2009-09-04 17:24 UTC, Christian Becke
Details
some more "emerge --info" (emerge-info-openffice.txt,5.26 KB, text/plain)
2009-09-13 12:29 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Becke 2009-09-04 17:21:32 UTC
Steps to reproduce:

1) create a document using openoffice-3.1.1 (I tried writer and calc)
2) save document as a template (.ott, .ots)
3) close document
4) try to open the template document

Expected result:
oo should open a new document, based on the template.

Actual result:
Looks like oo loads the document, but then fails to display it.

I tried moving my ~/.ooo3 folder, but that did not fix it. Interestingly, I can load the document from the command line using "ooffice -o /path/to/document.ots" (allowing me to edit the template, not creating a new document based on the template).

Anything I can do to further debug this?
Comment 1 Christian Becke 2009-09-04 17:24:31 UTC
Created attachment 203127 [details]
emerge -pv app-office/openoffice && emerge --info
Comment 2 TGL 2009-09-13 12:29:03 UTC
Created attachment 203926 [details]
some more "emerge --info"

I have the exact same issue, on amd64 this time. 
Attached is my "emerge --info app-office/openoffice".
Comment 3 TGL 2009-09-13 12:36:23 UTC
One more information : i have verified 3.1.0-r1 works fine, so this bug is new in 3.1.1.
Comment 4 Billy DeVincentis 2009-09-16 11:35:25 UTC
I just hit this trying to open a template. Damn I hat that. Any ideas?
Comment 5 Billy DeVincentis 2009-09-24 15:59:08 UTC
With the changes that were just submitted to the tree, I thought I would try again but with or without the kde use flag, templates still don't open. Oddly enough, if a template is in your recently opened list, then it can be opened after oowriter has been opened. 
Comment 6 Kai Wüstermann 2009-10-01 14:28:25 UTC
This bug relates to openoffice-bin-3.1.1 too. I tried it yesterday.

If you use your own template on startup of openoffice, you can't start writer, but calc do not succeed to open the user template, but opens an empty table.
Comment 7 Joseph 2009-10-05 16:02:49 UTC
I created a form on openoffice spreadsheet and it prints wrong font size,
Arial 10 seems to me 1/3-size smaller, printing on same printer.
The only difference, they are two different spreadsheet documents. 

The binary openoffice-3.1.1 print the same document 15-page long and Gentoo compiled openoffice prints the same document 20-pages long (same margins, same setting, same fonts) so there is definately a problem with openoffice.
Comment 8 Horacio Hiroiti Sawame 2009-10-09 14:17:11 UTC
Same situation (ooo can not open template, shows blank document)

Portage 2.2_rc44 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)

app-office/openoffice-3.1.1 was built with the following:
USE="bash-completion binfilter cups dbus gnome gstreamer gtk java ldap (multilib) nsplugin opengl pam templates (-aqua) -debug -eds (-kde) -mono -odk" LINGUAS="en en_US pt pt_BR -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -ru -rw -sa_IN -sat -sd (-sh) -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu" 
CFLAGS="-mtune=athlon64 -pipe -DGL_GLEXT_PROTOTYPES"
CXXFLAGS="-mtune=athlon64 -pipe -DGL_GLEXT_PROTOTYPES"
Comment 9 Georg Schild 2009-10-12 18:25:56 UTC
I had the same problem and it looks like a found a workaround.
Although this is quite weird, it seems that the template-file permissions are the problem.
The templates that come with OOo.org have r-r-r, my own had rwx-r-r. Changing the owner permissions to read-only makes openoffice open the templates again.
Looks easy, is easy.
Comment 10 Kai Wüstermann 2009-10-14 07:28:57 UTC
(In reply to comment #9)

> The templates that come with OOo.org have r-r-r, my own had rwx-r-r. Changing
> the owner permissions to read-only makes openoffice open the templates again.
> Looks easy, is easy.
 
I can confirm that for app-office/openoffice-3.1.1 on amd64. app-office/openoffice-bin-3.1.1 works right.
Comment 11 Christian Becke 2009-10-14 07:43:05 UTC
(In reply to comment #9)
> The templates that come with OOo.org have r-r-r, my own had rwx-r-r. Changing
> the owner permissions to read-only makes openoffice open the templates again.
> Looks easy, is easy.

Thanks! Changing permissions works for me on both amd64 and x86.

Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-14 07:48:28 UTC
Sounds like voodoo bugfixing, but Georg is definitely right…
Comment 13 saft 2009-11-19 14:40:11 UTC
Bug still unsolved in OOo 3.1.1 x86, even when changing permissions to 777.
OOo just crashes.

Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-28 21:31:28 UTC
Could someone please report this upstream and link the bug here?

http://qa.openoffice.org/issue_handling/pre_submission.html
Comment 15 jordi bofill 2009-12-11 07:41:20 UTC
(In reply to comment #14)
> Could someone please report this upstream and link the bug here?
> 
> http://qa.openoffice.org/issue_handling/pre_submission.html
> 

In Ubuntu 9.10 openoffice templates work fine with permissions set to rw, so I think its more a gentoo issue.
Comment 16 Christian Becke 2010-02-23 13:10:44 UTC
app-office/openoffice-3.2.0 works fine for me on amd64.
Comment 17 Andreas Proschofsky (RETIRED) gentoo-dev 2010-02-23 15:45:26 UTC
(In reply to comment #16)
> app-office/openoffice-3.2.0 works fine for me on amd64.
> 

Same here, works fine (on x86) I guess the reason is that we had to revert back to gnome-vfs-support instead of the newer gio-support as the latter is unfortunately still broken in multiple unfunny ways. Anyways good to hear that this works now.

Closing but keeping on my checklist before enabling gio-support again...