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

Fix packaging following the sentry-sdk upgrade to 0.19.0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.5.0
    • Component/s: Packaging / Build

      Description

      Error

      Following the upgrade to Sentry SDK 0.19.0, the app cannot start anymore.

      Command line arguments:

      bind-server
      USER
      https://nightly.nuxeo.com/nuxeo
      --password=PASSWORD
      --local-folder=/var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/tmpo71n5g5x/folder
      

      Exception:

      Traceback (most recent call last):
        File "nxdrive/__main__.py", line 111, in main
        File "nxdrive/__main__.py", line 75, in setup_sentry
        File "site-packages/sentry_sdk/hub.py", line 106, in _init
        File "site-packages/sentry_sdk/client.py", line 86, in __init__
        File "site-packages/sentry_sdk/client.py", line 132, in _init_impl
        File "site-packages/sentry_sdk/integrations/__init__.py", line 105, in setup_integrations
        File "site-packages/sentry_sdk/integrations/__init__.py", line 41, in iter_default_integrations
        File "importlib/__init__.py", line 127, in import_module
        File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
        File "<frozen importlib._bootstrap>", line 983, in _find_and_load
        File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
      ModuleNotFoundError: No module named 'sentry_sdk.integrations.django'
      

      Fix

      Disable auto_enabling_integrations at the SDK init.

        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

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.