Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telescope control plugin is spamming on serial link after connecting Nexstar telescope #4058

Open
Fotrenu opened this issue Jan 6, 2025 · 7 comments
Labels
community Get involved in development! help wanted We may not have the hardware or expertise hw: telescope Specific issues for various mounts of telescopes

Comments

@Fotrenu
Copy link

Fotrenu commented Jan 6, 2025

Expected Behaviour

Stellarium is connecting a link on serial port ONLY with a telescope connected
Stellarium is NOT spamming on serial port from this moment

Actual Behaviour

Stellarium is connecting a link on serial port with or without a telescope connected
Stellarium is spamming on serial port from this moment

Steps to reproduce

IMPORTANT: There is no need to have a telescope to trigger this issue. Only an USB to serial adapter cable is needed
IMPORTANT: this issue is happening with QT5 and QT6 based releases

  • install an USB to RS232 cable adapter --> it creates a COMx virtual port
  • open Stellarium
  • add a new telescope with the COMx virtual port of the USB to RS232 cable (Nexstar compatible, but the bug is present even with the other ones)

Screenshot 2025-01-06 120450

  • without connecting any real telescope, click on START

Screenshot 2025-01-06 120254

  • the serial connection is established

Screenshot 2025-01-05 231117

  • from this moment on Stellarium is spamming the serial connection with a lot of IRP_MJ_READ empty requests

Screenshot 2025-01-05 230926

System

  • Stellarium version: stellarium-24.4-qt5-win64.exe
  • Operating system: Windows 11
  • Graphics Card: not interesting, Radeon 5500XT
  • Screen type (if applicable): laptop monitor 1920x1080

Logfile

log.txt

@gzotti
Copy link
Member

gzotti commented Jan 6, 2025

(Note previous discussion in #4055.)

@Fotrenu Fotrenu removed their assignment Jan 6, 2025
@gzotti gzotti added help wanted We may not have the hardware or expertise community Get involved in development! hw: telescope Specific issues for various mounts of telescopes labels Jan 6, 2025
Copy link

github-actions bot commented Jan 6, 2025

This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us?

@alex-w
Copy link
Member

alex-w commented Jan 6, 2025

Please share the model name of the mount/telescope

@Fotrenu
Copy link
Author

Fotrenu commented Jan 6, 2025

Please share the model name of the mount/telescope

Celestron Nexstar 114 GT

@alex-w
Copy link
Member

alex-w commented Jan 8, 2025

@Fotrenu please try switching Stellarium to English language and check it again (after reading the log)

@10110111
Copy link
Contributor

10110111 commented Jan 8, 2025

please try switching Stellarium to English language

Oh, great point! We do need to somehow validate the translations more strictly regarding HTML tags, QString::arg placeholders etc.

OTOH, I wouldn't bet that this is the culprit here, since this is just a user-visible string.

@Fotrenu
Copy link
Author

Fotrenu commented Jan 9, 2025

@Fotrenu please try switching Stellarium to English language and check it again (after reading the log)

Dear @alex-w thank you!
I am not sure I understood. What I just did is

  • launch Stellarium,
  • go to general setting
  • select English as Stellarium language
  • connect the serial connection

the result is exactly the same. Log attached
log.txt

What do you mean that I need to read the log?

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Get involved in development! help wanted We may not have the hardware or expertise hw: telescope Specific issues for various mounts of telescopes
Development

No branches or pull requests

4 participants