On Sat, Apr 17, 2004 at 10:52:27PM +0200, Dominique Devriese wrote: > Itai Seggev writes: > > > OK, so this is the only place in the source where the error message > > appears: > > > QStringList keys() const > > { > > QSettings cfg; > > KStyleDirs::dirs()->addToSearch( "config", cfg ); > > > QStringList keys; bool ok; > > > keys = cfg.readListEntry( "/kthemestyle/themes", &ok); if ( > > !ok ) > > qWarning( "KThemeStyle cache seems corrupt!\n" ); //Too > > bad one can't i18n this :-( > > > return keys; > > } > > For reference: this code comes from > kdelibs/kstyles/kthemestyle/kthemestyle.cpp. > > > This code is the same in both debian and pristine sources (which I > > guess makes sense, given the recompiling the debian sources fixes > > the problem). It's not entirely clear to me how this code actually > > ever works, but apparently it does.
> Why wouldn't it work ? I didn't say it wouldn't, I just said I don't understand how it works. I did "locate kthemestyle/themes" and got null output, so I guess that string is some sort of key and not a physical directory. However, I don't really know the internals of KDE. > > However, I'm no closer to figuring out why I'm getting this > > message. > > Can you send us the output of the command "locate kthemestylerc" and > the contents of the file /etc/kde3/kthemestylerc ? Possibly, >>>> 152:cavy:/usr/share/apps/kstyle/themes> locate kthemestylerc /etc/kde3/.kthemestylerc.lock /etc/kde3/kthemestylerc /usr/local/kde/share/config/kthemestylerc /usr/local/kde/share/config/.kthemestylerc.lock /usr/local/src/kde/kdelibs/kstyles/themes/kthemestylerc <<<<< All three copies of the file are identical: >>>> 153:cavy:/usr/share/apps/kstyle/themes> cat /etc/kde3/kthemestylerc [General] themes=marble^eriscos^esystem^esystemalt^e [marble] file=marble.themerc [riscos] file=riscos.themerc [system] file=system.themerc [systemalt] file=systemalt.themerc <<<< -- Itai Itai Seggev, University of Chicago, Department of Physics Co-coordinator, Carmel Project (http://linbrew.sourceforge.net/carmel) In 1997 a group of programmers started writing a desktop environment to fix a travesty they didn't create. Their program promptly found its way onto un*x systems everywhere. Today, still opposed by a software monopolist, they survive as soldiers of fortune. If you share their vision, if you know you can help, and if you can connect to internet, maybe you can join... the K-Team.