You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError('groups() takes at most 1 argument (2 given)',): File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/EGG-INFO/scripts/gsync", line 70
#98
Open
jarifr opened this issue
Jun 10, 2016
· 0 comments
DEBUG: filter.py:90:add_rule(): '- /home/bacula/media.tmp' matched 2 groups
DEBUG: filter.py:92:add_rule(): * [-,/home/bacula/media.tmp]
DEBUG: TypeError('groups() takes at most 1 argument (2 given)',): groups() takes at most 1 argument (2 given)
DEBUG: TypeError('groups() takes at most 1 argument (2 given)',): File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/EGG-INFO/scripts/gsync", line 70, in main
Filter.add_rules(GsyncOptions.list().exclude, "-")
File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/libgsync/filter.py", line 74, in add_rules
self.add_rule(modifier + " " + rule)
File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/libgsync/filter.py", line 99, in add_rule
mod, pattern = match.groups(1, 2)
gsync: groups() takes at most 1 argument (2 given)
gsync error: TypeError at filter.py(99) [client=0.1.14]
The text was updated successfully, but these errors were encountered:
Hello from CentOS 6.7, latest pip and gsync from github.
I run command:
gsync -rbv --debug --delete --bwlimit=500 --log-file=/var/log/gsync.log --exclude=/home/bacula/media.tmp /home/bacula drive://Backups/Bacula
Result:
DEBUG: filter.py:90:add_rule(): '- /home/bacula/media.tmp' matched 2 groups
DEBUG: filter.py:92:add_rule(): * [-,/home/bacula/media.tmp]
DEBUG: TypeError('groups() takes at most 1 argument (2 given)',): groups() takes at most 1 argument (2 given)
DEBUG: TypeError('groups() takes at most 1 argument (2 given)',): File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/EGG-INFO/scripts/gsync", line 70, in main
Filter.add_rules(GsyncOptions.list().exclude, "-")
File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/libgsync/filter.py", line 74, in add_rules
self.add_rule(modifier + " " + rule)
File "/usr/lib/python2.6/site-packages/gsync-0.1.14-py2.6.egg/libgsync/filter.py", line 99, in add_rule
mod, pattern = match.groups(1, 2)
gsync: groups() takes at most 1 argument (2 given)
gsync error: TypeError at filter.py(99) [client=0.1.14]
The text was updated successfully, but these errors were encountered: