Open Closed

Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown for LeptonX theme #8331


User avatar
0
Frontis created
  • 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:

  • Install ABP studio (any version)
    • dotnet tool install -g Volo.Abp.Studio.Cli
  • log in
  • abp get-source Volo.Abp.LeptonXTheme

Other info:

  • abp get-source Volo.Abp.LeptonTheme (Lepton theme, not LeptonX) is working
  • I had versions 0.9.9 and 0.9.10, maybe this is causing an issue?
  • Maybe related: https://abp.io/support/questions/8326/Trying-to-download-LeptonXTheme
  • I run ABP studio on Windows

10 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello , I have follow your steps to reproudce the issue but at my end its work perfectly. So my abp studio version is 0.9.11 after that i have execute this command abp get-source Volo.Abp.LeptonXTheme and its work perfectly.

    So can you please try to update your abp studio version.

    Thank you.

  • User Avatar
    0
    Frontis created

    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)

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi

    Have you logged in to the CLI?

    abp login-info

    Check this https://abp.io/docs/latest/ui-themes/lepton-x#leptonx-theme-module

    Thank you

  • User Avatar
    0
    Frontis created

    yes, I am logged in. I also tried to logout and login, to be sure.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you can try install dotnet 9 SDK and try again.

  • User Avatar
    0
    Frontis created

    already tried that. and also: .NET 8 gives the same error.

    >dotnet --version
    9.0.100
    
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I could not reproduce the problem. It could be a problem with your network.

    you should check your network, If you need the leptonx theme source code now, I can send it to you via email.

  • User Avatar
    0
    Frontis created

    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,

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Suggestion: Maybe it helps if the message of AbpStudioException gets printed or logged, in the future?

    yes, we will improve the error message.

    Email sent

  • User Avatar
    0
    ahmednfwela@bdaya-dev.com created

    It's because -confusingly- Volo.Abp.LeptonXTheme is versioned differently than other abp packages

    • for abp 8.x.x it matches Volo.Abp.LeptonXTheme 3.x.x
    • for abp 9.x.x it matches Volo.Abp.LeptonXTheme 4.x.x

    so the correct command is:

    abp get-source Volo.Abp.LeptonXTheme --version 3.3.4
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09