Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for 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 3 weeks 11 hours ago #26376

  • kross
  • kross's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 17
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 3 weeks 8 hours ago #26378

  • kross
  • kross's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 17
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 2 weeks 6 days ago #26392

  • kross
  • kross's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 17
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.

  • Page:
  • 1
Time to create page: 0.065 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