Menu

#276 dcraw 9.19 included with gm 1.3.20 doesn't support paths with spaces.

v1.0_(example)
closed-fixed
None
5
2014-12-15
2014-09-12
cmanley666
No

This is the command and the error I get:

gm identify "E:\photos\Angela\2012\2012-06-23 Spike\orf\P6230049.ORF"
E:\photos\Angela\2012\2012-06-23: No such file or directory
Spike\orf\P6230049.ORF: No such file or directory
gm identify: "dcraw" "-w" "-O" "C:\Users\cmanley\AppData\Local\Temp\gmc9wDOR" "E:\photos\Angela\2012\2012-06-23 Spike\orf\P6230049.ORF".
gm identify: Delegate failed (dcraw -w -O "%o" "%i").
gm identify: Request did not return an image.

Discussion

  • cmanley666

    cmanley666 - 2014-09-12

    Running the dcraw command with the same options standalone works fine:

    "dcraw" "-w" "-O" "C:\Users\cmanley\AppData\Local\Temp\gmc9wDOR" "E:\photos\Angela\2012\2012-06-23 Spike\orf\P6230049.ORF"
    

    So it seems the code that is calling dcraw isn't escaping the arguments (correctly).

    P.S. Is a custom version of dcraw included in the GM package because I don't see an -O option in the version on Dave Coffin's site?

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-09-12

    Yes, this is a modified version of dcraw. Patches have been sent to David Coffin and he has at least applied some of the patches even though he did not respond to email.
    See GraphicsMagick Mercurial (or source package targeting Windows) for the modifications.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-12-15
    • status: open --> closed-fixed
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-12-15

    Fixed by Mercurial changeset c40fc631673f. Thank you very much for reporting this issue.

     

Log in to post a comment.

MongoDB Logo MongoDB