Open Closed

Error found while dowload Lepton X Pro module code. #5158


User avatar
0
kapil created
  • ABP Framework version: v7.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. error getting while download the source code of module Lepton X Pro , other modules working fine.
  • Steps to reproduce the issue:"
  • Login in Abp Suite -> Modules -> Download Source Code for Lepton X Pro module.

11 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please try to clear the download cache and try again.

    %UserProfile%.abp\templates

    abp get-source Volo.LeptonTheme 
    
  • User Avatar
    0
    kapil created

    I am talking about Lepton X Pro module not LeptonTheme module.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please try this command

     abp get-source Volo.Abp.LeptonXTheme.Pro
    
    
  • User Avatar
    0
    kapil created

    Thank you for response. I have tried this - abp get-source Volo.Abp.LeptonXTheme.Pro, by default it downloads latest version . If I want to download specific version ex, 5.2.2 . provide command for that.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer
    
    Usage:
    
      abp get-source <module-name> [options]
    
    Options:
    
    -o|--output-folder <output-folder>          (default: current folder)
    -v|--version <version>                      (default: latest version)
    --preview                                   (Use latest pre-release version if there is at least one pre-release after latest stable version)
    
    Examples:
    
      abp get-source Volo.Blogging
      abp get-source Volo.Blogging -o d:\my-project
    
    
  • User Avatar
    0
    kapil created

    [15:33:48 INF] Downloading module: Volo.Abp.LeptonXTheme.Pro, version: 7.0.0 Error occured while downloading source-code from https://abp.io/api/download/module/ : StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Date: Tue, 30 May 2023 10:02:41 GMT Transfer-Encoding: chunked Connection: keep-alive Cache-Control: no-cache,no-store Pragma: no-cache Set-Cookie: .AspNetCore.Antiforgery.-6OvtTX3HwI=CfDJ8FwlyK6gBQtDks_tINvwLxPF8GwsKScsp_-Tx-4Rfdgxkhe_HSUElQCRhASDl17rR-QZpYYJ3GB2Ugf1Pgl3CZFfSQ0StfNMGvzjftR1T0iFzqJ952oKQ3eUx3UKeUGuN8KK3NSo_sCy5IHPZO3Jz7Y; path=/; samesite=strict; httponly Set-Cookie: XSRF-TOKEN=CfDJ8FwlyK6gBQtDks_tINvwLxOVpqk4x72YTjp52mbPlxRDvNT-6x6sgg8tdDi6ZXHRxCowIGvp0n_T_pQSbJ8Hh2k9Mj00ssj3EJqSHDtDom0qp7YjFZ_fD6qSOkzuTVAPYzT1oSEgbj73I7JlPwnQQm5SQWi4efxX2BhYyaLw5XbANTN1RYyAXDZryAOBeQF5GQ; expires=Fri, 27 May 2033 10:02:41 GMT; path=/; secure; samesite=none Vary: Accept-Encoding Strict-Transport-Security: max-age=15724800; includeSubDomains X-Frame-Options: SAMEORIGIN CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=Py3DrNij%2F%2B8VoTUqdwVO9fZmuHZ5HnntX4fGmK4Pd9kaxRUQiemeLJD%2BGUO2m2CNMXTz3h%2BLYH7PSal1I%2Fykf%2FwobtZMwVqWhvORi4MzOiJ70niQIEe7vA%3D%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 7cf62495be904da9-BOM Content-Type: text/html; charset=utf-8 Expires: -1 } '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0.

    It gives this error for downloading with version 7.0.0.


    Also I get Internal server error while generating new solution.

    [15:26:20 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

    [15:26:20 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Cli.ProjectBuilding.Templates.RemoveUnnecessaryPortsStep.RemoveUnnecessaryDbMigratorClients(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Templates\RemoveUnnecessaryPortsStep.cs:line 56 at Volo.Abp.Cli.ProjectBuilding.Templates.RemoveUnnecessaryPortsStep.Execute(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Templates\RemoveUnnecessaryPortsStep.cs:line 15 at Volo.Abp.Cli.ProjectBuilding.Building.ProjectBuildPipeline.Execute() in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\ProjectBuildPipeline.cs:line 19 at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 120 at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 73 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.CreateSolutionAsync(CreateSolutionModel input) at lambda_method1699(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It seems the LeptonXTheme latest version is 2.2.1

    abp get-source Volo.Abp.LeptonXTheme.Pro         
    ABP CLI 7.2.2
    Downloading source code of Volo.Abp.LeptonXTheme.Pro (vLatest)
    Using cached module: Volo.Abp.LeptonXTheme.Pro, version: 2.2.1
    Check out the documents at https://docs.abp.io/en/commercial/latest/themes/lepton-x/indexfolder'
    
  • User Avatar
    0
    kapil created

    And what about I am not able to generate new solutions from ABP suite and also not able to add existing solution which created by

    abp new Acme.BookStore -t app -u mvc --mobile none --database-provider ef -csf --with-public-website

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can try to log out and log in again. also install the latest CLI and Suite

    abp logout
    abp login
    
  • User Avatar
    0
    kapil created

    Can I generate old version applications with this cli or suite?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can try, if there is an error you can degrade your CLI and Suite to old version.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09