Welcome, Guest
Username: Password: Remember me
14 Nov 2018
Glad to announce of release of INDI Library v1.7.5 on 2018-11-14. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: "Error: No connection to the internet" when plate solving

"Error: No connection to the internet" when plate solving 6 months 1 week ago #26376

  • kross
  • kross's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 24
Got a weird problem here. On my Windows laptop, I get the above error whenever I try to do an online plate solve. The problem does not happen with KStars on my Linux computers. I tried 2.9.5 and 2.9.6.

So I figured I'd download the source and remove the networkAccessible() check, and let it try to online solve anyway, without checking if the network is accessible. Well, when I build KStars from source (took me a couple hours to figure out how on Windows), everything works! With no modification to the source code.

At first I thought it might be the different versions of Qt that we're using. I tried a simple test program with various versions of the Qt libraries, where all it does is check QNetworkManager if networkAccessible() and print the result. It works as expected with Qt 5.9.1 and 5.10.0. My builds are 64-bit, where it looks like your build is 32-bit, but that shouldn't make a difference (I think).

I'm stumped, but at least I have a working KStars now, and can start working on one of the things I wanted to work on, but never got around to because building KStars from source on Windows looked like too much of a pain.

-- Kevin

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

Last Edit: by kross.

"Error: No connection to the internet" when plate solving 6 months 1 week ago #26378

  • kross
  • kross's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 24
Hold on, just discovered something. Just finished downloading and installing the Qt 5.10.1 libraries, which is the exact version of Qt that the official KStars is built with. And my little test command line program is broken! On 5.10.1, the return code of networkAccessible() is NotAccessible. On 5.10.0, it is Accessible.

Hmm. Looks like a Qt bug in 5.10.1

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

"Error: No connection to the internet" when plate solving 6 months 1 week ago #26392

  • kross
  • kross's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 24
A little more investigation reveals this only happens with WiFi. As soon as I plug in an Ethernet cable, it says network is accessible. Unplug it and go back to WiFi, and it says network not accessible.

Bug report filed with Qt.

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

"Error: No connection to the internet" when plate solving 5 months 2 days ago #27427

I just saw this (from a bug report in KDE --> bugs.kde.org/show_bug.cgi?id=396492 ). Do you have a link to the Qt bug report?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

"Error: No connection to the internet" when plate solving 5 months 2 days ago #27428

  • kross
  • kross's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 24

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

"Error: No connection to the internet" when plate solving 5 months 2 days ago #27429

  • kross
  • kross's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 24
Just curious, but is that networkAccessible() check necessary? Could it be removed, and let the code fail normally if there's no network connection?

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

"Error: No connection to the internet" when plate solving 5 months 2 days ago #27434

I think I will remove it given this information.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
  • Page:
  • 1
Time to create page: 0.100 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica