https://bugs.kde.org/show_bug.cgi?id=370061
Bug ID: 370061 Summary: Manage Observer cannot add, modify or delete observer (kstars 2.4.0). Product: kstars Version: unspecified Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: mutla...@ikarustech.com Reporter: rob...@navsoft.plus.com CC: akarsh.si...@kdemail.net In Manage Observer Dialog (Settings=>Configure Observation Logging=>Manage Observer), when observer details have been entered, pressing "+" button has no apparent effect. Inspection of db .local/share/kstars/userdb.sqlite verifies that the observer was not added. The concurrent console output from execution of kstars is: # START OF CONSOLE OUTPUT robert@xanthippe:~/kstars-master/kstars$ kstars "Wed Oct 5 13:07:51 2016 GMT+0100" is dateTime valid? true "Setting clock: UTC: Wed Oct 5 13:07:51 2016 GMT+0100 JD: 2,457,667.05" "Wed Oct 5 12:07:51 2016 GMT" is dateTime valid? true "Setting clock: UTC: Wed Oct 5 12:07:51 2016 GMT JD: 2,457,667.01" "Opened the DSO Database. Ready!" Opened the User DB. Ready. Verion string is "2.6.0" Processing "unnamedstars.dat" , HTMesh Level 3 Sky Mesh Size: 512 Loaded catalog file "unnamedstars.dat" (hopefully) Processing "deepstars.dat" , HTMesh Level 3 Sky Mesh Size: 512 Loaded catalog file "deepstars.dat" (hopefully) Processing "USNO-NOMAD-1e8.dat" , HTMesh Level 6 Sky Mesh Size: 32768 Loaded catalog file "USNO-NOMAD-1e8.dat" (hopefully) "Star HD61421 not found." "Star HD10700 not found." "Star HD20794 not found." "Star HD2151 not found." "Star HD190248 not found." "Star HD142860 not found." "Star HD1581 not found." "Star HD1581 not found." "Star HD98230 not found." File opened: "/usr/share/kstars/ngcic.dat" Loading NGC/IC objects File opened: "/usr/share/kstars/asteroids.dat" File opened: "/usr/share/kstars/comets.dat" Loading Supernovae data File opened: "/home/robert/.local/share/kstars/supernovae.dat" "Object named NGC 3314A not found" "Object named NGC 6050A not found" "Object named NGC 72 not found" "Object named NGC 78 not found" "Object named NGC 4666 not found" "Object named NGC 7318 not found" "Object named NGC 7839 not found" "Object named NGC 7840 not found" "Object named IC 1127 not found" "Object named IC 2497 not found" "Object named IC 4703 not found" "Object named JupiterComet Shoemaker–Levy 9 Wikipedia page not found" "Starting the timer" The current Date/Time is: "Wed Oct 5 13:07:56 2016 GMT+0100" glibc >= 2.1 detected. Using GNU extension sincos() <driversList> # CONTENT REMOVED </driversList> Loading Supernovae data File opened: "/home/robert/.local/share/kstars/supernovae.dat" OBEST= "star" - "" QObject::connect: No such slot ObserverAdd::slotAddObserverB() QObject::connect: (sender name: 'AddObserverB') QObject::connect: No such slot ObserverAdd::slotRemoveObserverBslotRemoveObserverB() QObject::connect: (sender name: 'RemoveObserverB') QObject::connect: No such slot ObserverAdd::checkTableInfo() # END OF CONSOLE OUTPUT >From the above and from inspection of the code, this failure is due to misspelled/missing slot names. The following patch reinstates observer management: # START PATCH robert@xanthippe:~/kstars-master/kstars$ git diff diff --git a/kstars/oal/observeradd.cpp b/kstars/oal/observeradd.cpp index 02e9fe1..6f9e780 100644 --- a/kstars/oal/observeradd.cpp +++ b/kstars/oal/observeradd.cpp @@ -60,11 +60,10 @@ ObserverAdd::ObserverAdd() { ui.RemoveObserverB->setEnabled(false); ui.tableView->setSelectionMode(QAbstractItemView::SingleSelection); // Make connections - connect( ui.AddObserverB, SIGNAL( clicked() ), this, SLOT( slotAddObserverB() ) ); - connect( ui.RemoveObserverB, SIGNAL( clicked() ), this, SLOT( slotRemoveObserverB() ) ); + connect( ui.AddObserverB, SIGNAL( clicked() ), this, SLOT( slotAddObserver() ) ); + connect( ui.RemoveObserverB, SIGNAL( clicked() ), this, SLOT( slotRemoveObserver() ) ); connect (ui.Name,SIGNAL(textChanged(QString)),this,SLOT(checkObserverInfo() ) ); connect (ui.Surname,SIGNAL(textChanged(QString)),this,SLOT(checkObserverInfo() ) ); - connect (ui.tableView->verticalHeader(),SIGNAL(sectionClicked(int)),this,SLOT(checkTableInfo())); connect (ui.tableView,SIGNAL(clicked(QModelIndex)),this,SLOT(auxSlot()) ); } void ObserverAdd::auxSlot(){ robert@xanthippe:~/kstars-master/kstars$ # END PATCH -- You are receiving this mail because: You are watching all bug changes.