Skip to content
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

run_command_get_outputs() doesn't work on cygwin #3

Open
letmaik opened this issue Feb 8, 2013 · 0 comments
Open

run_command_get_outputs() doesn't work on cygwin #3

letmaik opened this issue Feb 8, 2013 · 0 comments

Comments

@letmaik
Copy link

letmaik commented Feb 8, 2013

I tried astrometry on Ubuntu and it works great. Now I also wanted to try it on Windows with cygwin. The compile within cygwin went through without problems, but once I run it I get the following error:

$ solve-field.exe test.jpg
Reading input file 1 of 1: "test.jpg"...
jpegtopnm: WRITING PPM FILE
augment-xylist.c:586:backtick Failed to run command: /usr/local/astrometry/bin/image2pnm.py --sanitized-fits-outfile /tmp/tmp.sanitized.ec6ASY --fix-sdss --infile test.jpg --uncompressed-outfile /tmp/tmp.uncompressed.WMDQuS --outfile /tmp/tmp.ppm.b2btvN --ppm
 ioutils.c:627:run_command_get_outputs error reading from child output stream
 system: No such file or directory

When I copy the failed command and execute it manually, it works though:

$ /usr/local/astrometry/bin/image2pnm.py --sanitized-fits-outfile /tmp/tmp.sanitized.ec6ASY --fix-sdss --infile test.jpg --uncompressed-outfile /tmp/tmp.uncompressed.WMDQuS --outfile /tmp/tmp.ppm.b2btvN --ppm
jpegtopnm: WRITING PPM FILE
jpg

Even if you don't care about Windows :p I wanted to post this here in case anyone with more experience than me who is also trying the same thing can fix it.

I used snapshot 21979 from 12-Jan-2013.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant