Hello,

Firstly, I'm new to NLPCraft so please accept my apologies if these are newbie 
questions or if these issues are well known. I went through what I could in the 
email archives and Jira and may have missed this.

OS: Ubuntu 20.04
NLPCraft Version: 0.7.5

Issue 1: I've noticed that the maven clean package​ seems to fail to create the 
${USER_HOME}/.nlpcraft​ folder. I'm using maven 3.8.1. This causes the 
start-server.sh​ to fail with the following message:

Error:
X Server failed to start: Cannot run program     
"/home/{USER}/Software/jdk-11.0.11/bin/java" (in directory 
"/home/{USER}/Code/ws2/incubator-nlpcraft/bin"): 
/home/{USER}/.nlpcraft/server_log_1621690088466.txt (No such file or directory)

My fix: I've written a fix for this that works for me at my github 
fork<https://github.com/rahul3/incubator-nlpcraft/blob/fixes/build/v1/bin/nlpcraft.sh>.
 If someone has the time, please let me know if I'm missing something that the 
application is dependent on, and if I should submit a pull request (and/or open 
a jira ticket).

----------------------------------------------------------------------------------

Issue 2: In the "Docs & Tutorials" > "Getting Started" part of the website, you 
have the following command to run in the Data Probe & Rest Server section

$ bin/nlpcraft.sh start-probe 
--cp=./build/nlpcraft-examples/weather/nlpcraft-example-weather-0.7.5.jar

This fails because the pom.xml​ file in the nlpcraft-examples​ folder has 
version 0.8.0​ from the latest commit. The error I got is:

`[ERROR] Failed to execute goal on project nlpcraft-example-weather: Could not 
resolve dependencies for project 
org.apache.nlpcraft:nlpcraft-example-weather:jar:0.8.0: 
org.apache.nlpcraft:nlpcraft:jar:0.8.0 was not found in 
https://repo.maven.apache.org/maven2 during a previous attempt. This failure 
was cached in the local repository and resolution is not reattempted until the 
update interval of central has elapsed or updates are forced -> [Help 1]`

This worked when I replaced it with the older pom version 0.7.5  and changed 
the file to point to.

Please let me know how to proceed.

Thanks,
Rahul Padmanabhan




Reply via email to