Skip to content

run_command_get_outputs() doesn't work on cygwin #3

@letmaik

Description

@letmaik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions