[Nix-dev] 2 kde bugs found so far but nice job :)

Tony White tonywhite100 at googlemail.com
Sun Apr 12 12:47:56 CEST 2009


2009/4/12 Sander van der Burg - EWI <S.vanderBurg at tudelft.nl>:
> I think you should enable gpg in your nix-profile, with nix-env -f
> $NIXPKGS_ALL -i -A gpgme
> I guess that KDE expects that the gpg executable is defined in some
> directory defined in the PATH environment variable.
>
> For the su issue: I don't know an answer for this yet. I still have to
> investigate that issue.
> I think that not all required nvironment variables are set when running su
> or su -
>
> -----Oorspronkelijk bericht-----
> Van: nix-dev-bounces at cs.uu.nl namens Tony White
> Verzonden: zo 12-4-2009 6:41
> Aan: nix-dev
> Onderwerp: [Nix-dev] 2 kde bugs found so far but nice job :)
>
> Nice job on the kde 4.2.2 guys, I've got two issues I've found.
>
> When switching plasma themes by downloading a new one, The theme
> installer complains that gpg is missing.
> If it's not installed should it be a dependency?
> Maybe it just can't find gpg, I'm not sure if gpg is installed.
>
> Second issue is about super user mode with konqueror.
> Basically there is a known bug with konqueror only running as super
> user mode in a separate root environment so it's su - not su but even
> when using su - I can't get it to run. The same applies for sudo
> konqueror.
> Running konqueror as a regular user works fine, Just not as super user.
>
>
>
>
> sh-3.2$ su -
> Password:
>
> [root at m3n:~]# konqueror
> Creating link /root/.kde/cache-m3n.
> Created link from "/root/.kde/cache-m3n" to "/var/tmp/kdecache-root"
> Creating link /root/.kde/tmp-m3n.
> Created link from "/root/.kde/tmp-m3n" to "/tmp/kde-root"
> konqueror(5528) KonqMisc::createBrowserWindowFromProfile: path=
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/apps/konqueror/profiles/webbrowsing"
> , filename= "webbrowsing" , url= KUrl("")
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
> to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Could
> not open ksycoca
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
> to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Could
> not open ksycoca
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::checkDatabase: We
> have no database.... launching kdeinit
> konqueror(5528) KToolInvocation::klauncher: klauncher not running...
> launching kdeinit
> Creating link /root/.kde/socket-m3n.
> Created link from "/root/.kde/socket-m3n" to "/tmp/ksocket-root"
> kdeinit4: preparing to launch
> /nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/lib/kde4/libexec/klauncher
> kdeinit4: Launched KLauncher, pid = 5540 result = 0
> klauncher(5540)/kio (KIOConnection)
> KIO::ConnectionServer::listenForRemote: Listening on
> "local:/tmp/ksocket-root/klauncherMT5540.slave-socket"
> kdeinit4: opened connection to :0.0
> kdeinit4: preparing to launch
> /nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kded4
> kdeinit4: Launched KDED, pid = 5542 result = 0
> kded(5543)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon
> "kded"
> kded(5543)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon
> "kded"
> kded(5543)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon
> "kded"
> kded(5543)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon
> "kded"
> kdeinit4: Got EXT_EXEC
> '/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4'
> from launcher.
> kdeinit4: preparing to launch
> /nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4
> klauncher(5540)/kio (KLauncher) KLauncher::processRequestReturn:
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4"
> (pid 5546) up and running.
> kbuildsycoca4 running...
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Trying to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Could not open ksycoca
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Trying to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Could not open ksycoca
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Trying to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Could not open ksycoca
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Trying to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kbuildsycoca4(5546)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Could not open ksycoca
> kbuildsycoca4(5546) KBuildSycoca::recreate: Recreating ksycoca file
> ("/var/tmp/kdecache-root/ksycoca4", version 131)
> kbuildsycoca4(5546) KBuildMimeTypeFactory::createEntry: Missing
> <comment> field in
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/text/plain.xml"
> kbuildsycoca4(5546) VFolderMenu::pushDocInfo: Menu
> "applications-kmenuedit.menu" not found.
> kbuildsycoca4(5546) VFolderMenu::processMenu: Processing KDE Legacy
> dirs for <KDE>
> kbuildsycoca4(5546) VFolderMenu::processKDELegacyDirs:
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/daikqzh6qgm7nq93wdsb88lg8z48zq64-kdebase-workspace-4.2.2/share/applications/"
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/daikqzh6qgm7nq93wdsb88lg8z48zq64-kdebase-workspace-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/jqdvsaq6l0fv8bmxlfan66qdv7xkglcq-kdebase-runtime-4.2.2/share/applications/"
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/jqdvsaq6l0fv8bmxlfan66qdv7xkglcq-kdebase-runtime-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/applications/"
> kbuildsycoca4(5546) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5546) VFolderMenu::processCondition: Adding file
> "kde-kcm_knetworkconfmodule_ss.desktop"
> kbuildsycoca4(5546) VFolderMenu::processCondition: Adding file
> "kde-medianotifications.desktop"
> kbuildsycoca4(5546) VFolderMenu::processCondition: Adding file
> "kde-audioencoding.desktop"
> kbuildsycoca4(5546) KBuildMimeTypeFactory::parseSubclassFile: Now
> parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/subclasses"
> kbuildsycoca4(5546) KBuildMimeTypeFactory::parseSubclassFile: Now
> parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/subclasses"
> kbuildsycoca4(5546) KBuildMimeTypeFactory::parseAliasFile: Now parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/aliases"
> kbuildsycoca4(5546) KBuildMimeTypeFactory::parseAliasFile: Now parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/aliases"
> kbuildsycoca4(5546) KMimeFileParser::parseGlobFiles: Now parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/globs2"
> kbuildsycoca4(5546) KMimeFileParser::parseGlobFiles: Now parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/globs2"
> kdeinit4: PID 5546 terminated.
> kdeinit4: Got EXT_EXEC
> '/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4'
> from launcher.
> kdeinit4: preparing to launch
> /nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4
> klauncher(5540)/kio (KLauncher) KLauncher::processRequestReturn:
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/bin/kbuildsycoca4"
> (pid 5550) up and running.
> kbuildsycoca4 running...
> kbuildsycoca4(5550)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
> Trying to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kbuildsycoca4(5550) kdemain: Reusing existing ksycoca
> kbuildsycoca4(5550) KBuildSycoca::recreate: Recreating ksycoca file
> ("/var/tmp/kdecache-root/ksycoca4", version 131)
> kbuildsycoca4(5550) KBuildSycoca::createEntry: new:
> "screensaver.desktop"
> kbuildsycoca4(5550) VFolderMenu::pushDocInfo: Menu
> "applications-kmenuedit.menu" not found.
> kbuildsycoca4(5550) VFolderMenu::processMenu: Processing KDE Legacy
> dirs for <KDE>
> kbuildsycoca4(5550) VFolderMenu::processKDELegacyDirs:
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/daikqzh6qgm7nq93wdsb88lg8z48zq64-kdebase-workspace-4.2.2/share/applications/"
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/daikqzh6qgm7nq93wdsb88lg8z48zq64-kdebase-workspace-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/jqdvsaq6l0fv8bmxlfan66qdv7xkglcq-kdebase-runtime-4.2.2/share/applications/"
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/jqdvsaq6l0fv8bmxlfan66qdv7xkglcq-kdebase-runtime-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/applications/"
> kbuildsycoca4(5550) VFolderMenu::loadApplications: Looking up
> applications under
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/applications/kde4/"
> kbuildsycoca4(5550) VFolderMenu::processCondition: Adding file
> "kde-kcm_knetworkconfmodule_ss.desktop"
> kbuildsycoca4(5550) VFolderMenu::processCondition: Adding file
> "kde-medianotifications.desktop"
> kbuildsycoca4(5550) VFolderMenu::processCondition: Adding file
> "kde-audioencoding.desktop"
> kbuildsycoca4(5550) KBuildMimeTypeFactory::parseSubclassFile: Now
> parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/subclasses"
> kbuildsycoca4(5550) KBuildMimeTypeFactory::parseSubclassFile: Now
> parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/subclasses"
> kbuildsycoca4(5550) KBuildMimeTypeFactory::parseAliasFile: Now parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/aliases"
> kbuildsycoca4(5550) KBuildMimeTypeFactory::parseAliasFile: Now parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/aliases"
> kbuildsycoca4(5550) KMimeFileParser::parseGlobFiles: Now parsing
> "/nix/store/bbj9bk8w5zi0zf8x3magl9sn6zn5ahx8-shared-mime-info-0.51/share/mime/globs2"
> kbuildsycoca4(5550) KMimeFileParser::parseGlobFiles: Now parsing
> "/nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/share/mime/globs2"
> kdeinit4: PID 5550 terminated.
> kded(5543)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to
> open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kded(5543)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to
> open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> klauncher(5540)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
> to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> kdeinit4: Got EXEC_NEW 'kconf_update' from launcher.
> kdeinit4: preparing to launch
> /nix/store/bsprhbbf99kihyq3wlmw9xvsyz4jb3ci-kdelibs-4.2.2/lib/kde4/libexec/kconf_update
> klauncher(5540)/kio (KLauncher) KLauncher::processRequestReturn:
> "kconf_update" (pid 5552) up and running.
> kded(5542): Communication problem with  "kded" , it probably crashed.
> Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not
> receive a reply. Possible causes include: the remote application did
> not send a reply, the message bus security policy blocked the reply,
> the reply timeout expired, or the network connection was broken." "
>
> kdeinit4: PID 5542 terminated.
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
> to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> konqueror(5528)/kio (Slave) KIO::Slave::createSlave: createSlave
> "file" for
> KUrl("file:///root/.kde/share/apps/konqueror/autosave/owned_by_1.0")
> konqueror(5528)/kio (KIOConnection)
> KIO::ConnectionServer::listenForRemote: Listening on
> "local:/tmp/ksocket-root/konquerorhZ5528.slave-socket"
> klauncher(5540)/kio (KLauncher) KLauncher::requestSlave: KLauncher:
> launching new slave  "kio_file"  with protocol= "file"  args= ("file",
> "local:/tmp/ksocket-root/klauncherMT5540.slave-socket",
> "local:/tmp/ksocket-root/konquerorhZ5528.slave-socket")
> kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
> kdeinit4: preparing to launch
> klauncher(5540)/kio (KLauncher) KLauncher::processRequestReturn:
> "kio_file" (pid 5583) up and running.
> kio_file(5583) kdemain: Starting  5583
> kio_file(5583) FileProtocol::stat: FileProtocol::stat details= 0
> kio_file(5583) FileProtocol::listDir: ========= LIST
> "file:///root/.kde/share/apps/konqueror/autosave/owned_by_1.0"
> =========
> kio_file(5583) FileProtocol::listDir: ============= COMPLETED LIST
> ============
> konqueror(5528)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
> to open ksycoca from  "/var/tmp/kdecache-root/ksycoca4"
> konqueror(5528) KonqFactory::createView: Trying to create view for
> "KonqAboutPage" "konq_aboutpage"
> konqueror(5528) KonqFactory::createView: Found requested service
> "konq_aboutpage"
> konqueror(5528) KonqFactory::createView: Trying to open lib for
> requested service  "konq_aboutpage"
> konqueror(5528)/kparts KParts::Plugin::pluginInfos: found KParts
> Plugin :
> "/nix/store/l6y3v7fvq64g2z0miy4xaqb4nzr8rp1d-kdebase-4.2.2/share/apps/khtml/kpartplugins/khtmlkttsd.rc"
> konqueror(5528)/kparts KParts::Plugin::loadPlugins: load plugin
> "khtmlkttsdplugin"
> KCrash: crashing... crashRecursionCounter = 2
> KCrash: Application Name = konqueror path = <unknown> pid = 5528
> sock_file=/root/.kde/socket-m3n/kdeinit4__0
> kdeinit4: Got EXEC_NEW '' from socket.
> kdeinit4: preparing to launch
> Could not find '' executable.
> KCrash cannot reach kdeinit, launching directly.
> KCrash failed to exec(), errno = 2
> kdeinit4: PID 5584 terminated.
>
> [root at m3n:~]# kded(5543): "Error launching kconf_update. Either
> KLauncher is not running anymore, or it failed to start the
> application."
>
> kded(5543) KDEDModule::setModuleName: registerObject() successful for
> "khotkeys"
> kded(5543) KDEDModule::setModuleName: registerObject() returned false
> for  "khotkeys"
> kded(5543)/kded4 Kded::loadModule: Successfully loaded module "khotkeys"
> kded(5543) KDEDModule::setModuleName: registerObject() successful for
> "kdedglobalaccel"
> kded(5543)/kded4 Kded::loadModule: Successfully loaded module
> "kdedglobalaccel"
> kded(5543)/kdecore (kdedglobalaccel)
> GlobalShortcutsRegistry::registerKey: Registering key "Print" for
> "khotkeys" : "{fcad7791-0000-4000-904b-45cbcdaf1c75}"
> kded(5543)/kdecore (kdedglobalaccel)
> GlobalShortcutsRegistry::unregisterKey: Unregistering key "Print" for
> "khotkeys" : "{fcad7791-0000-4000-904b-45cbcdaf1c75}"
> kdeinit4: PID 5552 terminated.
>
>
> So it's crashing and that's about as much as I know other than on my
> Mandriva cooker with 4.2.2 installed, Using konqueror like this works
> fine. It does look like it's expecting to find something that it can't
> : Could not find '' executable.
>
> Maybe it seems trivial but it's the only application I would want to
> run outside of the konsole as a super user because I can interpret
> directory trees and their contents faster and more easily visually.
>
> Hope it's possible to fix this,
>
> Tony
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
>

Thanks for the reply Sander,
I've since found that the super user problem only effects konqueror so far.
Both dolphin and kwrite run fine as su -, The only issue and I guess
because I've not switched to kdm yet, Is that the x cursor isn't
inherited in either app run as super user.
The regular x cursor (Not what has been set in kde systemsettings)
Appears when the mouse is over the app running in super user mode.

All in all, kde 4 runs great here.
Thanks again,

Tony



More information about the nix-dev mailing list