×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Build Kstars Nightly from Git

  • Posts: 74
  • Thank you received: 16
Now compiled successfully on a Raspi 3b with a plain Astroberry image, after increasing swap to 2GB.

Anecdotally it used 250MB swap at maximum (reported by htop). The Pi became unresponsive with default swap of 100MB. It took maybe a few seconds at max to connect via Webbrowser with increased swap.
5 months 2 weeks ago #72381

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

  • Posts: 600
  • Thank you received: 78
I just tried this on a new Pi4 with Raspbian PiOS and got a message that files couldn’t be written to /usr/local due to permission errors. I didn't realize that I had to be Root before starting the script.  Might be something to remind newbies.  

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
Last edit: 5 months 2 weeks ago by Peter Kennett.
5 months 2 weeks ago #72444

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

  • Posts: 74
  • Thank you received: 16
The script has “sudo”s in the respective places or recommends using sudo.

How did you configure for install in /usr/local and which command failed?

Thanks
5 months 2 weeks ago #72458

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

  • Posts: 600
  • Thank you received: 78
Hello Grimaldo, thanks for replying. I changed the script to install in /usr/local.
The part that failed was when the script was trying to create the Projects directory. I switched to root. and reran the script and it worked after that.

I now have a different issue, seen here:

Hello Grimaldo, thanks for replying. I changed the script to install in /usr/local.
The part that failed was when the script was trying to create the Projects directory. I switched to root. and reran the script and it worked after that.

I now have a different issue, seen here:

 

Peter

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
5 months 2 weeks ago #72467
Attachments:

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

  • Posts: 284
  • Thank you received: 40
Hi,

That's unexpected. On my UbuntuMate 20.0.4 machine, I didn't have to run the script as root and /usr/share/kstars/ contains TZrules.dat
The /usr/local folder on this machine is owned by root, so I suspect you might would have to execute the script with a sudo to be able create things in that folder. The default ~ install probably? avoids this.

If you didn't already have a stable install of KStars on your machine perhaps that's why TZrules.dat is missing?  I'm just guessing here.

Sorry for adding to the complexities of a simple install.

Cheers
 Jerry
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
5 months 1 week ago #72474

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

  • Posts: 727
  • Thank you received: 336
I believe that Jerry's response re TZrules.dat (time zone rules, FYI) is correct.
Jerry's script builds KStars and Indi and installs them, but installing the standard release does more than just that.
It also installs several data files that KStars needs to run.
It's my impression that to successfully run KStars from Jerry's script, you'd need to first have a working install from a recent release, then, 
on top of that, run Jerry's script to run the latest source code.
Orion Atlas Pro, William Optics ZS105, Moonlight V2 focuser, GSO RC10 w/RSF focuser
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm guidecam.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
5 months 1 week ago #72481

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

  • Posts: 284
  • Thank you received: 40
Thanks Hy, I've updated the README.md file to highlight this dependency / difference in comparison to the standard install.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
5 months 1 week ago #72491

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

  • Posts: 66
  • Thank you received: 5
This script works great on my RPi4 and makes keeping up to date with the latest features so easy.

I have tried to use it for the latest stable releases as suggested but that fails at the first step.
The stable release repositories only work if you are running Ubuntu.

I use Astroberry which works on PiOS/Debian so cant use them. It is a bit strange that it works for the nightly release though.

Any help appreciated.
David
RPi4 4GB mem running Raspbian (PiOS), Indi/Kstars
Skywatcher AZ-EQ6, Esprit 100ED, Celestron HD925, ZWO1600MM, ZWO EFW,
2 months 2 weeks ago #75649

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

  • Posts: 727
  • Thank you received: 336
With a few git commands, it's straight-forward to modify the script to compile the recent kstars release.
E.g., running 'git log' from the kstars directory shows:


    cd ~/Projects/kstars
    git log
    ...
    commit e16274917b73450faaa471c0cfe353960755e4d7
    Author: Jasem Mutlaq <This email address is being protected from spambots. You need JavaScript enabled to view it.>
    Date:   Tue Sep 14 15:47:48 2021 +0300

        KStars 3.5.5 stable
    ...

We can see that there's a commit Jasem made that marks the 3.5.5 release.
Therefore, in Jerry's script, right after the 'git pull' for KStars (line 133 right now), you could add a new line with 'git checkout e16274917b73450faaa471c0cfe353960755e4d7'
(the ID for that commit taken from the git log command) and that would checkout the KStars source as of 3.5.5 stable, instead of the latest source code.
Later on, the script would compile that release version.

Warning, though. That would likely work fine now, but you'd be using the latest Indi, not a released Indi (as is always the case with Jerry's script).
Also, it's possible that the latest Indi version is not compatible with a particular KStars version, if you go back far enough in KStars.
Of course, the same type of git checkout strategy could be used for Indi.

It's also true that right now, the latest source (which Jerry's script compiles) and the 3.5.5 release are very very similar, so just running his script basically gives you what you want.

Hy
Orion Atlas Pro, William Optics ZS105, Moonlight V2 focuser, GSO RC10 w/RSF focuser
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm guidecam.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
The following user(s) said Thank You: David Thompson
Last edit: 2 months 2 weeks ago by Hy Murveit.
2 months 2 weeks ago #75662

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

  • Posts: 66
  • Thank you received: 5
Thanks for your reply.
I am certainly no expert on using git and using checkout codes is certainly beyond what I have done to date.
Jerry's script did work for me and I have successfully compiled Kstars 3.5.6 as of yesterday so I think it should be OK as it's pretty close to the stable release. What frustrates me is that Windows, Mac and X86 Linux users get the stable release already compiled but we poor RPi users have to compile from source every time and it never seems easy and is always full of gotchas.

I really like KStars and enjoy using it with its always expanding features.
David
RPi4 4GB mem running Raspbian (PiOS), Indi/Kstars
Skywatcher AZ-EQ6, Esprit 100ED, Celestron HD925, ZWO1600MM, ZWO EFW,
2 months 2 weeks ago #75663

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

Time to create page: 0.465 seconds