I'm trying to run ASTAP on a Raspberry PI 5, running "Bookworm" version 12. I've done all the updates, so should be completely up to date.
I can run the GUI version of ASTAP fine from the GUI and everything works great -- I can load my image, solve it using the W08 database, and everything's fine. The W08 database is the only one that I have installed, and it's only one file.
The problem is that when I try to use the command-line version (astap_cli) that is in the same directory, it fails and says it cannot find any databases.
The message is: " Error, no star database found at /opt/astap/ ! Download and install a star database. "
I have the installed w08 database (w08_0101.001) in the same directory, as both the GUI-executable astap program and the astap_cli version., and I put a second version of this same file in a /opt/astap/data subdirectory.
When I look at the PATH, there's an entry "PWD=/opt/astap/data" . I'm not sure whether the database file should be in /opt/astap. or in /opt/astap/data, but it's located both places and till the CLI version can't seem to find it.
Any help would be appreciated !!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you ! That worked ! (at least, the CLI version -- haven't had a chance to try to GUI version... but the CLI version's what I care about most). Thank you for your help, and especially such a prompt response and fix ! This is a great program !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to run ASTAP on a Raspberry PI 5, running "Bookworm" version 12. I've done all the updates, so should be completely up to date.
I can run the GUI version of ASTAP fine from the GUI and everything works great -- I can load my image, solve it using the W08 database, and everything's fine. The W08 database is the only one that I have installed, and it's only one file.
The problem is that when I try to use the command-line version (astap_cli) that is in the same directory, it fails and says it cannot find any databases.
The message is: " Error, no star database found at /opt/astap/ ! Download and install a star database. "
I have the installed w08 database (w08_0101.001) in the same directory, as both the GUI-executable astap program and the astap_cli version., and I put a second version of this same file in a /opt/astap/data subdirectory.
When I look at the PATH, there's an entry "PWD=/opt/astap/data" . I'm not sure whether the database file should be in /opt/astap. or in /opt/astap/data, but it's located both places and till the CLI version can't seem to find it.
Any help would be appreciated !!
Hi Robert,
The database should always be at the same place of astap_cli or astap unless you specify a path to it with the -d parameter.
The w08 is the only database which is not selected in auto. Auto works only from 10 down to 0.3 degrees field-of-view.
So you have to force it:
/opt/astap/astap_cli -f images/light2.NEF.fits -D w08
or like
/opt/astap/astap_cli -f images/light2.NEF.fits -D w08 -d /opt/astap
There is a run time error bug in the last astap_cli and astap version which I hope to fix today. So update tomorrow or later.
Han
New version is released.
Thank you ! That worked ! (at least, the CLI version -- haven't had a chance to try to GUI version... but the CLI version's what I care about most). Thank you for your help, and especially such a prompt response and fix ! This is a great program !