[ET Trac] [Einstein Toolkit] #1394: simfactory does not return "nice" error message when local rsync version cannot be determined

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Jun 26 22:02:04 CDT 2013


#1394: simfactory does not return "nice" error message when local rsync version
cannot be determined
------------------------+---------------------------------------------------
 Reporter:  rhaas       |       Owner:  eschnett           
     Type:  defect      |      Status:  new                
 Priority:  minor       |   Milestone:                     
Component:  SimFactory  |     Version:  development version
 Keywords:              |  
------------------------+---------------------------------------------------
 currently, when the version of the local rsync executable cannot be
 determined (eg because the user has no executable privileges or because
 the regular expression did not match) the user is left with a python
 backtrace into lib/simlib.py/RsyncVersion stating that NoneType has no
 attribute groups.

 The attached patch checks if the regular expression matched and if not
 reports a fatal error including rsync's return text in the error message.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1394>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list