Rob Lancaster replied to the topic 'Scheduler not starting' in the forum. 1 week ago

I don’t have any experience with the scheduler myself. I haven’t used it because I typically set up in the field and set up my run right there. I do know they were working hard on updating it. Recently I have just been focused on Mac specific issues, particularly build ones. If DBUS is working now, then this is something else.

A really easy way to tell if DBUS works would be to go into the kstars script editor, select to add the “zoom in” function and then hit the play button. If it zooms in, then DBUS is working. Can you please make sure it is? Based on what you said so far, I suspect that it is working, but you might double check.

In terms of the scheduler, Jasem or Eric can probably help you more now. If they find a bug and fix it, then I can make another dmg. Do note that they did make a lot of changes, maybe something has changed in the settings or how you are supposed to set it up?

Thanks,

Rob

Read More...

Rob Lancaster replied to the topic 'Scheduler not starting' in the forum. 1 week ago

It would be related only if the meridian flip relies on dbus in order to perform something related to the flip operation. I can't check right now to see if this is the case, but it could be. I would say try it and see.

Read More...

Rob Lancaster replied to the topic 'Scheduler not starting' in the forum. 2 weeks ago

So the scheduler relies on DBUS in order to function. When we switched to using craft instead of homebrew for building kstars for Mac , we used the craft recipe for building dbus. About 2 weeks ago I found out this was a problem with a similar bug report to yours because apparently the dbus built by craft did not start properly. So I worked on a new recipe for DBUS. It worked. I just built a new dmg for KStars 3.2.0 which contains the new working DBUS. Please try this today to see if it fixes the issue.

Thanks,

Rob

Read More...

Rob Lancaster replied to the topic 'INDI distribution for macOS' in the forum. 2 weeks ago

Hi Patrick,

This sounds like a good plan to me. We will keep paying a lot of attention to craft because that is the way KDE packages up their apps and the INDI project is being managed by many of the same folks that are working on KStars. I don't think the recipes are 100% done yet, but they are definitely good enough to use to distribute stuff for now. This does allow us to largely ignore home-brew. I would like to get away from it entirely but there are still a few things that I haven't perfected the recipe for.

If you want to make some revisions, we could start working on a nice package with INDI specifically for OS X that doesn't include KStars.

There's just a couple of things.

1. I spent a lot of time making sure that everything could be packaged up in an app and then distributed and moved around to different places. So a number of the drivers need environment variables to be set in order to find the appropriate firmware files and similar things, unless they are in their homebrew locations. Right now in KStars, I set those environment variables at run time when KStars launches an INDI Server. This is really great because the user doesn't have to have homebrew installed, and they can put the app bundle anywhere they want on the computer. But any time the INDI server is run, they need to be set properly. Without KStars, what is the plan for setting this information?

2. In regards to #1, it might be good to develop a new program with a GUI to run an INDI server, or to use the old one that Peter made with updates to it. Thoughts?

3. Note that they are thinking of splitting the INDI repo into two parts. This won't cause any big issues as far as I can see, except that it will require that the recipes be updated . So if you do start with my recipes and/or scripts, please note that I plan to update them as soon as this change happens.

4. I am planning to submit my craft recipes to KDE as soon as they are ready. I did a lot of work on them last year and in January, but haven't worked on them since then. I have been really busy. I plan to look at them in detail again soon. Once I submit them, the script will become a lot simpler because it won't have to copy in the recipes I wrote, it can just use the craft recipes because mine would be included in there too. So when I do that, the script and recipes will change a bit.

That should be it. None of this would cause any major issues I don't think, but it is important to keep in mind moving forward since the scripts/recipes would need to be updated later if you write them now.

I think the biggest thing is the question of whether a GUI is needed? If so, it can be done with QT so it could be cross platform, rather than just for Macs. Or we could start with a similar program to what Peter had done. Or do you have another idea?

Thanks,

Rob

Read More...

Rob Lancaster replied to the topic 'IndiLib/Kstars/Ekos and MacOS help' in the forum. 3 weeks ago

Please see the latest version of my document "QuickStart READ FIRST" that I distribute with the MacOS DMG. It explains where every file is located and what you would need to do to completely delete or reinstall kstars fresh.

If you no longer have this file, it is located here as well: github.com/rlancaste/kstars-on-osx-craft...t%20READ%20FIRST.pdf

