Bug 228356 - ksysguard should fail gracefully when ksysguardd is not available
Summary: ksysguard should fail gracefully when ksysguardd is not available
Status: CONFIRMED
Alias: None
Product: ksysguard
Classification: Applications
Component: ksysguard (show other bugs)
Version: 4.9.2
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-24 19:46 UTC by Eckhart Wörner
Modified: 2012-11-05 15:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eckhart Wörner 2010-02-24 19:46:27 UTC
Version:            (using KDE 4.3.4)

This bug has been copied over from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568717

----

As i decide to have 'recommends=no' i ran into a problem with ksysguard.
As it is missing ksysguardd which is recommend, not dependency, ksysguard fails.
It opens the gui and starts showing an increasing number of zombies of itself in 
the process table. I add output of konsole after ksysguard is started:
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available 
methods:  ("Stat", "INotify")                   
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.     
ksysguard(3232) Workspace::readProperties: Selected Sheets =  
("ProcessTable.sgrd", "SystemLoad2.sgrd", "Blatt 1.sgrd")       
ksysguard(3232) ProcessController::addSensor: mProcessList is  
KSysGuardProcessList(0x17f10c0, name = "ProcessWidget")        
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File 
"/home/devils/.kde/share/apps/ksysguard/ProcessTable.sgrd" for "" 
["KDirWatch-1"]                                                                                                                      
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "vColor"  =  ""  (Not a valid number)    
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "hColor"  =  ""  (Not a valid number)    
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "vColor"  =  ""  (Not a valid number)    
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "hColor"  =  ""  (Not a valid number)    
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "vColor"  =  ""  (Not a valid number)    
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "hColor"  =  ""  (Not a valid number)    
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File 
"/home/devils/.kde/share/apps/ksysguard/SystemLoad2.sgrd" for "" ["KDirWatch-1"]                                                                                                                       
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "vColor"  =  ""  (Not a valid number)    
ksysguard(3232) KSGRD::SensorDisplay::restoreColor: Invalid color read in from 
worksheet for  "hColor"  =  ""  (Not a valid number)    
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to 
convert empty KLocalizedString to QString.              
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File 
"/home/devils/.kde/share/apps/ksysguard/Blatt 1.sgrd" for "" ["KDirWatch-1"]                                                                                                                           
ksysguard(3232)/kdeui (KMainWindow) KMainWindow::applyMainWindowSettings: 
KMainWindow::applyMainWindowSettings  "MainWindow"           
ksysguard(3232) KSGRD::SensorShellAgent::daemonError: failed to run "ksysguardd"                                                       
ksysguard(3232) KSGRD::SensorShellAgent::daemonError: Error received  
"Dienstprogramm „ksysguardd“ lässt sich nicht ausführen." ( 0 )  
ksysguard(3232) SensorBrowserModel::parent: Something is wrong with the model.  
Doesn't contain  1  
...                                   
ksysguard(3232) SensorBrowserModel::parent: Something is wrong with the model.  
Doesn't contain  42                                    
ksysguard(3232) SensorBrowserModel::parent: Something is wrong with the model.  
Doesn't contain  42                                    
ksysguard(3232) SensorBrowserModel::parent: Something is wrong with the model.  
Doesn't contain  42                                    
QTreeView::rowsInserted internal representation of the model has been corrupted, 
resetting.                                            
ksysguard(3232) KSGRD::SensorShellAgent::daemonError: failed to run "ksysguardd"
...
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify 
(fd 10, 3) for "/home/devils/.kde/share/apps/ksysguard/Blatt 1.sgrd"
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify 
(fd 10, 1) for "/home/devils/.kde/share/apps/ksysguard/ProcessTable.sgrd"
ksysguard(3232)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify 
(fd 10, 2) for "/home/devils/.kde/share/apps/ksysguard/SystemLoad2.sgrd"

Imho there should be a message telling the user he is missing ksysguardd.