×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

eqmod died when saving configuraton for the first time

  • Posts: 37
  • Thank you received: 4
Hi,

I started recently with Ekos/INDI, and I want to report a problem I had with indi_eqmod_telescope on its first use.

Scenario: INDI compiled from sources (yesterday), started indiserver with indi_eqmod_telescope, then from Ekos 'Start INDI'. Before I could connect to the mount, I had to configure the device port, so I went to the INDI control panel, EQMod tab, click on Debug and check Driver Debug, then I set the correct device port and click 'Set', then 'Save'.

The UI keeps a yellow light at "Saving configuration" message on the control panel console.

In the console where I started indiserver, I got this:

2017-03-06T09:37:17: Client 0: new arrival from 192.168.0.7:45538 - welcome!
Child process 1944 died
2017-03-06T09:39:51: Driver indi_eqmod_telescope: stderr EOF
2017-03-06T09:39:51: Driver indi_eqmod_telescope: restart #1
2017-03-06T09:39:51: Driver indi_eqmod_telescope: pid=1969 rfd=8 wfd=16 efd=17
2017-03-06T09:39:51: Driver indi_eqmod_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2017-03-06T09:39:51: Driver indi_eqmod_telescope: snooping on GPS Simulator.TIME_UTC
2017-03-06T09:39:51: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_PARK
2017-03-06T09:39:51: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_SHUTTER
2017-03-06T09:39:51: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin SVD Math Plugin

(I've seen a similar report before on the forum but it seemed it was related to a problem with the PPA)

Upon error, I noticed that the configuration files appeared on the .indi folder, but they are empty:

aristarco@messier:~/.indi$ ls -la EQMount*
-rw-rw-r-- 1 aristarco aristarco 0 mar 6 10:39 EQMod Mount_config.xml
-rw-rw-r-- 1 aristarco aristarco 0 mar 6 10:39 EQMod Mount_config.xml.default

Log file only says:
aristarco@messier:~/.indi$ cat logs/2017-03-06/indi_eqmod_telescope/indi_eqmod_telescope_09\:37\:10.log
INFO 136.358250 sec : Session log file /home/aristarco/.indi/logs/2017-03-06/indi_eqmod_telescope/indi_eqmod_telescope_09:37:10.log
DEBUG 154.664311 sec : ProcessTextProperties - name(DEVICE_PORT)
DEBUG 161.028627 sec : ProcessSwitchProperties - name(CONFIG_PROCESS)
DEBUG 161.028791 sec : ProcessSwitchProperties - name(CONFIG_PROCESS)


Having a look a the code, I decided to comment these two lines out in indi/3rdparty/indi-eqmod/eqmod.cpp :

aristarco@messier:~/indi/3rdparty/indi-eqmod$ git diff eqmod.cpp
diff --git a/3rdparty/indi-eqmod/eqmod.cpp b/3rdparty/indi-eqmod/eqmod.cpp
index f21571c..e0a4059 100644
--- a/3rdparty/indi-eqmod/eqmod.cpp
+++ b/3rdparty/indi-eqmod/eqmod.cpp
@@ -3118,8 +3118,8 @@ bool EQMod::saveConfigItems(FILE *fp)
{
INDI::Telescope::saveConfigItems(fp);

- IUSaveConfigNumber(fp, BacklashNP);
- IUSaveConfigNumber(fp, GuideRateNP);
+// IUSaveConfigNumber(fp, BacklashNP);
+// IUSaveConfigNumber(fp, GuideRateNP);

#ifdef WITH_ALIGN_GEEHALEL
if (align)

then I'm able to save the configuration (I deleted the empty configuration files before trying again).

For what it's worth, what I see in the EQMod tab (before I connect to the mount) are the 'Main Control', 'Options' and 'Aligment' tabs. There are no options regarding backlash or guide rate.

I would like to help more but for now I lack the skills needed.
I hope this would help to catch the issue (for reproducing the problem I think that it's important to start indiserver without the config files).

Regards,
Sergio
The following user(s) said Thank You: Jasem Mutlaq
7 years 3 weeks ago #15006

Please Log in or Create an account to join the conversation.

Thanks for the report, problem is fixed in GIT.
The following user(s) said Thank You: Sergio
7 years 3 weeks ago #15008

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 4
Great, thanks Jasem
7 years 3 weeks ago #15011

Please Log in or Create an account to join the conversation.

Time to create page: 0.500 seconds