I would like to trace where the inclusion of the remote astrometry driver is getting dropped. How can I get output from cerr or stderr included with Kstars output to standard error?
It should be noted that the "qCDebug" code for logging is inactive. At least this is true. In the current Kstars in /kstars/ekos/align/remoteastronomyparser.cpp function setEnabled, the line
qCDebug(KSTARS_EKOS_ALIGN) << "Enabling remote solver...";
does not get its message written to the console when the "Enable" button in the Astrometry tab in the Control panel is pressed. Actually this is default behavior: "With Qt 5.2, the qCDebug line will not produce any output; this is because logging categories are disabled by default." -- from the KDE HOWTO "Using Error Messages". But if one modifies the "rules" string in /kstars/auxiliary/ksutils.cpp so that "org.kde.kstars.ekos.align.debug=true", then enabling Astrometry should sent the message to the console. But it doesn't.
(Note this is not the LOG_INFO message from /indi/drivers/auxiliary/astrometrydriver.cpp."
Looking through the GDB lens (I haven't got the hang of kdevelop yet), running Kstars, the program gets to the function "Align::setSolverMode" with argument "1".
First the symbol "sender()" doesn't exist, so the button group doesn't get checked. Is that why the solver fields are grayed out?
Then, when "setAstrometryDevice" is called, m_RemoteParserDevice is a null pointer which triggers the "Cannot set solver to remote. The Ekos equipment profile must include the astrometry Auxiliary driver." message.
Backtrace seems to indicate that "activeProfile" has not been set properly. I haven't been able to read its contents yet.