Done. By now I circumvent the problem using a soft link with no space in the path name Agus
On Wed, Sep 2, 2015 at 8:50 AM, Julien Michel <[email protected]> wrote: > Hi, > > Can you file a bug report on this ? I think they should be accepted with > quotes. > > Regards, > > Julien > > > Le 02/09/2015 08:47, Agustin Lobo a écrit : >> >> At least otbcli_FineRegistration has trouble to deal with path names >> that include an space, >> even if the path name is provided within ' ' >> I know having spaces in path names is an unnecessary complication but >> some external drives get that kind of name automatically. >> >> This is a simplified example: >> >> alobo@Delia:~$ mkdir "mi tmp" >> alobo@Delia:~$ mkdir "mi_tmp" >> >> alobo@Delia:~$ otbcli_FineRegistration -ref /tmp/imain_4.tif -sec >> /tmp/imain_1.tif -out '/home/alobo/mi tmp/IMG_0013FRX1.tif' -erx 5 >> -ery 5 -mrx 100 -mry 100 -ssrx 50 -ssry 50 -m MRSD >> >> ERROR: Troubles loading parameter, please check your line argument... >> >> Instead, >> alobo@Delia:~$ otbcli_FineRegistration -ref /tmp/imain_4.tif -sec >> /tmp/imain_1.tif -out '/home/alobo/mitmp/IMG_0013FRX1.tif' -erx 5 -ery >> 5 -mrx 100 -mry 100 -ssrx 50 -ssry 50 -m MRSD >> >> works fine. >> >> Note that commands such as >> gdal_translate -b 4 -co PROFILE=BASELINE '/home/alobo/mi >> tmp/IMG_0013.tif' /tmp/imain_4.tif >> >> or simply >> alobo@Delia:~$ cp '/media/alobo/FREECOM >> >> HDD/Iomega_HDD/FLUXPYR/Bertolina20150709/Bert20150709Mic/MultiMica/IMG_0013.tif' >> '/home/alobo/mi tmp' >> >> work fine. >> >> Any trick for making these path names be accepted in otbcli apps? >> >> Agus >> > > > -- > Julien MICHEL > CNES - DCT/SI/AP - BPI 1219 > 18, avenue Edouard Belin > 31401 Toulouse Cedex 09 - France > Tel: +33 561 282 894 - Fax: +33 561 283 109 > > -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- You received this message because you are subscribed to the Google > Groups "otb-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
