-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
solve-field CLI fails #322
Comments
Hi, Usually this sort of thing happens when you have a partially-removed old install and a new one in a different path. The code runs the "image2pnm" program, which should be a script that runs the python module astrometry.util.image2pnm (setting the PYTHONPATH to a relative path) It's hard to diagnose the problem exactly, but you can try finding out things like
|
Eg, here's a similar report that was due to an old partial installation |
I am having a similar issue. Running FreeBSD 14.2 and astrometry-0.97_1 from the official FreeBSD repo. Getting: % solve-field 55841-S001-R001-C001-Empty-041700.fts Only one astrometry packge is installed. Everything was working fine previously before upgrading the package. I would sincerely appreciate any pointers. Update: Traced this to the following: % an-fitstopnm -v -i 1.fits Update: rebuilt astrometry-0.97 from sources. Problem solved. Everything works fine now. Absolutely zero idea why would it fail when originally installed as a binary from the repo. |
Encountering an error now every time I try running
solve-field
.(odl) mcampbell02@1311-mcampbell:~/projects/ressolve$ solve-field examples/M42_00001.fits Reading input file 1 of 1: "examples/M42_00001.fits"... /usr/bin/python3: Error while finding module specification for 'astrometry.util.image2pnm' (ModuleNotFoundError: No module named 'astrometry.util') augment-xylist.c:591:backtick Failed to run command: /usr/bin/python3 -m astrometry.util.image2pnm --infile examples/M42_00001.fits --uncompressed-outfile /tmp/tmp.uncompressed.FFRPrT --outfile /tmp/tmp.ppm.Ox7oDF --ppm --mydir /usr/bin/solve-field ioutils.c:568:run_command_get_outputs Command failed: return value 1
Attempted uninstalling and reinstalling astrometry.net packing with apt.
The text was updated successfully, but these errors were encountered: