Ekos meridian flip aborted by Mount “maximum hour angle” check immediately after EQMod pier side change (KStars 3.8.5, also seen in 3.8.0); Capture then stuck in MF_FLIPPING

Environment

  • KStars 3.8.5 Stable (build 2026-10-10), x86_64 under Rosetta on an Apple silicon Mac mini, macOS
  • Mount: EQMod (EQ6-class, southern hemisphere remote site), Pegasus UPBv2 hub
  • Mount module: Max HA 0.7 h, altitude limit 20°
  • Ekos meridian flip at HA +0.333 h, run from the Scheduler
  • Log times are GMT+2

Problem
During a meridian flip the Mount module logs:

Telescope hour angle is more than the maximum hour angle of 0.7. Aborting motion…

This happens within about 25–125 ms of EQMod reporting “Pier side changed”. The slew is aborted partway through the flip and tracking stops. The true HA at that moment is only about 0.0–0.04 h, nowhere near 0.7 h.

Example 1, 14 Nov 03:08 (planned flip)

  • Meridian flip: slewing to RA 05h33m33s DEC +12°31'42" Hour Angle 00h01m42s
  • 03:08:30.629: EQMod “Pier side changed” (now EAST)
  • 03:08:30.712: HA limit abort
  • 03:08:32: “Slew/Track aborted”
  • Capture then stayed in MF_FLIPPING for about 45 minutes with no timeout, until the Scheduler aborted the job at 03:53:37.

Example 2, 13 Nov 21:24 (post-focus re-slew)

  • A plate solve after focus was about 2° off. Align sync plus the “GOTO Align Nearest” delta put the raw target across the meridian, so EQMod made a pier flip.
  • The abort fired at 21:24:16.119, when EQMod’s iterative goto showed only 43 arcsec RA error. That means the HA was about 0.04 h, not above 0.7.

Other occurrences
17 Aug, 23 Oct, 27 Oct, 29 Oct and 2 Nov. Each shows “Pier side changed” followed immediately by the HA abort. The attached file lists them with KStars versions.

What I can’t tell from the logs

  • How Ekos computes HA while the mount is mid-slew across the meridian. It may use the slew target, an intermediate coordinate, or a value that jumps at the pier change.
  • Why it is intermittent. Flips on 10 Nov and 11 Nov at the same site succeeded.
  • Whether the aligned-goto sync delta (which changes sign with pier side) is involved.

Related reports I found

  • KDE Bug 425569, “Ekos: HA limit interferes with meridian flip” (RESOLVED FIXED). I couldn’t tell which commit fixed it or whether it is in 3.8.x.
  • INDI forum, “Meridian flip successful, tracking resume fails” (June 2022, KStars 3.5.9).

Questions

  1. Is the Mount module’s HA limit meant to apply during a flip slew? If so, how is HA calculated mid-slew?
  2. After the Mount aborts a flip, should Capture leave MF_FLIPPING and fail or retry? Currently it waits indefinitely.
  3. Would a log from a particular debug module help? I can provide full Ekos, Mount and INDI/EQMod logs from the next occurrence.

UPDATE - same problem continues

False “found not slewing” in Scheduler right after EQMod “Pier side changed” during a long goto, which terminates the job and every job after it (KStars 3.8.5)

Follow-up to my earlier report on the Mount module’s “maximum hour angle” abort. Same setup: KStars 3.8.5 Stable (build 2026-10-10), x86_64 under Rosetta on an Apple silicon Mac mini, EQMod, Scheduler-driven. The log times below are GMT+2.

What happened (18 Nov 00:35)
KStars had crashed and been relaunched, and the mount was parked. The Scheduler started its first job:

00:35:27.754 EQMod: Starting Goto RA=0.850192 DE=-25.3988 (current RA=9.69499 DE=-90)
00:35:28.136 EQMod: Slewing to RA: 0:51:01 - DEC: -25:23:56
00:35:28.791 EQMod: Pier side changed to PIER_EAST
00:35:28.863 Scheduler: "Warning: job 'NGC 253 offset' found not slewing, restarting."
00:35:28.879 EQMod: [WARNING] Can not perform goto while goto/park in progress, or scope parked.
00:35:28.887 Scheduler: "job 'NGC 253 offset' slew failed, marking terminated due to errors."

The mount was slewing the whole time. The “not slewing” report came 72 ms after the pier-side change. There was no HA-limit abort this time.

The cascade
Within the next 8 seconds the Scheduler started three more jobs. Each had its goto refused for the same reason, since the first slew was still running:

  • sh 2-284 (00:35:30), terminated.
  • Barnard 32 (00:35:33), terminated.
  • CG31 offset (00:35:36). Its goto was refused too. When EQMod finished the original slew, the Scheduler treated that as “slew complete,” autofocused with the scope still on the old field, and plate-solved there. Only then did it slew to the real target.

So one false “not slewing” cost three jobs for the night.

Same trigger in other logs

  • 15 Nov 23:06:13.450: “Pier side changed to PIER_EAST.” 52 ms later (23:06:13.502) the HA-limit abort fired. At 23:06:14.855 EQMod logged “Slew/Track aborted.” The Scheduler then reported “found not slewing” at 23:06:15.515 and re-sent the goto, and a second “found not slewing” followed 0.7 s later.
  • 17 Oct 01:31:26: “Pier side changed to PIER_WEST.” The HA abort came 19 s later (01:31:45.756), then “Slew/Track aborted,” then “found not slewing, restarting” (01:31:46.762) several times within about 3 s.

This seems a genuine bug? Does anyone have any ideas how to fix it please?

Hi. Just a couple of thoughts…

Intermittent!!! : I’ve suffered many intermittent and odd slew/guiding/calibration/flip errors that I now believe are usb cable interference issues. The main culprit appears to be the 12v line that runs to the cooled camera - causes interference and corruption in any usb cable that runs close

? Can you/have you enabled the mount to track past the meridian in the event that a sub is in progress when the meridian is actually crossed? I’ve ensured that my AM7 can run 1 sub past the meridian if necessary. Setting this saved a lot of failed flips.

Good luck.