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

Error when deleting pipeline #1

Open
Tommos0 opened this issue Dec 11, 2018 · 0 comments
Open

Error when deleting pipeline #1

Tommos0 opened this issue Dec 11, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@Tommos0
Copy link
Member

Tommos0 commented Dec 11, 2018

[2018-11-20 08:26:06,060] ERROR in app: Exception on /pipelines/5bf1c5461a114e008da23e4f/delete [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/newsgac/newsgac/users/view_decorators.py", line 16, in decorated_function
    return f(*args, **kwargs)
  File "/newsgac/newsgac/pipelines/views.py", line 167, in delete
    pipeline.delete()
  File "/newsgac/newsgac/pipelines/models.py", line 98, in delete
    ace.delete_pipeline(self)
  File "/newsgac/newsgac/ace/models.py", line 42, in delete_pipeline
    self.save()
  File "/newsgac/newsgac/common/mixins.py", line 22, in save
    super(CreatedUpdated, self).save(**kwargs)
  File "/usr/local/lib/python2.7/site-packages/pymodm/base/models.py", line 476, in save
    self.to_son(), upsert=True)
  File "/usr/local/lib/python2.7/site-packages/pymongo/collection.py", line 925, in replace_one
    collation=collation, session=session),
  File "/usr/local/lib/python2.7/site-packages/pymongo/collection.py", line 851, in _update_retryable
    _update, session)
  File "/usr/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1248, in _retryable_write
    return self._retry_with_session(retryable, func, s, None)
  File "/usr/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1201, in _retry_with_session
    return func(session, sock_info, retryable)
  File "/usr/local/lib/python2.7/site-packages/pymongo/collection.py", line 847, in _update
    retryable_write=retryable_write)
  File "/usr/local/lib/python2.7/site-packages/pymongo/collection.py", line 817, in _update
    retryable_write=retryable_write).copy()
  File "/usr/local/lib/python2.7/site-packages/pymongo/pool.py", line 584, in command
    self._raise_connection_failure(error)
  File "/usr/local/lib/python2.7/site-packages/pymongo/pool.py", line 745, in _raise_connection_failure
    raise error
InvalidDocument: Cannot encode object: <newsgac.common.fields.WrappedObject object at 0x7f146d96fc10>
@Tommos0 Tommos0 added the bug Something isn't working label Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant