FS#38380 - [reflector] (Optionally?) Depends on rsync (probably since 2013.12.15.1)

Attached to Project: Community Packages
Opened by Tobias Markus (Scogol) - Saturday, 04 January 2014, 16:33 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 04 January 2014, 16:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
reflector seems to depend on rsync, probably since the latest version 2013.12.15.1. This is quite likely because Xyne talked about a new feature to "time rsync downloads" [1], but he will most likely know himself.

reflector fails because of a Python exception occuring in several (all?) threads:

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.3/threading.py", line 901, in _bootstrap_inner
self.run()
File "/usr/lib/python3.3/threading.py", line 858, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.3/site-packages/Reflector.py", line 353, in worker
stderr=subprocess.DEVNULL
File "/usr/lib/python3.3/subprocess.py", line 542, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.3/subprocess.py", line 523, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.3/subprocess.py", line 824, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.3/subprocess.py", line 1448, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'rsync'

And similiar exceptions in other threads.

Additional info:
* Seen in latest version as of Jan 4, 2014, which is 2013.12.15.1.

Suggested solution:
* Add rsync as an optional/required dependency.

Steps to reproduce:
Run reflector with the -f ("fastest") setting.

[1] http://xyne.archlinux.ca/projects/reflector/#changelog
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 04 January 2014, 16:45 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#38353 

Loading...