[Saga-devel] Re: [SAGA] #319: mkdir fails. with boost exception!

Hartmut Kaiser hkaiser at cct.lsu.edu
Thu Jan 15 07:24:29 CST 2009


Andre,

> #319: mkdir fails.  with boost exception!
> -----------------------------------+-----------------------------------
> -
> -----------------------------------+----
>   Reporter:  amerzky               |       Owner:  hkaiser
>       Type:  defect                |      Status:  reopened
>   Priority:  major                 |   Milestone:  1.1.1 (Edinburgh)
>  Component:  Default File Adaptor  |     Version:  SVN
> Resolution:                        |    Keywords:
> -----------------------------------+-----------------------------------
> -
> -----------------------------------+----
> Changes (by amerzky):
> 
>   * priority:  blocker => major
> 
> Comment:
> 
>  Replying to [comment:2 amerzky]:
>  > Alas, there seem to be more places having trouble:
>  >
>  > {{{
>  > file://localhost/Users/merzky/.saga/adaptors/ssh/ssh_file/mnt # ls
>  >   merzky at localhost:22/
>  >   merzky at qb.loni.org:22/
>  >
>  > file://localhost/Users/merzky/.saga/adaptors/ssh/ssh_file/mnt # cd
>  merzky at localhost:22
>  >
>  >
> 
> file://localhost/Users/merzky/.saga/adaptors/ssh/ssh_file/mnt/merzky%40
> localhost:22
>  # ls
>  > Ooops!
>  > exception caught: boost::filesystem::basic_directory_iterator
>  constructor
>  > }}}
>  >
>  > Note that the ls should not fail, either - is that caused by the '@'
> in  the dir name, i.e. by escape problems?
> 
>  Not the '@', but spaces in the names of the files to be listed were
> not  handled well by boost.  Surprising really *scratch*.
> 
>  Anyway, should all boost ops in the adaptor try'ed/catched?

I'm not able to reproduce this. Could you please provide a minimal test?

Regards Hartmut





More information about the saga-devel mailing list