Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2620

Ignore RuntimeError: wrapped C/C++ object of type LinkingAction has been deleted in Action.finish()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0
    • Component/s: Framework

      Description

      Sentry Issue: NUXEO-DRIVE-4ZA

      AttributeError: 'NoneType' object has no attribute 'get'
        File "urllib3/connectionpool.py", line 257, in _get_conn
          conn = self.pool.get(block=self.block, timeout=timeout)
      
      ClosedPoolError: HTTPConnectionPool(host='localhost', port=8080): Pool is closed.
        File "requests/adapters.py", line 439, in send
          resp = conn.urlopen(
        File "urllib3/connectionpool.py", line 783, in urlopen
          return self.urlopen(
        File "urllib3/connectionpool.py", line 783, in urlopen
          return self.urlopen(
        File "urllib3/connectionpool.py", line 783, in urlopen
          return self.urlopen(
        File "urllib3/connectionpool.py", line 783, in urlopen
          return self.urlopen(
        File "urllib3/connectionpool.py", line 783, in urlopen
          return self.urlopen(
        File "urllib3/connectionpool.py", line 688, in urlopen
          conn = self._get_conn(timeout=pool_timeout)
        File "urllib3/connectionpool.py", line 260, in _get_conn
          raise ClosedPoolError(self, "Pool is closed.")
      
      ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Pool is closed.
        File "nxdrive/client/uploader/__init__.py", line 407, in link_blob_to_doc
          res: Dict[str, Any] = self.remote.execute(
        File "nxdrive/client/remote_client.py", line 265, in execute
          return self.operations.execute(**kwargs)
        File "nuxeo/operations.py", line 199, in execute
          resp = self.client.request(
        File "nuxeo/client.py", line 310, in request
          raise self._handle_error(exc)
        File "nuxeo/client.py", line 304, in request
          resp = self._session.request(
        File "requests/sessions.py", line 542, in request
          resp = self.send(prep, **send_kwargs)
        File "requests/sessions.py", line 655, in send
          r = adapter.send(request, **kwargs)
        File "requests/adapters.py", line 519, in send
          raise ConnectionError(e, request=request)
      
      RuntimeError: wrapped C/C++ object of type LinkingAction has been deleted
        File "nxdrive/engine/workers.py", line 197, in run
          self._execute()
        File "nxdrive/engine/processor.py", line 344, in _execute
          self._handle_doc_pair_sync(doc_pair, sync_handler)
        File "nxdrive/engine/processor.py", line 242, in _handle_doc_pair_sync
          sync_handler(doc_pair)
        File "nxdrive/engine/processor.py", line 992, in _synchronize_locally_created
          fs_item_info = self.remote.stream_file(
        File "nxdrive/client/remote_client.py", line 650, in stream_file
          fs_item = self.upload(
        File "tests/old_functional/test_transfer.py", line 535, in upload
          return upload_orig(*args, uploader=SerialUploader, **kwargs)
        File "nxdrive/client/remote_client.py", line 509, in upload
          return uploader(self).upload(path, **kwargs)
        File "nxdrive/client/uploader/sync.py", line 31, in upload
          item = self.upload_impl(file_path, command, filename=filename, **kwargs)
        File "nxdrive/client/uploader/__init__.py", line 233, in upload_impl
          doc: Dict[str, Any] = self._link_blob_to_doc(
        File "nxdrive/client/uploader/__init__.py", line 363, in _link_blob_to_doc
          return self.link_blob_to_doc(command, transfer, blob, chunked, **kwargs)
        File "tests/old_functional/test_transfer.py", line 530, in link_blob_to_doc
          return super().link_blob_to_doc(*args, **kwargs)
        File "nxdrive/client/uploader/__init__.py", line 415, in link_blob_to_doc
          action.finish_action()
        File "nxdrive/engine/activity.py", line 59, in finish_action
          action.finish()
        File "nxdrive/engine/activity.py", line 162, in finish
          self.done.emit(self)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m