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

Telescop control : cannot open serial device #2934

Closed
Tristian68 opened this issue Dec 25, 2022 · 14 comments · Fixed by #3301
Closed

Telescop control : cannot open serial device #2934

Tristian68 opened this issue Dec 25, 2022 · 14 comments · Fixed by #3301
Assignees
Labels
good first issue Get involved in development! help wanted We may not have the hardware or expertise
Milestone

Comments

@Tristian68
Copy link

Tristian68 commented Dec 25, 2022

Expected Behaviour:

I have a NexStar compatible telescop controler which can conect at Stelarium throught Bluetooth on my celularphone an works prety well. I expect to do the same on Stelarium 1.1 or 1.2 on Windows 10 ( the controler was working ok with somme old version of stelarium on a Lenovo YOGA Laptop Windows 10)

Actual Behaviour

I get in the log file: "ERROR creating TelescopeClientDirectNexStar: cannot open serial device "COM5"
TelescopeClient::create(): Unable to create a telescope client."

I can tell you that if I connect on COM 5 with Putty and send some comands to the controler i receive good answers ( so the BT connection via COM 5 is working).

Steps to reproduce

System

  • Stellarium version: <stellarium-1.2-qt6-win64?>
  • Operating system: <Windows 10 Version 22H2>
    *Laptop ASUS ExpertBook

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.
log.txt

@github-actions
Copy link

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

@gzotti
Copy link
Member

gzotti commented Dec 25, 2022

We just had a similar report (#2924) about COM port issues. Can you try the Qt5-based build (available tomorrow)?

@gzotti gzotti added this to Needs triage in Plugin: Telescope Control via automation Dec 25, 2022
@gzotti gzotti added help wanted We may not have the hardware or expertise good first issue Get involved in development! labels Dec 27, 2022
@github-actions
Copy link

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

@Tristian68
Copy link
Author

Tristian68 commented Dec 27, 2022 via email

@achellet
Copy link

achellet commented Jan 5, 2023

Dear all

Happy new year and best wishes!

Regarding this issue i've installed the Stellarium QT6 1.22 on 2 differents Windows PCs and it chrashes when the telescope control is opened with the EQMOD driver after few seconds or few minutes. It's ok with QT5 version.

Thanks a lot

@faggio79
Copy link

Hello everybody. I'm experiencing the same identical issue with an Orion (Skywatcher) Synscan V5 hand controller. Until i used stellarium version 0.xx everything was working fine. Since 1.0 version i get always "stopped" status and cannot control my mount. Currently i'm using version 1.2.5 qt6, but the plugin still not working.

Thanks a lot for opening this issue!

@gzotti
Copy link
Member

gzotti commented Jan 10, 2023

If you see the other reports on this, please conclude that trying Qt5-based 1.2 (0.22.5) is your best option currently.

@achellet
Copy link

Thank you for the advice . It's ok Qt5-based 1.2 (0.22.5)
I'm ok to test any Qt6 version.

Thanks a lot

@rbk1rbk
Copy link

rbk1rbk commented Jan 16, 2023

I can also confirm, that win 32 bit Qt5 version works, win 64bit version doesn't.
Building stellarium from source is beyond my skills. Checking the SerialPort.cpp I would expect some of these messages in the log, but I don't see any; only the message from Lx200Connection::Lx200Connection functions. Maybe it helps.

@A-j-K
Copy link
Contributor

A-j-K commented Jul 3, 2023

I noticed some time ago that the Qt6 release broke the serial port connection to my SkyWatcher AZ-GTiX mount. I came here (to GH) and saw a number of open issues (this being one and #3006 being the other, already assigned to @TonyBhargav).

So I decided to look further only to find my dev system unable to build Stellarium since moving to Qt6. After that I found that the ASCOM driver worked fine so I parked it there and did no further investigation.

Roll on to today and I saw in the release announcement that the Telescope Plugin was still suffering issues and an appeal for help. So I returned to my dev system and now managed to get a GH/master build working so I can start to look into the issues around the dysfunctional serial port issue. I saw the appeal was potentially offering a reward. I am already a contributor to Stellarium, I expect no reward if successful, it's not required.

It maybe a good idea to consolidate all the issues that appear to be connected to Qt6 serial port issues as they're all likely to have the same fix when found.

@gzotti @alex-w if you want to assign this to me that's fine. --Andy

@gzotti
Copy link
Member

gzotti commented Jul 3, 2023

Yes, sure, please go ahead. I have no hardware and no time these months to deal with this, unfortunately. It needs motivation like an own non-working instrument to fix that :-)

Plugin: Telescope Control automation moved this from Needs triage to Done Jul 4, 2023
gzotti pushed a commit that referenced this issue Jul 4, 2023
…led (#3301)

TelescopeControl: handle Unicode correctly (Fix #2934)
- also remove QT6 conditional compile, use QString across Qt5/6 for Windows
@gzotti gzotti added this to the 23.3 milestone Jul 4, 2023
@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Jul 5, 2023
@github-actions
Copy link

github-actions bot commented Jul 5, 2023

Hello @Tristian68!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@Tristian68
Copy link
Author

Tristian68 commented Jul 14, 2023 via email

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Sep 26, 2023
@github-actions
Copy link

Hello @Tristian68!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Get involved in development! help wanted We may not have the hardware or expertise
Projects
Development

Successfully merging a pull request may close this issue.

7 participants