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

Catch LookupError in guess_server_url()

    XMLWordPrintable

    Details

      Description

      Error

      Sentry Issue: NUXEO-DRIVE-2GN

      LookupError: unknown encoding: raw-unicode-escape
        File "nxdrive\gui\api.py", line 550, in web_authentication
        File "nxdrive\gui\api.py", line 385, in _guess_server_url
        File "nxdrive\utils.py", line 795, in guess_server_url
        File "<frozen importlib._bootstrap>", line 983, in _find_and_load
        File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
        File "pyimod03_importers.py", line 627, in exec_module
        File "rfc3987.py", line 358, in <module>
        File "rfc3987.py", line 357, in <genexpr>
        File "rfc3987.py", line 351, in _interpret_unicode_escapes
      

      TODO

      • Add a regression test.
      • Skip that specific exception in the function.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mschoentgen Mickaël Schoentgen
                Reporter:
                mschoentgen Mickaël Schoentgen
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 15 minutes
                  15m