#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.