kword fails to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
koffice2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kword-kde4
got this after installing koffice-kde4 after version 2 was backported to jaunty.
kword(4147) KServiceFactory
kword(4147) KServiceFactory
Janus (ysangkok+launchpad) wrote : | #1 |
Matt Joiner (anacrolix) wrote : | #2 |
I didn't have kpresenter-data installed in the first place.
ehcpdeveloper (ehcpdeveloper) wrote : | #3 |
same situation:
bvidinli@
kplato(1638) KServiceFactory
kplato(1638) KServiceFactory
bvidinli@
kword(1639) KServiceFactory
kword(1639) KServiceFactory
bvidinli@
i have no kpresenter-data installed.
emanuel indermühle (e-i) wrote : | #4 |
I can confirm this bug. I get the same output as mentioned before.
My system:
- Ubuntu Jaunty 64bit
- no kpresenter-data installed
emanuel indermühle (e-i) wrote : | #5 |
The workaround mentioned in Bug #185551:
"rm /var/tmp/
solved the problem for me
Harald Sitter (apachelogger) wrote : | #6 |
Just wondering ... does this issue continue to exist after a reboot?
Also, did you upgrade from some pre-release (alpha, beta...) or was it a new install of koffice2?
The thing is that kbuildsycoca4 (which would basically do what removing ksycoca4 causes) is run everytime a file changes as well as every couple of minutes to catch new files. Taking this into account the issue should be resolved in a matter of seconds after an upgrade and in a matter of minutes after a new install. In any case it should resolve after a reboot or login because kbuildsycoca4 is always executed by the script responsible for KDE's startup.
I can really only think of 2 reasons why this would fail:
1. kbuildsycoca4 fails to parse the desktop files (i.e. there is some wrong format present)
2. ksycoca4 is broken due to previous parsing problems (in earlier version of koffice[2]) or due to some other screwup
Changed in koffice2 (Ubuntu): | |
status: | New → Incomplete |
Matt Joiner (anacrolix) wrote : | #7 |
I first installed Jaunty from the RC, and upgraded since. The problem seems to have gone away now.
ehcpdeveloper (ehcpdeveloper) wrote : Re: [Bug 381599] Re: kword fails to start | #8 |
i am already using jaunty, and problem continues, re-tried, same...
On Mon, Jun 8, 2009 at 8:45 AM, Matt Joiner<email address hidden> wrote:
> I first installed Jaunty from the RC, and upgraded since. The problem
> seems to have gone away now.
>
> --
> kword fails to start
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Harald Sitter (apachelogger) wrote : | #9 |
Well, lets try something else then.
Run
kdebugdialog
and make sure everything is turned on. Then run
kbuildsycoca4 > sycoca.log 2>&1
that will create a file named sycoa.log, please attach it to this bug.
If the problem is that kbuildsycoca4 fails to parse something, then it should show up in the log. If it is not, then we have quite a drag at our hands :D
Harald Sitter (apachelogger) wrote : | #10 |
Looking through the packages. It seems that the following is possible, however highly unlikely:
kwordpart.desktop and kwordpart.so are in different packages, so if the former gets installed before the latter, kbuildsycoca might, or might not, fail to add kwordpart to the database (because obviously the library is missing anyway). Judging from earlier encounters with sycoca weirdness this seems rather impossible because from what I know, kbuildsycoca4 will add the part no matter whether there is a library or not, only at actual application runtime it will become noticed and treated (we can see this for example in system settings when the case desktopfile-
Other than that I can hardly imagine anything that could cause this issue packaging wise. So, if someone could go check over at http://
ehcpdeveloper (ehcpdeveloper) wrote : | #11 |
- sycoca.log Edit (136.9 KiB, text/x-log; charset=UTF-8; name="sycoca.log")
bvidinli@
kword(22663) KServiceFactory
"findServiceByD
kword(22663) KServiceFactory
"findServiceByD
bvidinli@
bvidinli@
bvidinli@
bvidinli@
bvidinli@
Linux bvidinli-yenihdd 2.6.28-12-generic #43-Ubuntu SMP Fri May 1
19:27:06 UTC 2009 i686 GNU/Linux
bvidinli@
while debug is turned on, i tried to run kword, it started after print
on console enormous lines of debug messages. i saw kword interface, it
started..
But,
After having log, i re-run kdebugdialog, deselect all, applied,
then, i tried to start kword, it still prints debug messages... That
is, debug is not turned off.
I checked again in kdebugdialog that all turned off...
So, last status:
on command line: kword and kspread starts up by printing many log
messages, so, they startup very slow
from menu: they start very slow...
See you,
On Mon, Jun 8, 2009 at 10:36 AM, Harald Sitter<email address hidden> wrote:
> Well, lets try something else then.
>
> Run
>
> kdebugdialog
>
> and make sure everything is turned on. Then run
>
> kbuildsycoca4 > sycoca.log 2>&1
>
> that will create a file named sycoa.log, please attach it to this bug.
> If the problem is that kbuildsycoca4 fails to parse something, then it should show up in the log. If it is not, then we have quite a drag at our hands :D
>
> --
> kword fails to start
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Harald Sitter (apachelogger) wrote : | #12 |
Well, the debug is caused by an underlying library and probably deserves a seperate bug report.
But there is indeed something very wrong with your ksycoca4 (or rather - was).
Reading through the log you attached you will find a lot of lines saying "new:" or "modified:" each of those lines represents either a newly installed (in this case most importantly KOffice) or a updated .desktop file.
This is very concerning because it seems that something prevented your kbuildsycoca4 from being autoexecuted (or at least prevented it from storing its data afterwards). As far as I know this tool should be invoked by one of the most essential components of the KDE desktop, so I find it rather impossible that it didn't get run at all, which makes this whole issue a whole lot more weird.
Also, I'd like to mention that I failed to reproduce this issue on my almost-stock-jaunty installation. Jonathan Thomas is now going to try with a clean jaunty installation and KOffice 2.0.0.
It is indeed possible that whatever causes this issue is not present in Kubuntu 9.04 and/or KOffice 2.0.0.
Changed in koffice2 (Ubuntu): | |
status: | Incomplete → Confirmed |
ehcpdeveloper (ehcpdeveloper) wrote : | #13 |
Maybe, maybe this issue does not exist in a clean Jaunty 9.04 installation.
My computer runs Ubuntu 9.04, which is upgraded from previous version.
This may not be seen as a clean install. Because this is an upgrade,
and I have many programs installed... What is interesting, I lived
same situation in another desktop computer who has not so much
software, only server components, such as apache, postfix, ehcp
(control panel) and so on..
Anyway, i think that, even somebody installs on a non-new Ubuntu or
similar distro, koffice or kword should handle those situations and
should clean up itself... This is a very generic situation, " i am
using an Ubuntu, and installing koffice.. " thats it..
By the way, other software on my desktop runs almost flawlesly... I
mean, the Ubuntu and other software is working good...
Thank you for your helps, i may do any other test if you wish...
Last status: kword-kspread still starts very slow...
see you...
On Mon, Jun 8, 2009 at 8:04 PM, Harald Sitter<email address hidden> wrote:
> Well, the debug is caused by an underlying library and probably deserves
> a seperate bug report.
>
> But there is indeed something very wrong with your ksycoca4 (or rather -
> was).
>
> Reading through the log you attached you will find a lot of lines saying
> "new:" or "modified:" each of those lines represents either a newly
> installed (in this case most importantly KOffice) or a updated .desktop
> file.
>
> This is very concerning because it seems that something prevented your
> kbuildsycoca4 from being autoexecuted (or at least prevented it from
> storing its data afterwards). As far as I know this tool should be
> invoked by one of the most essential components of the KDE desktop, so I
> find it rather impossible that it didn't get run at all, which makes
> this whole issue a whole lot more weird.
>
> Also, I'd like to mention that I failed to reproduce this issue on my almost-stock-jaunty installation. Jonathan Thomas is now going to try with a clean jaunty installation and KOffice 2.0.0.
> It is indeed possible that whatever causes this issue is not present in Kubuntu 9.04 and/or KOffice 2.0.0.
>
> ** Changed in: koffice2 (Ubuntu)
> Status: Incomplete => Confirmed
>
> --
> kword fails to start
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Nameless (nameless-oleco) wrote : | #14 |
I'm using Ubuntu 9.04 (upgraded from 8.10) and have the same problem.
No kpresenter-data package is installed, but krita-kde4 ("upgraded" from krita 1.x) fails to start, too.
***@Gremlin:~$ krita
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Optimiser_p.cpp at 111 in GTLCore:
GTLCore (Debug): in Type.cpp at 104 in GTLCore:
GTLCore (Debug): in Type.cpp at 104 in GTLCore:
GTLCore (Debug): in Typ...
Harald Sitter (apachelogger) wrote : | #15 |
Incredibly weird bug, no doubt on that. But I think we still can assume that it does not appear in 9.04 final (even when upgraded to KO 2.0.0).
Anyway let's try to pursue the theory about kbuildsycoca4 not being invoked at all. Those that are still affected by this bug: please run
kdebudialog
and activate all debugging, logout and back in again, use KDE for some time (maybe install a KDE app etc.)
then run
grep -r -i 'sycoca' $HOME/.
that should spit out a file called 'file' which should contain the debug output related to ksycoca. With a bit of luck it might give us a clue as to why the cache doesn't want to detect the kpart desktop file.
Changed in koffice2 (Ubuntu): | |
status: | Confirmed → Incomplete |
Jonathan Thomas (echidnaman) wrote : | #16 |
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!
Changed in koffice2 (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in koffice2 (Ubuntu): | |
status: | Invalid → New |
Mikael Bergqvist (mikaelb) wrote : | #17 |
I ran into this bug after a fresh install of Karmic Koala followed by an install of koffice-kde4.
Tried the suggested workaround above, "rm rm /var/tmp/
Thereafter it was possible to start kword.
Reopened the bug since many people will be in the same situation. A fresh install, followed by a fresh install of koffice-kde4.
Harald Sitter (apachelogger) wrote : | #18 |
Repost of #15
Incredibly weird bug, no doubt on that. But I think we still can assume that it does not appear in 9.04 final (even when upgraded to KO 2.0.0).
Anyway let's try to pursue the theory about kbuildsycoca4 not being invoked at all. Those that are still affected by this bug: please run
kdebudialog
and activate all debugging, logout and back in again, use KDE for some time (maybe install a KDE app etc.)
then run
grep -r -i 'sycoca' $HOME/.
that should spit out a file called 'file' which should contain the debug output related to ksycoca. With a bit of luck it might give us a clue as to why the cache doesn't want to detect the kpart desktop file.
And closing again, since yet again I did not get the information requested. This is so not going to be fixed if everyone just keeps working around the issue instead of helping me track it down.
Changed in koffice2 (Ubuntu): | |
status: | New → Invalid |
Risto H. Kurppa (risto.kurppa) wrote : | #19 |
Changed the status back to confirmed. Bumped into this on Kubuntu 11.10 today.
kurppa@el-kone:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
kurppa@el-kone:~$ kword -v
Qt: 4.7.4
KDE Development Platform: 4.7.3 (4.7.3)
KWord: 2.3.3
kurppa@el-kone:~$ kword
kword(4375)/koffice (lib komain): "kword" part.desktop not found.
kword(4375)/koffice (lib komain): Run 'kde4-config --path services' to see which directories were searched, assuming kde startup had the same environment as your current shell.
kword(4375)/koffice (lib komain): Check your installation (did you install KOffice in a different prefix than KDE, without adding the prefix to /etc/kderc ?)
kurppa@el-kone:~$ rm /var/tmp/
kurppa@el-kone:~$ kword
kbuildsycoca4 running...
[then plenty of messages]
And kword started.
Changed in koffice2 (Ubuntu): | |
status: | Invalid → Confirmed |
i think i resolved this by removing the kpresenter-data package (which belongs to koffice 1.x). apparrently there is a conflict.