Menu

Command-line interface can't find w08 database

6 days ago
6 days ago
  • Robert Hamers

    Robert Hamers - 6 days ago

    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 !!

     
  • han.k

    han.k - 6 days ago

    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

     
  • han.k

    han.k - 6 days ago

    New version is released.

     
  • Robert Hamers

    Robert Hamers - 6 days ago

    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 !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.