Thanks,

Rob

Read More...

Rob Lancaster replied to the topic 'INDI distribution for macOS' in the forum. 4 weeks ago

That’s not a problem, take your time.

We originally used homebrew to do the whole thing, but the kde stuff on homebrew is a bit finicky. I found that one day it would build fine, but then another day they would have serious issues I would need to report. Also homebrew doesn’t actually support building for distribution so it ignores any request to set the min OS X version build variables. We can build INDI with homebrew but it will only work on computers equal to or newer than the build computer. We can’t reliably build kstars with homebrew.

The kde folks developed craft specifically for building and distributing kde programs and all their dependencies for Windows and mac. They do a pretty good job of keeping it up to date and fixing issues. It didn’t have all the recipes I needed but I was able to figure it out and write the ones i needed . I don’t think I included the craft recipes in my other post. Here you go:

github.com/rlancaste/craft-blueprints-kde

Read More...

Rob Lancaster replied to the topic 'INDI distribution for macOS' in the forum. 4 weeks ago

Hi Patrick,

Did you get a chance to look at any of the recipes/scripts? I was waiting for you to get a chance to take a look at them before I did anything further. Note that there is a discussion to change the organization of the indi drivers into more than one repo. I'm pretty sure this will not impact the scripts too much, but it will change a few of the commands and maybe require a new recipe or two. (Really just copying and pasting another one and editing it slightly). So it might be good to wait a little bit before making the changes.

I might build a new version of KStars/INDI though before they make those changes to the repo just so users can have the latest version before a major change happens.

Thanks,

Rob

Read More...

Rob Lancaster replied to the topic 'Autofocus area of interest' in the forum. 4 weeks ago

If you want to use the new full field focusing method, it has a ring-field focusing option that automatically rejects stars in the middle and at the edges.

From the last announcement:

"Ring-Field Focusing

Eric also added a new feature to the Focus module: Ring-field focusing. This method limits the area which stars are detected between an inner and an outer ring. This can be useful in images where
galaxies or nebulaes can be mistaken as stellar object which often lead to erroneous HFR reporting.

This can only be used for full-field focusing."

Read More...

Rob Lancaster replied to the topic 'INDI distribution for macOS' in the forum. 1 month ago

My guess would be that those who are coming from a linux environment would consider a homebrew recipe to be simplest. And those who are coming from a mac os x environment and have never seen homebrew before would find the method i have been distributing kstars ( in an app build with craft and then distributed in a dmg that they just have to drag and drop to their system to install) to be the simplest.

Read More...

Rob Lancaster replied to the topic 'INDI distribution for macOS' in the forum. 1 month ago

With the old OS X build script that we developed back in 2016-2018, I built using a Mac OS X 10.11 El Capitan computer so that the binaries would be compatible with all subsequent systems. When QT ended support for anything less than 10.12, I had to speed up the work that I was already doing on craft so that we could get a completely craft-built kstars and INDI. The issue was that my build computer could not be updated to 10.12 and my new MacBook is running Mojave. Homebrew does NOT support building on a newer system and running the binaries on older systems. But craft can support that using the macosx-version-min build flag you mentioned. So far that mostly seems to be working fine. Though we might be having an issue with one of the binaries associated with either python or astrometry.net, but I'm looking into that. INDI has been working perfectly using craft.

My build scripts do not require a complete Xcode installation. They also can run automatically on your system.

If you want to try the craft one, it is here:
github.com/rlancaste/kstars-on-osx-craft .
But note that this builds INDI in a craft directory not /usr/local

The scripts that we build INDI in homebrew with are here:
github.com/jamiesmith/kstars-on-osx
This could easily be modified so that it just builds INDI if desired.
But note that I haven't updated this script since I started relying solely on the craft version. I did make some changes since then. I made a better way to build the 3rd Party libraries before the 3rd Party drivers and we also have added a few more drivers. So this script does need some updating. I can easily do that if you think you would like to use homebrew to build INDI.

So yes for a start, you could take a look at one or both of my build scripts. Also I can create a new homebrew based build script for just INDI leaving out KStars if you like. That is just a matter of copying and pasting and updating a few outdated lines of code. Then we can think about where to go from there. Also, it does not have to be just one solution. There is no reason we can't maintain a homebrew recipe or build script at the same time as we have an app out there like the INDIServer app.

Read More...