Open Closed

Lepton-X theme source availability for Commercial Business tier subscribers #3455


User avatar
0
cdrudge created

ABP Framework version: 5.3.2
UI type: MVC
DB provider: EF Core
Tiered (MVC): yes
Exception message and stack trace:

PS D:\source\repos\temp> abp get-source Volo.Abp.LeptonXTheme
[14:07:48 INF] ABP CLI (https://abp.io)
[14:07:49 INF] Version 5.3.2 (Stable)
[14:07:49 INF] Output folder: D:\source\repos\temp
[14:07:49 INF] Downloading source code of Volo.Abp.LeptonXTheme
[14:07:49 INF] Version: Latest
[14:07:49 INF] Output folder: D:\source\repos\temp
[14:07:50 INF] Downloading module: Volo.Abp.LeptonXTheme, version: 5.3.2
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: Wed, 20 Jul 2022 18:07:51 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Cache-Control: no-cache,no-store
  Pragma: no-cache
  ...[rest of headers snipped]...
}
'<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0.
[14:07:51 ERR] '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0.
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 1 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at Volo.Abp.Json.SystemTextJson.AbpSystemTextJsonSerializerProvider.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Json\Volo\Abp\Json\SystemTextJson\AbpSystemTextJsonSerializerProvider.cs:line 35
   at Volo.Abp.Json.AbpHybridJsonSerializer.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Json\Volo\Abp\Json\AbpHybridJsonSerializer.cs:line 37
   at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.GetAbpRemoteServiceErrorAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 52
   at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 38
   at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 251
   at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 119
   at Volo.Abp.Cli.ProjectBuilding.ModuleProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\ModuleProjectBuilder.cs:line 48
   at Volo.Abp.Cli.Commands.Services.SourceCodeDownloadService.DownloadModuleAsync(String moduleName, String outputFolder, String version, String gitHubAbpLocalRepositoryPath, String gitHubVoloLocalRepositoryPath, AbpCommandLineOptions options) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\Services\SourceCodeDownloadService.cs:line 40
   at Volo.Abp.Cli.Commands.GetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\GetSourceCommand.cs:line 64
   at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 161
   at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 69

Steps to reproduce the issue:
From a command line run any of the following individually:
abp get-source Volo.Abp.LeptonXTheme - Error as shown above. I did notice it appears to be trying to download the wrong version: "Downloading module: Volo.Abp.LeptonXTheme, version: 5.3.2"
abp get-source Volo.Abp.LeptonXTheme --preview - Error same as above.
abp get-source Volo.Abp.LeptonXTheme --version 1.0.0-beta.3 - Received "There is no version found with given version: 1.0.0-beta.3"
abp get-source Volo.Abp.LeptonXTheme --version 1.0.0-beta.3 --preview`` - Received "There is no version found with given version: 1.0.0-beta.3"
Same response for any other possible beta version 1.0.0-beta, 1.0.0-beta.1, and 1.0.0-beta.2...

Question:
Is the source for Lepton-X for Commercial Business tier subscribers actually available?
If so, what am I doing wrong not being able to download it? Every other module I've tried appears to work.
If it's not available yet, when will it be? Seems like that would go along with being a beta soon-to-be RC release.


3 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello,

    We will not allow downloading Lepton-X for now, but we are trying to find a good solution that will not upset our customers, we will announce the necessary information when we allow downloading.

  • User Avatar
    0
    cdrudge created

    Awesome to hear!

    So you charge a substantial premium for access to "Source code of all modules" and "Source code of all themes", but don't actually enable access to the module or theme.

    Then you claim Lepton-X is "open source" multiple times and places but it's neither open nor has available source.

    And then state "LeptonX theme is implemented and ready to use with ABP Commercial" when it's still buggy, incomplete, has next to do real documentation, and no easy way to customize it to fix broken styling without ugly CSS hacks. But allegedly it's to be the default theme for the v6.0 release sometime in the remaining 9 days this month.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Yes, that's right, LeptonX will be the default theme with version 6.0.0.rc-1. However, I would like to remind you that LeptonX is currently released with an rc version, and the new version to be released is the rc version. So there will be bugs but the purpose of these versions is to make them ready for a stable version.

    If you want, you can stay in the stable version and use the Lepton theme and download the source code. For now, you can't do this with LeptonX, but as I said before, we are trying to find a suitable solution that will not upset our customers.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11