lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] Kuinox commented on issue #453: Code snippets on doesn't works.
Date Fri, 26 Mar 2021 13:27:27 GMT

Kuinox commented on issue #453:

   I tried to run the cli to see if the issue is not specific to my PC, but it look like the
CLI need configuration after install and the doc doesn't specify it:  
   PS C:\Users\Kuinox> lucene
   Unhandled exception. System.IO.FileNotFoundException: The configuration file 'appsettings.json'
was not found and is not optional. The physical path is 'C:\Users\Kuinox\.dotnet\tools\.store\lucene-cli\4.8.0-beta00013\lucene-cli\4.8.0-beta00013\tools\netcoreapp3.1\any\appsettings.json'.
      at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
      at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
      at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
      at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
      at Lucene.Net.Cli.Program.Main(String[] args) in D:\a\1\s\src\dotnet\tools\lucene-cli\Program.cs:line
   So I found out that, the demo is working, but I was catching every exception and never
let it run to completion ><.  

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message