Code review comment for lp:~petr-kubanek/stellarium/stellarium

Revision history for this message
gzotti (georg-zotti) wrote :

We will fix the GUI to only show the relevant settings depending on which type of telescope is being configured.

Petr, I was able to install on Ubuntu 16.04, sudo services rts2 start, and see (dummy) T0 and can write commands into the rts2 console. (park, move 90 0, etc. ) rts2-httpd requires database, I have installed the stars database as described in RUN, retried starting rts2-httpd, but rts2-mon still complains that I shall check that root can connect to database. (could not connect to database "stars" on line 162.) I am also not really familiar with postgresql usage, maybe I am doing something wrong.

On the other side, I have set up an RTS2 telescope on my Windows PC with your version.

from the logfile:

connectionType: 5 initString: "RTS2 dummy Telescope:RTS2:J2000:http://gzotti:PASSWORD@192.168.xxx.yyy:8889"
Creating telescope "RTS2 dummy Telescope:RTS2:J2000:http://gzotti:PASSWORD@192.168.xxx.yyy:8889" ; name/type/equinox/params: "RTS2 dummy Telescope" "RTS2" J2000 "http://gzotti:XXXXXX@192.168.xxx.yyy:8889"
TelescopeRTS2 paramaters: "http://gzotti:PASSWORD@192.168.xxx.yyy:8889"
request url: "http://gzotti:PASSWORD@192.168.xxx.yyy:8889/api/devbytype?t=2"
TelescopeRTS2 error QNetworkReply::NetworkError(ConnectionRefusedError)

The telescope overview panel in Stellarium states "connected", and I see a telescope control panel for my RTS2 dummy telescope, but it shows default all-0 coordinates, not the currently set 6h00/0° RA/DEC (from rts2-mon move 90 0). So it seems more than likely that connection has not been properly established and "ConnectionRefused" is not properly handled yet. As I understand, this would connect to the running rts2-httpd, but it does not run...

When I am connected (or not) to RTS2 like this, quitting Stellarium results in a crash.

Sorry, I am total beginner with RTS2 and automated telescopes. A guide book "RTS2 for dummies" or so would be helpful. And then a thorough book about robotic observatories with RTS2 with instructions, sectioned by topic, not alphabetized (where to start reading the manpages?))

It would be perfect if you can add a section on RTS2 to the Guide: in guide/plg_atTheTelescope.tex. Not a complete RTS2 manual, but things to take case of, etc. Don't bother with too much formatting, we will likely edit a bit, but just to get info from you on what is important, like having rts2-httpd running.

I will try to follow the postgresql instructions now, maybe I can get this to work.

review: Needs Fixing

« Back to merge proposal