[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Bug#42318: KOffice 1.2 Apllications crash at Startup
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-05-29 10:06:35
[Download RAW message or body]

On Friday 10 May 2002 08:51, Thomas Schmid wrote:
> Hi all,
> 
> More info on the same type of bug #42318: I have compiled and installed 
> KOffice 1.2 Beta 1 in _parallel_ with KOffice 1.1.1.

Ah, that's koffice-1.1.1 *for kde3*? That's the info I missed when I first read
your answer.

> I try to start "kword", "kspread", "kpresenter".... they crash, all with the 
> same pattern:
> 
> --- cut ---
> /opt/kde3/lib/kde3/plugins/styles/kthemestyle.so: Feature systemalt already 
> defined in /opt/kde3/lib/kde3/plugins//styles/kthemestyle.so!
> koffice (lib kofficecore): WARNING: KoDocumentEntry::query 
> [X-KDE-NativeMimeType] == 'application/x-kontour' got 2 offers!

I think this is the problem.
Please go to kdelibs/kio/tests, and type
make ktradertest
./ktradertest KOfficePart KParts/ReadOnlyPart "[X-KDE-NativeMimeType] == 'application/x-kpresenter'"
and send me the output.

But I think I see the problem.... if you have both versions of koffice
on the _same_ version of KDE, then koffice is confused as to which
components it should open.... and it picks up the wrong one, and
it crashes.

We don't really have a concept of "installation prefix" into which to look.
It's more like "a list of prefixes known to KDE, altogether".
So having two koffice versions among that, leads to problems, and I'm not
sure how to change that.
Hmm, simply having a version number flag in the .desktop file would allow
to pick up the right component, though. Well, at least its .desktop file.
The problem is to pick the right library from there - and again we hit the
"all prefixes are mixed" problem. We'd need version numbers on
modules too, which we didn't do up to now.
Similarly: if you had two versions of Konqueror, or any other executable,
in your PATH, only one would be accessible. They don't have version numbers
in their name - the same happens with modules. This explains the decision
of not putting version numbers in loadable modules.

> My system is: Toshiba 4200 Labtop, 192MB RAM, SuSE 8.0 (including all 
> patches), KDE 3.0 (from the SuSE distribution), KOffice 1.1.1 (from the SuSE 
> distribution).  KOffice 1.2 Beta 1 was compiled from TGZ-archive, with 
> "--prefix=/usr/local/koffice-1.2-beta1", "--enable-debug=yes" and 
> "--enable-warnings".

It's --enable-debug (without the =yes). Seems you got no debug symbols
because of that.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic