Azure / iot-plugandplay-models-tools

Tools to manage the device-models repo
MIT License
13 stars 18 forks source link

dmr-client feedback #95

Closed rido-min closed 3 years ago

rido-min commented 3 years ago

Running dmr-client 0.011, with ResolverClient 0.0.9

dmr-client [0.0.12/Parser 2.13.15] on netcoreapp 3.1.7/Ubuntu 20.04.1 LTS
   Microsoft IoT Plug and Play Device Model Repository CLI

Executing: show --dtmi dtmi:a:b
  Attempting to retrieve model content from 'https://aka.ms/dmrfaq/dtmi/meshsystems/txs/sensorsync-1.json'.
Unhandled exception: System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 3 | 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.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack)
Using repository location: ./ba
Unhandled exception: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at Azure.DigitalTwins.Resolver.ResolverClient.FromRemoteRepository(String repositoryUri, ILogger logger, ResolutionSettings settings) in /home/rido/code/iot-plugandplay-models-tools/resolvers/dotnet/Azure.DigitalTwins.Resolver/ResolverClient.cs:line 15
   at Azure.DigitalTwins.Resolver.CLI.Program.InitializeClient(String repository, ILogger logger) in /home/rido/code/iot-plugandplay-models-tools/resolvers/dotnet/Azure.DigitalTwins.Resolver.CLI/Program.cs:line 63
   at Azure.DigitalTwins.Resolver.CLI.Program.<>c.<<BuildResolveCommand>b__7_0>d.MoveNext() in /home/rido/code/iot-plugandplay-models-tools/resolvers/dotnet/Azure.DigitalTwins.Resolver.CLI/Program.cs:line 141