Hey,
Yes, I can create new folders. And if I do it in a new folder (e.g. C:\temp\tee), it still does not work.
[13:13:34 INF] Downloading source code of Volo.Abp.LeptonXTheme (v3.3.4)
[13:13:34 INF] Output folder: ...
[13:13:35 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName,
string targetFolder, string version, bool includeNightly) in
D:\ci\Jenkins\workspace\abp-studio-release\abp-studio\src\Volo.Abp.Studio.Domain\Volo\Abp\Studio\Modules\Installing
\SourceCodeDownloader.cs:55
at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in
D:\ci\Jenkins\workspace\abp-studio-release\abp-studio\src\Volo.Abp.Studio.Cli.Core\Commands
StudioGetSourceCommand.cs:66
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) in
D:\ci\Jenkins\workspace\abp-studio-release\abp-studio\src\Volo.Abp.Studio.Cli.Core\StudioCliService.cs:325
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args) in
D:\ci\Jenkins\workspace\abp-studio-release\abp-studio\src\Volo.Abp.Studio.Cli.Core\StudioCliService.cs:104
See f.e. https://abp.io/support/questions/8331/Exception-of-type-%27VoloAbpStudioAbpStudioException%27-was-thrown-for-LeptonX-theme
If I run;
abp get-source Volo.Abp.LeptonXTheme --version 3.3.4
I still get this error:
Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
What can I do?
For an upgrade comparison, I need versions 8.3.4 and 8.1.0.
My mail address is: merijngeurts@frontis.nl
Suggestion: Maybe it helps if the message of AbpStudioException gets printed or logged, in the future?
Thanks in advance,
already tried that. and also: .NET 8 gives the same error.
>dotnet --version
9.0.100
yes, I am logged in. I also tried to logout and login, to be sure.
already tried that. I also tried to clear the nuget cache, no effect.
dotnet tool install -g Volo.Abp.Studio.Cli You can invoke the tool using the following command: abp Tool 'volo.abp.studio.cli' (version '0.9.11') was successfully installed. x>abp get-source Volo.Abp.LeptonXThemeabp get-source Volo.Abp.LeptonXTheme [12:24:28 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [12:24:28 WRN] Volo.Abp.Studio.Extensions.StandardSolutionTemplates extension not found in the NuGet cache. Directory: x [12:24:28 INF] Volo.Abp.Studio.Extensions.StandardSolutionTemplates (v: 0.9.11) extension trying install from the NuGet
🕖 Checking extensions... 🧩 Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplatesolutionTemplates (v: 0.9.11) package downlo🚲 The CLI is restarting to apply the changes with arguments: get-source Volo.Abp.LeptonXTheme
x>[12:24:52 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [12:24:52 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest) [12:24:52 INF] Output folder: x [12:24:54 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
ABP Framework version: 8.3.4
UI Type: MVC
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): no
Exception message and full stack trace: [10:21:46 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [10:21:46 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest) [10:21:46 INF] Output folder: x [10:21:47 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
Steps to reproduce the issue:
Other info:
Reproduction Steps
dotnet tool update -g Volo.Abp.Cli)abp update -v 7.4.0)Expected behavior
The package should update without any failures
Actual behavior
An error, see screenshot above. Below text-based.
1. HTTP request attempt failed to https://nuget.abp.io/xxx/v3/package/Volo.Abp.AspNetCore.Mvc/index.json with an error: 404-Not Found. Waiting 2 secs for the next try...
Value cannot be null. (Parameter 'source')
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.SpecifiedVersionExists(String version, String packageId) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 148
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateVoloPackagesAsync(String content, Boolean includeNightlyPreviews, Boolean includeReleaseCandidates, Boolean switchToStable, SemanticVersion latestNugetVersion, SemanticVersion latestNugetReleaseCandidateVersion, String latestMyGetVersion, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 297
Known Workarounds
Update Volo.Abp.AspNetCore.Mvc manually