Welcome, Guest
Username: Password: Remember me
02 Jan 2018
INDI development team is happy to announce the release of INDI Library v1.6.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...

TOPIC: Working on PHD2 support

Re:Working on PHD2 support 2 weeks 6 days ago #22139

Looks nice, unfortunately not straight forward to test on Ubuntu due to the libqt5datavisualization5 module not being packaged even in 17.10 ( bugs.launchpad.net/ubuntu/+bug/1727617 ).

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

Working on PHD2 support 2 weeks 6 days ago #22140

  • pcxz
  • pcxz's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 113
  • Thank you received: 8
@knro
Thanks now compile ok.

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

----
Celestron C8 Fastar XLT U.S.A. (Carbon tube), seeker 9x50 (used as a guide scope), Wedge, Meade DSI (used as a guide cam), Canon EOS 500D Full mod, Canon EOS 1000D, RaspBerryPI3 with remote management through EKOS.

Re:Working on PHD2 support 2 weeks 6 days ago #22142

jpaana wrote: Looks nice, unfortunately not straight forward to test on Ubuntu due to the libqt5datavisualization5 module not being packaged even in 17.10 ( bugs.launchpad.net/ubuntu/+bug/1727617 ).


Yeah most likely this would be for those on 18.04+

EDIT: It's not even in 18.04 when I checked today.. so I commented on this bug. Those who have Launchpad account please login and comment as well so it brings more attention to this.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Last Edit: by knro.

Working on PHD2 support 2 weeks 3 days ago #22210

Built kstars from source last night and spent the evening guiding with EKOS/PHD2 and it worked really well - I appreciate the improvements you've made!

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

Working on PHD2 support 2 weeks 3 days ago #22213

  • rlancaste
  • rlancaste's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 984
  • Karma: 9
  • Thank you received: 210
That’s good to hear! I have not yet used it in its final version under the real sky due to the full moon and the weather. It has been below freezing for more than 2 weeks and there is significant snowfall. That plus the holidays. I hope to get it out soon, but until then I am working on the 3D star profile. It is almost done!

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

Working on PHD2 support 2 days 42 minutes ago #22550

Still working good for me.

But I keep seeing these messages contiuously on the console I run kstars from:

FITSIO status = 104: could not open the named file
failed to find or open the following file: (ffopen)
/tmp/kstars/phd2.fits

Any ideas?

Should it be using a predictable name for a temporary file?

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

Working on PHD2 support 1 day 1 hour ago #22562

  • rlancaste
  • rlancaste's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 984
  • Karma: 9
  • Thank you received: 210
So that is related to the star image that comes back from PHD2. PHD2 sends a small star image back every single time it does a Guide Step. So what I did is I saved the file as a FITS file and then opened it in the FitsView. Then you can see the images that are coming in. It is a very small file, so doesn't take up lots of resources or take long to save or open. But if we let it just make a temp file with whatever name it wants, very soon you will have hundreds or even thousands of temp files. So I am saving it with a predictable name that we can then overwrite so it doesn't fill up your hard drive with PHD guide images.

In terms of your issue, does the star image appear when guiding? Sometimes some frames are lost because they get corrupted in the file transfer due to the way PHD2 sends them. But are you seeing the star at all? If not, then I would ask if the file path /tmp/kstars/phd2.fits exists on your computer. Can you check that?

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

Working on PHD2 support 1 day 1 hour ago #22563

Looks like it is every other update it gives me that message - so I get one image that works, one that doesn't, etc.

My concern is with the predictable name someone could do nasty things to you.

www.linuxsecurity.com/content/view/115462/151/

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

Working on PHD2 support 1 day 50 minutes ago #22564

  • rlancaste
  • rlancaste's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 984
  • Karma: 9
  • Thank you received: 210
Ok, well at least you are getting enough of them to see what the star is doing. I can try to cut down on the error messages.

In terms of the security issue, KStars should not be running as root (fortunately), and the exploit would only work if the user has access to your computer's files somehow in order to make a symlink in your tmp directory. The tmp directory is of course vulnerable due to its permissions, but unless you have multiple users on your computer at the same time, are using your imaging computer as an Internet or file server, or someone gets access to your keyboard, I doubt they can do it. Even if they did I'm not sure it would do much good since KStars does not run the file like an executable or a script, it reads the data bits in the file and renders it as an image. So if it tried to load a malicious file, it would probably just fail to load or render an image properly. Can someone let me know if I am wrong about this? Thanks!

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

Time to create page: 0.203 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