lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] mjebrahimi opened a new issue #470: lucene-cli exception on starting
Date Sat, 17 Apr 2021 17:33:55 GMT

mjebrahimi opened a new issue #470:

   I installed the cli using the following command.
   > dotnet tool install --global lucene-cli --version 4.8.0-beta00014
   I received the following exception while starting the cli using `lucene` command.
   Unhandled exception. System.IO.FileNotFoundException: The configuration file 'appsettings.json'
was not found and is not optional. The physical path is 'C:\Users\Ebrahimi\.dotnet\tools\.store\lucene-cli\4.8.0-beta00014\lucene-cli\4.8.0-beta00014\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
   I solved the problem by manually downloading the
file and putting it in the path `C:\Users\Ebrahimi\.dotnet\tools\.store\lucene-cli\4.8.0-beta00014\lucene-cli\4.8.0-beta00014\tools\netcoreapp3.1\any\`.
   But basically this error should not have happened.

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