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

Getting error TypeError: trigger() got an unexpected keyword argument 'v' #5

Open
amitsant opened this issue Nov 20, 2013 · 0 comments

Comments

@amitsant
Copy link

Config:

server_a:
id: '2c88ae84-7cb9-40f7-835d-c05e981f564d'
uri: 'mongodb://localhost:27017'
server_b:
id: '0d9c284b-b47c-40b5-932c-547b8685edd0'
uri: 'mongodb://17.213.43.174:27017'

Configured two host .. Getting the following error:

Traceback (most recent call last):
File "build/bdist.macosx-10.8-intel/egg/gevent/greenlet.py", line 390, in run
result = self._run(_self.args, *_self.kwargs)
File "/Library/Python/2.7/site-packages/MongoMultiMaster-0.0.4dev-py2.7.egg/mmm/slave.py", line 140, in replicate
for checkpoint in triggers.run():
File "/Library/Python/2.7/site-packages/MongoMultiMaster-0.0.4dev-py2.7.egg/mmm/triggers.py", line 30, in run
callback(**op)
TypeError: trigger() got an unexpected keyword argument 'v'
<Greenlet at 0x102ae94b0: <bound method ReplicationSlave.replicate of <mmm.slave.ReplicationSlave object at 0x102af3390>>('server_a', None)> failed with TypeError

Traceback (most recent call last):
File "/usr/local/bin/mmm", line 5, in
pkg_resources.run_script('MongoMultiMaster==0.0.4dev', 'mmm')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1207, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Python/2.7/site-packages/MongoMultiMaster-0.0.4dev-py2.7.egg/EGG-INFO/scripts/mmm", line 122, in
main()
File "/Library/Python/2.7/site-packages/MongoMultiMaster-0.0.4dev-py2.7.egg/EGG-INFO/scripts/mmm", line 71, in main
args.func(config, servers, args)
File "/Library/Python/2.7/site-packages/MongoMultiMaster-0.0.4dev-py2.7.egg/EGG-INFO/scripts/mmm", line 114, in run_main
gevent.sleep(5)
File "build/bdist.macosx-10.8-intel/egg/gevent/hub.py", line 79, in sleep
File "build/bdist.macosx-10.8-intel/egg/gevent/hub.py", line 164, in switch
gevent.greenlet.LinkedFailed: <Greenlet at 0x102ae94b0: <bound method ReplicationSlave.replicate of <mmm.slave.ReplicationSlave object at 0x102af3390>>('server_a', None)> failed with TypeError

Any workaround for the same?

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