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

SAGA saga-devel at cct.lsu.edu
Thu Jan 15 06:37:35 CST 2009


#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%40localhost: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?

 Andre

-- 
Ticket URL: <http://fortytwo.cct.lsu.edu:8000/SAGA/ticket/319#comment:3>
SAGA <http://saga.cct.lsu.edu/>
SAGA - Simple API for Grid Applications - C++ reference implementation


More information about the saga-devel mailing list