×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Astrometry file downloads crashes KSTARS

  • Posts: 1000
  • Thank you received: 155
What's the significance of adding any time limit? Us living in third world countries may not the luxury of high speed internet. Is there a reason a time limit is needed?
5 years 7 months ago #29814

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

There is no limit in KStars per se. I think it's related to DBUs somehow timing out, so I tried to increase the timeout value. Not even sure if this is the actual problem.
5 years 7 months ago #29816

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

  • Posts: 51
  • Thank you received: 9
You're saying that kauth is in fact working and that the problem is not with kauth? When I was having this same problem, I changed permissions to /usr/share/astrometry to 777 and the problem went away. I'll try it again and report back.

John
Last edit: 5 years 7 months ago by John Scherer.
5 years 7 months ago #29818

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

  • Posts: 51
  • Thank you received: 9
I just ran some quick tests with /usr/share/astrometry permissions at 777 - So far from within ekos/align/options I've been able to download index-4204 through index-4213 and index-4107 through index 4113 with zero problems. In a terminal, nethogs was showing about 2.5 to 3 MB/sec throughput. While typing this, I started index-4203 and its moving along at about 2MB/sec. I allowed it to finish, which it did normally.
I can try these tests with /usr/share/astrometry at its default permissions (755) if that's of interest. Also, If it matters, this is an Ubuntu 16 VM with all the latest patches but not upgraded to 18. 4GB ram and 50gb disk
5 years 7 months ago #29820

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

  • Posts: 989
  • Thank you received: 161

Yes, nightly and no, downloads don't take more than 15mins. I did a screen recording of what happens...

5 years 7 months ago #29830
Attachments:

    screenrecording.mkv

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

Can you run "Info Center" and let me know what is the KDE Frameworks Version used?
5 years 7 months ago #29831

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

  • Posts: 989
  • Thank you received: 161

Did the same thing and with permissions set at 777 the download works flawlessly. KAuth doesn't even ask for a password. Obviously the files are owned by the user then which gives rise to the question why download the index files to /usr/share/astrometry in the first place. If you want to have them owned by the user they should be placed in a directory owned by the user anyway like ~/(.)astrometry
5 years 7 months ago #29832

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

  • Posts: 989
  • Thank you received: 161
5 years 7 months ago #29833
Attachments:

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

yeah, on Linux, I think it's a better idea to use a user owned directory since KAuth has so many issues.
The following user(s) said Thank You: Alfred
5 years 7 months ago #29835

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

  • Posts: 1000
  • Thank you received: 155
Thanks everyone! I changed the ownership to myself and also changed the perms to 777 just for good measure.
Worked well enough for me to get all the files I needed.

PK
Last edit: 5 years 6 months ago by Peter Kennett.
5 years 6 months ago #29850

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

Ok, just committed to GIT new code that removes KAuth and stores the files on Linux to a local directory. Hopefully this resolves the KAuth issues, please test once the nightly is built.
The following user(s) said Thank You: Alfred
5 years 6 months ago #29852

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

  • Posts: 989
  • Thank you received: 161
Thank you, Jasem!

I pulled and it does download to ~/.local/share/kstars/astrometry/ now.
No KAuth issues anymore.
The line "add_path ~/.local/share/kstars/astrometry" should be added to /etc/astrometry.cfg
Solver -> Options -> Index Files -> Index Files Location still points towards /usr/share/astrometry.

Or was it intended to make users copy the files to the /usr/share/astrometry directory by hand after download?
Last edit: 5 years 6 months ago by Alfred.
5 years 6 months ago #29878

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

Time to create page: 0.635 seconds