Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246367 - kmail fails with KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1
Summary: kmail fails with KHTML default stylesheet version mismatch. Aborting. Check y...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-11 02:50 UTC by Hal Engel
Modified: 2009-02-09 19:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Engel 2008-11-11 02:50:51 UTC
After upgrading from kde 4.1.2 to 4.1.3 kmail fails with:

ERROR !!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1

I had the same problem with kmail when I upgraded to 4.1.2 and in both cases I fixed it by adding

export KDEDIRS=${_KDEDIR}:/usr:/usr/local

to the startkde script.  I found this fix in the following thread in the gentoo forums.

http://forums.gentoo.org/viewtopic-t-710821-highlight-startkde.html 

Reproducible: Always

Steps to Reproduce:
1. Use the kdeprefix use flag
2. Install KDE 4.1.x and anything else needed to run kmail
3. Run kmail.

Actual Results:  
kmail does not run.

Expected Results:  
kmail should work.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-11 09:01:45 UTC
Well when you dont use kde3.5.10 with its newest kdelibs and kdebase starkde you are literally asking for problems.
So please try updating your kde3 install and report if problem still occurs
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2008-12-14 10:09:02 UTC
i can confirm this problem but with 4.1.82 i've also kdelibs 3.5.10 installed.
removing the kde3 entry from $KDEDIRS seems to be a good workaround, it works for me.
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2008-12-16 16:23:56 UTC
after booting my computer at next day it was solved.
maybe there was an outdated kde process or something on the ENV was changed after installing kdelibs 3.10.x and i forgot to source my profile.
anyway... it works now.
Comment 4 Franz Glauber Vanderlinde 2009-02-08 12:45:37 UTC
I can report the same goes on for KDE 4.2: kontact and akregator.

I was using the kdelibs-3.5.9, so I'm upgrading now to see if it solves.
Comment 5 Franz Glauber Vanderlinde 2009-02-08 18:41:24 UTC
Upgrading to kdelibs-3.5.10-r2 solved the issue for me.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-09 19:40:03 UTC
It is already a dependency of kde-4.2 so closing as fixed.