Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing packages #889

Open
Mayble86 opened this issue Sep 16, 2024 · 1 comment
Open

Problem installing packages #889

Mayble86 opened this issue Sep 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Mayble86
Copy link

Package

Any

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

3060ti

What happened?

When trying to install any package, this error occurs, what should I do, please tell me?

1

/----------------------------------------------------------------------------------------------------------/

Also, when trying again, this error occurs

image

Console output

Unpacking resources
Unpacking resources
Download complete!
Python download complete
Download complete!
Tkinter download complete
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Done extracting
Tkinter install complete
Error: System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 600 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StabilityMatrix.Core.Services.DownloadService.DownloadToFileAsync(String downloadUrl, String downloadPath, IProgress1 progress, String httpClientName, CancellationToken cancellationToken)
at StabilityMatrix.Core.Services.DownloadService.DownloadToFileAsync(String downloadUrl, String downloadPath, IProgress1 progress, String httpClientName, CancellationToken cancellationToken) at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.InstallGitIfNecessary(IProgress1 progress)
at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.InstallPackageRequirements(List1 prerequisites, IProgress1 progress)
at StabilityMatrix.Core.Models.PackageModification.SetupPrerequisitesStep.ExecuteAsync(IProgress1 progress) at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IReadOnlyList1 steps)

/-------------------------------------------------------------------------------------------------------------------------------------/

Unpacking resources
Unpacking resources
Could not install Fooocus (StabilityMatrix.Core.Exceptions.ProcessException: Process D:\Ai\Assets\7za.exe exited with code 2. {StdOut =
7-Zip (a) 18.01 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-01-28
ERROR: D:\Ai\PortableGit.7z.exe
Can not open the file as archive

Scanning the drive for archives:
0M Scan D:\Ai\

1 file, 0 bytes

Extracting archive: D:\Ai\PortableGit.7z.exe
0%

Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0
, StdErr = }
at StabilityMatrix.Core.Exceptions.ProcessException.ThrowIfNonZeroExitCode(Process process, StringBuilder outputBuilder)
at StabilityMatrix.Core.Helper.ArchiveHelper.Extract7Z(String archivePath, String extractDirectory, IProgress1 progress) at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.UnzipGit(IProgress1 progress)
at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.InstallGitIfNecessary(IProgress1 progress) at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.InstallPackageRequirements(List1 prerequisites, IProgress1 progress) at StabilityMatrix.Core.Models.PackageModification.SetupPrerequisitesStep.ExecuteAsync(IProgress1 progress)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IReadOnlyList`1 steps))

Version

2.11.8

What Operating System are you using?

Windows

@Mayble86 Mayble86 added the bug Something isn't working label Sep 16, 2024
@Mayble86
Copy link
Author

It was firewall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant