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

update registered service fails #17

Closed
cehbrecht opened this issue Jun 9, 2016 · 1 comment
Closed

update registered service fails #17

cehbrecht opened this issue Jun 9, 2016 · 1 comment
Assignees
Labels

Comments

@cehbrecht
Copy link
Member

error message when updating wps service:

 File "/homel/birdhouse/pyramid-phoenix/eggs/pyramid_twitcher-0.1.6-py2.7.egg/twitcher/registry.py", line 61, in register_service
self.collection.update_one({'name': name}, service)
 File "/homel/birdhouse/.conda/envs/birdhouse/lib/python2.7/site-packages/pymongo/collection.py", line 635, in update_one
common.validate_ok_for_update(update)
 File "/homel/birdhouse/.conda/envs/birdhouse/lib/python2.7/site-packages/pymongo/common.py", line 395, in validate_ok_for_update
raise ValueError('update only works with $ operators')
 ValueError: update only works with $ operators
@cehbrecht cehbrecht added the bug label Jun 9, 2016
@cehbrecht cehbrecht self-assigned this Jun 9, 2016
cehbrecht added a commit that referenced this issue Jun 9, 2016
@cehbrecht
Copy link
Member Author

fixed mongodb update

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

No branches or pull requests

1 participant