Hello Sergey, I missed mentioning in my last email that I had raised a Jira ticket with most of the information that you had asked in your email. I added the JAVA_HOME path today.
JIRA: https://issues.apache.org/jira/browse/NLPCRAFT-327 Yes, I couldn't start the server with the instructions given in the "getting started" page. I fixed the issue by creating the .nlpcraft directory in my home path. "If you want to prepare PR - you can do it based on current master" Which branch do I submit the pull request to? The "release" branch does not exist, although it seems to be the branch to submit a pull request to, per the documentation<https://nlpcraft.apache.org/community.html>. Or do you mean that I submit the pull request directly to the master branch? Sorry if this is confusing. Thanks, Rahul Padmanabhan ________________________________ From: Kamov Sergey <[email protected]> Sent: Sunday, May 23, 2021 12:25 PM To: [email protected] <[email protected]> Subject: Re: Build Issues: (0.7.5) .nlpcraft folder and examples Hi Rahul! 1. The problem is that you can't start the server according to https://nlpcraft.apache.org/getting-started.html. >> $ bin/nlpcraft.sh start-server Is it right? I have tried to reproduce your problem, but couldn't. Could you provide - your java version (>> java -version) - java home (>> env | grep JAVA) - also attach log file (console output) 2. last release is 0.7.5, master is 0.8.0 (next release is already in progress) If you want to prepare PR - you can do it based on current master Regards, Sergey On 22.05.2021 23:18, Rahul Padmanabhan wrote: > Aaron - I assumed master was the 0.7.5 release. It looks like I was building > 0.8.0. I just manually replaced my username on linux with {USER}. It is just > a generic string/numeric username. Something like rahul3 > > Nikita - I had missed mentioning this but, if you follow the installation > instructions and try the examples, even on 0.7.5, the examples have not been > built yet. The examples here in Getting > Started<https://nlpcraft.apache.org/getting-started.html> assume the jar is > already built, which it is not. > > > I am trying to submit a pull request and the documentation on the community > section <https://nlpcraft.apache.org/community.html> of the website say that > there is a branch named release that exists. However, I don't see that exact > branch name present. Which branch do I submit the pull request to? > > Thanks, > Rahul Padmanabhan > > > ________________________________ > From: Aaron Radzinski <[email protected]> > Sent: Saturday, May 22, 2021 1:49 PM > To: [email protected] <[email protected]> > Subject: Re: Build Issues: (0.7.5) .nlpcraft folder and examples > > Rahul - what is "{USER}" in your paths? I just checked 0.7.5 on > Ubuntu 20.04 and can't replicate it. Please create the ticket and submit > the pull request so that we can take a look at it. > > Thanks! > -- > Aaron Radzinski > > > > On Sat, May 22, 2021 at 10:42 AM Nikita Ivanov <[email protected]> wrote: > >> Rahul, >> Thanks for your feedback. For the first issue - can you please file the >> ticket in [1] so that the community can look at it? As far as the second >> issue I believe you should not mix the official release (0.7.5) with the >> ongoing master that's already switched to the next version (0.8.0). >> >> 1.https://issues.apache.org/jira/projects/NLPCRAFT/issues >> >> Thank you! >> -- >> Nikita Ivanov >> On behalf of NLPCraft community >> >> >> >> >> On Sat, May 22, 2021 at 8:47 AM Rahul Padmanabhan < >> [email protected]> wrote: >> >>> 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 >>> >>> >>> >>> >>>
