• Hi,
    I have activated the Winget function.
    But when I run the winget update import, I get the following error:

    2024-01-29 13:50:03,771 [Worker #12] INFO  Toems_Service.Workflows.WinGetManifestImporter Starting Winget Manifest Import Process
    2024-01-29 13:50:03,817 [Worker #12] INFO  Toems_Service.Workflows.WinGetManifestImporter Downloading Updated Manifests
    2024-01-29 13:50:43,645 [Worker #12] INFO  Toems_Service.Workflows.WinGetManifestImporter Extracting Manifests
    2024-01-29 14:20:05,835 [Worker #11] INFO  Toems_Service.Workflows.WinGetManifestImporter Starting Winget Manifest Import Process
    2024-01-29 14:20:05,851 [Worker #11] INFO  Toems_Service.Workflows.WinGetManifestImporter Downloading Updated Manifests
    2024-01-29 14:20:07,397 [Worker #11] INFO  Toems_Service.Workflows.WinGetManifestImporter Could not download manifests
    2024-01-29 14:20:07,770 [Worker #11] ERROR Toems_Service.Workflows.WinGetManifestImporter System.Net.WebException: Une exception s'est produite lors d'une requ.te WebClient. ---> System.IO.IOException: Le processus ne peut pas acc.der au fichier 'C:\Program Files\Theopenem\Toems-API\private\winget_manifests\master.zip', car il est en cours d'utilisation par un autre processus.
       . System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       . System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       . System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
       . System.Net.WebClient.DownloadFile(Uri address, String fileName)
       --- Fin de la trace de la pile d'exception interne ---
       . System.Net.WebClient.DownloadFile(Uri address, String fileName)
       . Toems_Service.Workflows.WinGetManifestImporter.DownloadManifests()
    
    

    No import completed successfully.
    Thanks for your help


  • Seems like the previous import was still running and couldn't download the file as it was still being unzipped, that is a long time though. Does that path have any data in it?


  • @theopenem_admin
    Yes, there is data.
    But I think my VM is slow to extract files.

     Répertoire de C:\Program Files\Theopenem\Toems-API\private\winget_manifests\winget-pkgs-master\manifests
    
    29/01/2024  14:54    <DIR>          .
    29/01/2024  14:54    <DIR>          ..
    29/01/2024  13:51    <DIR>          0
    29/01/2024  13:51    <DIR>          1
    29/01/2024  13:51    <DIR>          2
    29/01/2024  13:52    <DIR>          3
    29/01/2024  13:52    <DIR>          4
    29/01/2024  13:52    <DIR>          5
    29/01/2024  13:52    <DIR>          6
    29/01/2024  13:52    <DIR>          7
    29/01/2024  13:52    <DIR>          8
    29/01/2024  13:59    <DIR>          a
    29/01/2024  14:07    <DIR>          b
    29/01/2024  14:13    <DIR>          c
    29/01/2024  14:13    <DIR>          d
    29/01/2024  14:18    <DIR>          e
    29/01/2024  14:21    <DIR>          f
    29/01/2024  14:23    <DIR>          g
    29/01/2024  14:27    <DIR>          h
    29/01/2024  14:29    <DIR>          i
    29/01/2024  14:31    <DIR>          j
    29/01/2024  14:37    <DIR>          k
    29/01/2024  14:39    <DIR>          l
    29/01/2024  14:42    <DIR>          m
    29/01/2024  14:54    <DIR>          n
                   0 fichier(s)                0 octets
    

    The extraction is still not finished.


  • Yea there is a ton of files, if your computer isn't good with random reads /writes I can see how this could take a while. After the import is done, the data gets deleted. Takes about 10 minutes for me on nvme.


  • @theopenem_admin Yes, my VM is on hard disks.
    For the moment, extraction is at letter R.
    Once the extraction is complete, is it possible to launch the import manually?


  • No it should happen automatically.


  • @theopenem_admin Too bad I'll have to change my machine.
    This is the machine where I installed the very first version of TheOpenEM 1.1.
    Now I have to figure out how to migrate from one machine to another.
    Thanks again for your answers.


  • I'll see if I can make a guide for this since others have also asked.


  • @theopenem_admin Thanks, that would be great.