Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@jarifr
Copy link

jarifr commented Jun 10, 2016

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant