[Bug 918221] New: Libreoffice 4.3.5.2 (Repo: LibreOffice) - Wizards for "Letter", "Fax", "Agenda" fail (wrong path?)
http://bugzilla.opensuse.org/show_bug.cgi?id=918221 Bug ID: 918221 Summary: Libreoffice 4.3.5.2 (Repo: LibreOffice) - Wizards for "Letter", "Fax", "Agenda" fail (wrong path?) Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: x86 OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: LibreOffice Assignee: bnc-team-ooo@forge.provo.novell.com Reporter: AxelKoellhofer@web.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I am using libreoffice from this repo: http://download.opensuse.org/repositories/LibreOffice:/4.3/ Starting "libreoffice" and trying to start one of the Wizards - "Letter" - "Fax" - "Agenda" fails with an error like this: Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/common/FileAccess.py", line 156, in getFolderTitles nameList = xInterface.getFolderContents(FolderName, False) wizards.common.FileAccess.com.sun.star.ucb.InteractiveAugmentedIOException: an error occurred during opening a directory Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/common/FileAccess.py", line 156, in getFolderTitles nameList = xInterface.getFolderContents(FolderName, False) wizards.common.FileAccess.com.sun.star.ucb.InteractiveAugmentedIOException: an error occurred during opening a directory Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/common/FileAccess.py", line 156, in getFolderTitles nameList = xInterface.getFolderContents(FolderName, False) wizards.common.FileAccess.com.sun.star.ucb.InteractiveAugmentedIOException: an error occurred during opening a directory Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/letter/LetterWizardDialogImpl.py", line 96, in startWizard self.initializeTemplates(xMSF) File "/usr/lib64/libreoffice/program/wizards/letter/LetterWizardDialogImpl.py", line 766, in initializeTemplates tuple(self.BusinessFiles[0]) IndexError: list index out of range The above error is caused by calling the "Letter" wizard, "Fax" or "Agenda" show similar error messages: Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/fax/FaxWizardDialogImpl.py", line 105, in startWizard self.setConfiguration() File "/usr/lib64/libreoffice/program/wizards/fax/FaxWizardDialogImpl.py", line 376, in setConfiguration self.optBusinessFaxItemChanged() File "/usr/lib64/libreoffice/program/wizards/fax/FaxWizardDialogImpl.py", line 387, in optBusinessFaxItemChanged self.lstBusinessStyleItemChanged() File "/usr/lib64/libreoffice/program/wizards/fax/FaxWizardDialogImpl.py", line 397, in lstBusinessStyleItemChanged self.BusinessFiles[1][selectedItemPos], False) IndexError: list index out of range Traceback (most recent call last): File "/usr/lib64/libreoffice/program/wizards/agenda/AgendaWizardDialogImpl.py", line 80, in startWizard self.agendaTemplates[1][self.agenda.cp_AgendaType]) IndexError: list index out of range Searching for these error messages leads to https://bugs.documentfoundation.org/show_bug.cgi?id=77899 however, this bug has been marked as fixed for 4.2.5.x. Taking a look at the patches mentioned in the above bug reports at http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf355f47f49eb352985c129544c60c27814f450b&h=libreoffice-4-2 and comparing them with the respective files in the libreoffice packages for openSUSE from http://download.opensuse.org/repositories/LibreOffice:/4.3/ indicates the changes made upstream are already present in openSUSE packages. Speaking purely speculatively, as the error and the bug report from libreoffice upstream indicate the problem is caused by defining a wrong path to search for template files, maybe openSUSE packages differ from upstream version in (sub)folder structure? Greetings, AK -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #1 from Axel Köllhofer
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #3 from Axel Köllhofer
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #4 from Wolfgang Bauer
4) Now, the interesting bit, you actually gave me a hint by mentioning "which templates do you have installed".
I did something one should not really do, I tried:
su
dbus-launch libreoffice
Still the same error, but then I tried:
su -
dbus-launch libreoffice
and this worked!
Now this cannot be related to permissions, root is root, so what could be the difference?
As a normal user I tried:
unset LANG ; libreoffice
and that works, too.
So apologies for not mentioning that I am using de_DE.UTF-8 as default for my user accounts.
Well, this would indeed suggest that the problem seems to be related to the locale I think. FYI, "su -" sets up a completely clean root environment, whereas "su" takes over some variables from the user's environment. Strange though, I did test with LANG set to de-DE.UTF-8 here. Could you please post the complete output of "locale", as user and after running "su -"? PS: The files in /usr/share/ooo/ are just symlinks to the ones in /usr/share/templates/libreoffice/. So copying them over from one directory to the other doesn't change anything of course. It works fine here with the exact same structure though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #5 from Axel Köllhofer
FYI, "su -" sets up a completely clean root environment, whereas "su" takes over some variables from the user's environment.
Strange though, I did test with LANG set to de-DE.UTF-8 here. Could you please post the complete output of "locale", as user and after running "su -"?
Yup, I know, I just wanted to point out (in a sense of "story telling") how I got closer to the cause of this problem. Well, talking about the output of "locale", here you go: LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= axel@Fatboy:~> su - Passwort: Fatboy:~ # locale LANG=POSIX LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
PS: The files in /usr/share/ooo/ are just symlinks to the ones in /usr/share/templates/libreoffice/. So copying them over from one directory to the other doesn't change anything of course.
Yes, after my last post I had a closer look and saw they are only symlinks. However, please note there are no symlinks from /usr/share/templates/libreoffice/de to /usr/share/templates/ooo/de, so that is why I tried to copy (also tried symlinks) the folder, also trying different names like de, de-DE or de_DE in order to maybe find out how LO handles "locale"-Variables.
It works fine here with the exact same structure though.
A real difference to your system seems to be that my systems have been updated from 12.3 to 13.1 some time ago, however doing a clean install is not an option (at least for now). I will also try to remove all packages of libreoffice, try to find and remove all possible "leftovers" and see what happens. Greetings, AK -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #6 from Wolfgang Bauer
Well, talking about the output of "locale", here you go:
LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=
It's exactly the same here... Except that you're missing LANG, LC_TYPE, and LC_NUMERIC, but I suppose that's just a mistake and they are set to de_DE.UTF-8 as well, right? ;)
Yes, after my last post I had a closer look and saw they are only symlinks. However, please note there are no symlinks from /usr/share/templates/libreoffice/de to /usr/share/templates/ooo/de, so that is why I tried to copy (also tried symlinks) the folder, also trying different names like de, de-DE or de_DE in order to maybe find out how LO handles "locale"-Variables.
Right, there is no /usr/share/templates/ooo/de at all, but that's the same here, too.
A real difference to your system seems to be that my systems have been updated from 12.3 to 13.1 some time ago, however doing a clean install is not an option (at least for now).
True, but then it also works fine on my real 13.2 system, which has been upgraded all along from 8.1... ;)
I will also try to remove all packages of libreoffice, try to find and remove all possible "leftovers" and see what happens.
Good idea. Maybe there's some dangling symlink somewhere that causes the problem? There were such issues with the help files when upgrading from 4.1 to 4.2 or 4.3. (this particular issue fixed itself if you reinstalled or updated libreoffice though, and should be fixed meanwhile in the 4.3 packages) In particular I would check/remove /usr/lib/libreoffice, /usr/lib64/libreoffice, and /usr/share/libreoffice (and of course /usr/share/templates). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
--- Comment #7 from Axel Köllhofer
I will also try to remove all packages of libreoffice, try to find and remove all possible "leftovers" and see what happens.
(In reply to Wolfgang Bauer from comment #6)
In particular I would check/remove /usr/lib/libreoffice, /usr/lib64 /libreoffice, and /usr/share/libreoffice (and of course /usr/share/templates).
DAMN! This did the trick on two (sic!) systems, on the second one I am 100% sure loffice has never been installed from OSS-Repo as I installed the packages months after system had been set up. The really odd thing, on both systems removing libreoffice-packages gave additional output like this: Zusätzliche rpm-Ausgabe: ls: cannot access /usr/lib//libreoffice/share/config/soffice.cfg/fps/ui/res/*: No such file or directory ls: cannot access /usr/lib//libreoffice/share/config/soffice.cfg/modules/dbreport/ui/res/*: No such file or directory ls: cannot access /usr/lib//libreoffice/share/config/soffice.cfg/modules/sabpilot/ui/res/*: No such file or directory ls: cannot access /usr/lib//libreoffice/share/config/soffice.cfg/modules/sbibliography/ui/res/*: No such file or directory ls: cannot access /usr/lib//libreoffice/share/config/soffice.cfg/modules/spropctrlr/ui/res/*: No such file or directory Zusätzliche rpm-Ausgabe: ls: cannot access /usr/lib//libreoffice/program/resource/*: No such file or directory ls: cannot access /usr/lib//libreoffice/share/registry/res/*: No such file or directory as if some files were missing although I certainly did not remove them manually. Maybe on updating from Loffice (4.2.X to 4.3.X something went wrong while running post-install/post-update scripts? Additionally, there actually were some "leftovers" in /usr/lib(64)/libreoffice and I removed those ones manually (without having a closer look at the files themselves, actually a really dumb idea of mine. If there were other users having the same problem, they will not have really good clues on what really might cause their problem). Great, in a nutshell this means "much ado about nothing" from my side, if there really was a bug involved (which one can doubt now), then it will be nearly impossible to reproduce. IŽm sorry Wolfgang, seems like this thread will not be of any real use for anybody and just wasted some of your time. Greetings, AK -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918221
Axel Köllhofer
participants (1)
-
bugzilla_noreply@novell.com