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

Pip installation fails on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.0
    • Component/s: Tests
    • Environment:
      Windows

      Description

      4:21:19 [INFO]      [exec] Installing collected packages: pycryptodomex, python-dateutil
      14:21:19 [INFO]      [exec]   Found existing installation: pycryptodomex 3.4.12
      14:21:19 [INFO]      [exec]     Uninstalling pycryptodomex-3.4.12:
      14:21:19 [INFO]      [exec] Exception:
      14:21:19 [INFO]      [exec] Traceback (most recent call last):
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\basecommand.py", line 215, in main
      14:21:19 [INFO]      [exec]     status = self.run(options, args)
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\commands\install.py", line 342, in run
      14:21:19 [INFO]      [exec]     prefix=options.prefix_path,
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\req\req_set.py", line 778, in install
      14:21:19 [INFO]      [exec]     requirement.uninstall(auto_confirm=True)
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\req\req_install.py", line 754, in uninstall
      14:21:19 [INFO]      [exec]     paths_to_remove.remove(auto_confirm)
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\req\req_uninstall.py", line 115, in remove
      14:21:19 [INFO]      [exec]     renames(path, new_path)
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\site-packages\pip\utils\__init__.py", line 265, in renames
      14:21:19 [INFO]      [exec]     os.makedirs(head)
      14:21:19 [INFO]      [exec]   File "C:\Jenkins\0ebd1d51\workspace\Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA\deploy-dir\drive-2.7.14-python\lib\os.py", line 157, in makedirs
      14:21:19 [INFO]      [exec]     mkdir(name, mode)
      14:21:19 [INFO]      [exec] WindowsError: [Error 206] The filename or extension is too long: 'c:\\users\\jenkins\\appdata\\local\\temp\\pip-lxt_7q-uninstall\\jenkins\\0ebd1d51\\workspace\\drive_ft-drive_master-cuacr5uoiao62w7k2caaq7uiss5uul3sf5v2psvouzc4crbqlria\\deploy-dir\\drive-2.7.14-python\\lib\\site-packages\\cryptodome\\selftest\\cipher\\test_vectors\\aes'
      

        Attachments

          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 - 4 hours
                4h