×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 51
  • Thank you received: 4

Replied by anofeles on topic Ekos on Mac OS X ?

I have a problem with the ekos solver control...
If I make a "capture & solve" with "nothing" solver action checked, all works fine (online and offline) but if I make a "capture & solve" with "Sync" action checked (same image) ekos doesn't even solve (online or offline) the same image that it had solved in a few seconds with the "nothing" option checked...
Sorry my english...
Any idea, please?
Thanks in advance...
Last edit: 6 years 9 months ago by anofeles.
6 years 9 months ago #17477
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Basically, "internal" means it starts its own indi server. On os x, the goal is to have it bundled inside the app for simplicity. An external indiserver could be on a separate computer on the network, on the internet, over wifi, or even just on the same computer but launched from the command line or another program like the cloudmakers indi server.

To turn on logging, just go to the preferences in kstars, then advanced, and logging. You will want to check "indi" and tell it so save to a log file. In that same panel, there is a button that will show you where the log is located.

To try to run the indiserver from the command line:
1. Open Terminal.app
2. Right click on KStars.app (wherever you installed it) and click on "show package contents"
3. Navigate to the Contents/MacOS/INDI folder
4. Go back to the terminal and type "cd " in the terminal.
5. Drag the indi folder to the terminal window, it should type the path after your "cd". Hit enter.
6. Now you are "in" the indi folder in the terminal.
7. Type the following command exactly as it shows in the terminal:
./indiserver -vvv ./indi_canon_ccd

After you type that, it should be running and will print all output. You can connect your camera, start up kstars and connect to a "remote" indiserver with localhost as the host and the canon indi driver selected as the only driver. Make sure you take note of anything that it says in the terminal window since any issues should print.

If you have both a log file and the terminal output that would greatly help us figure out any problems.
6 years 9 months ago #17478
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Do you have the latest version from the website?
6 years 9 months ago #17479
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

Replied by Eric Vickery on topic Ekos on Mac OS X ?

When I run indi server local it doesn't work right on my ASI camera and it doesn't work at all on my ZWO EFW but if I run the embedded indi server from the terminal then it all works fine. Is there something strange about how kstars starts the embedded indi server?
6 years 9 months ago #17480
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


The main problem is that when a process is launched from a QT program, such as an indi server, or Astrometry solver, the environment variables are not the same as they are when you launch the same program from the command line. I am fairly sure this is done for security reasons. My solution has been to just add the environment variables that you need in order to make the program work when the process is started by KStars. Basically we just need to know what environment variable is missing.
6 years 9 months ago #17482
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


By the way, if you would like to try, since I know you already have QT and all of the software installed on your computer to try this, you might try adding an environment variable or two and see if it works. The relevant file is KStars/INDI/ServerManager.cpp. Approximately Line 85 or so. You will notice there I added some lines for environment variables for GSC, GPhoto cameras, QHY, and the indiprefix. I do have an ASI camera but not an ASI filter wheel. So I can only test the camera.
The following user(s) said Thank You: Eric Vickery
6 years 9 months ago #17483
The topic has been locked.
  • Posts: 30
  • Thank you received: 1

Replied by Robert on topic Ekos on Mac OS X ?

Hello,
I have followed the instructions and included the Kstar logfile as well as some screencaptures.
After I started the indi server via Terminal I started the Canon 700D and Kstar.
When selecting Ekos and starting INDI it says that there is another instance of INDI running. When I answer No to shutting it down I can see on the Terminal window that I believe the Canon driver is being loaded. However I am not able to connect my devices such as the mount and the CCD. The Ksat configuration is Local not Remote. I have included the window where you can see what path the indi library is that Kstar uses.
I restarted Kstar but this time I selected Yes to the question of shutting down the already running INDI instance. Now everything connects except for the Canon and indeed in the terminal I can see that it is not loaded.

Hope this helps a bit.

Thanks again,

Robert
6 years 9 months ago #17490
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

Replied by Eric Vickery on topic Ekos on Mac OS X ?


I will give it a try. I looked yesterday and didn't see where I had any environment variables set that should make any difference. One thing I did notice is that Ekos uses the FIFO file to start the drivers and I just put them all on the command line, not sure if that could have anything to do with it.
6 years 9 months ago #17495
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Yes that is correct, we only started the canon driver from the terminal, so that should be the only device that connects. In fact, I probably should have told you to make a profile in KStars that only includes the canon driver, so that the others don't try to connect. The primary reason for this is because we want to isolate the problem. The other devices and their messages while they are connecting will get in the way. You are correct to say "no" to starting another indiserver because right now we want to test it using the one from the terminal. The log file was very helpful, though as I said, getting the other devices out of the way would help. I saw some of the output from the indiserver in the window on the left but couldn't make it all out, could you copy and paste whatever it said?

Thanks!

Rob
6 years 9 months ago #17496
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

Robert,

I looked through your log file just now and saw several things. It looks like it is detecting the camera properly since it says there is 1 camera and it identifies it properly. The only error message I saw in the log file was that it couldn't claim the usb device. Do you have any other programs running that might tie up the camera?

Here is a thought, sometimes PTPCamera daemon on OS X steals the camera. Try this command in the terminal after you connect the camera but before you try to connect to it in INDI/KStars:

killall PTPCamera

You can also use Activity monitor to see the process and quit it as well if you prefer that to the terminal.

The same goes for any other programs/processes that want to steal the camera so that other programs cannot use it. But I suspect this one is the culprit because it did that to mine a few times.

Thanks,
Rob
6 years 9 months ago #17497
The topic has been locked.
  • Posts: 30
  • Thank you received: 1

Replied by Robert on topic Ekos on Mac OS X ?

That was the reason Rob. " killall PTPCamera" did the trick! Canon is now online!! Thank you so much! I didn't have to use any other INDI driver. Star's internal was sufficient. I guess I will have execute this command every session now.

Regarding my second problem; any ideas on the solving problems of my polar alignment?

Kind regards,

Robert
6 years 9 months ago #17498
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Thats a question for Jasem, since he developed that routine, but I haven't even used it. I use my polar scope to align it in the field. My scope is not permanently mounted and the polar scope is easy to use and fast. The polar alignment routine looks nice, I just haven't tried it yet.
The following user(s) said Thank You: Robert
6 years 9 months ago #17500
The topic has been locked.
Time to create page: 0.573 seconds