Return-Path: X-Original-To: apmail-ctakes-user-archive@www.apache.org Delivered-To: apmail-ctakes-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 443151761C for ; Fri, 24 Oct 2014 20:57:20 +0000 (UTC) Received: (qmail 76045 invoked by uid 500); 24 Oct 2014 20:57:19 -0000 Delivered-To: apmail-ctakes-user-archive@ctakes.apache.org Received: (qmail 76010 invoked by uid 500); 24 Oct 2014 20:57:19 -0000 Mailing-List: contact user-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ctakes.apache.org Delivered-To: mailing list user@ctakes.apache.org Received: (qmail 75290 invoked by uid 99); 24 Oct 2014 20:57:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 20:57:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim.oconnell@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 20:57:13 +0000 Received: by mail-ob0-f172.google.com with SMTP id vb8so961144obc.17 for ; Fri, 24 Oct 2014 13:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hKL0dDCfPJJL4PX93R//hno4pAXSSCwLr82H+dfP8xU=; b=Os/PpCCTknfE7o9AmrRGmfidn0Pxm5RBUqmgKnxlnCmSuxIET2Ch3/EBkKouT9X9vx YqBKhYGACabhJacxwVKdehcLn50IWjpQ6PqntKYiP4ivL2yDmHBxWodpJnjEFY5wtTTY 9foV/j0IGa81bmwZ8HDn2WjvQNHH6Zh2ENsPgc/blHWztB8CjfSwH5KFHcvNyeP0mlLn EstTdMcqPjG4bLE1juO3h0ONuleN7ihrCeSBrnL6BD7Ur+2nuTpeJg4TRGzQ9UstSrHp 3HTKwNGIqrqXILcH4Zf28W7i4JWox7lIEQjRYqyPUGagRf1k7uHCNyI2X7EMFP3o1Eb5 E1RA== MIME-Version: 1.0 X-Received: by 10.182.68.107 with SMTP id v11mr5727981obt.32.1414184212586; Fri, 24 Oct 2014 13:56:52 -0700 (PDT) Received: by 10.60.10.101 with HTTP; Fri, 24 Oct 2014 13:56:52 -0700 (PDT) In-Reply-To: References: <924DE05C19409B438EB81DE683A942D9109D1CC3@CHEXMBX1A.CHBOSTON.ORG> <924DE05C19409B438EB81DE683A942D9109D1CE0@CHEXMBX1A.CHBOSTON.ORG> Date: Fri, 24 Oct 2014 13:56:52 -0700 Message-ID: Subject: Re: NPE with ytex in ctakes 3.2.0 From: "Tim O'Connell" To: user@ctakes.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f882a365f90506316bff X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f882a365f90506316bff Content-Type: text/plain; charset=UTF-8 If it helps any, I just did a fresh install of YTex using the new install instructions and ytex patch (thanks, Vijay!) although I built it from the 3.2.1 version on subversion, not from the 3.2.0 tarball, and it's working fine. If you have svn and maven installed, you could try: - svn co https://svn.apache.org/repos/asf/ctakes/trunk - cd ctakes - mvn clean install -DskipTests to build it. the .zip and .tar.gz files will then be in /ctakes/trunk/ctakes-distribution/target Cheers, Tim On Fri, Oct 24, 2014 at 1:48 PM, Michelle Chen wrote: > Hello, > > I'm also trying to get YTex to work and run into the same problem whe > runnign the build-setup.xml file. I get the DBping error of "[java] Error: > Could not find or load main class org.apache.ctakes.ytext.tools.DBPing" > > I have created a database called YTex, but was unsure if I set it up > correctly. > > @David, Did you find a fix for this? > > Thanks. > > ------- > Michelle Chen > > Massachusetts Institute of Technology > Electrical Engineering and Computer Science > B.S. '14, M.Eng. '15 > > > On Tue, Oct 14, 2014 at 10:27 AM, David Kincaid > wrote: > >> Ok. I just noticed that the typo is in that parameter. Instead of >> CTAKES_HOME it should be $CTAKES_HOME. I get a little farther with that >> (although still have to use my installed version of ant), but now get a >> failure in the dbping: that it can't connect to a database. I don't have a >> database running, so I assume that is to be expected. I was hoping I could >> play with it without a database, but maybe that's not possible. I >> appreciate the help. If you update that ant command line in the wiki page >> to have $CTAKES_HOME instead of CTAKES_HOME it should work. >> >> - Dave >> > > --e89a8fb1f882a365f90506316bff Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If it helps any, I just did a fresh install of YTex using = the new install instructions and ytex patch (thanks, Vijay!) although I bui= lt it from the 3.2.1 version on subversion, not from the 3.2.0 tarball, and= it's working fine.=C2=A0

If you= have svn and maven installed, you could try:=C2=A0
  • svn co https://svn.apache.org/repos/asf/ctakes/trun= k

  • cd ctakes

  • <= p dir=3D"ltr" style=3D"line-height:1.15;margin-top:0pt;margin-bottom:0pt"><= span style=3D"background-color:transparent;vertical-align:baseline;white-sp= ace:pre-wrap">mvn clean install -DskipTests


<= font face=3D"arial, helvetica, sans-serif">to build it. =C2=A0the .zip and = .tar.gz files will then be in=C2=A0 <build_root>/ctakes/trunk= /ctakes-distribution/target

Cheers,
= Tim

On Fri, Oct 24, 2014 at 1:48 PM, Michelle Chen <mwchen@mit.edu> wrote:
Hello,

I'm also trying to get YTex to work and run into= the same problem whe runnign the build-setup.xml file. I get the DBping er= ror of "[java] Error: Could not find or load main class org.apache.cta= kes.ytext.tools.DBPing"=C2=A0

I have created = a database called YTex, but was unsure if I set it up correctly.=C2=A0

@David, Did you find a fix for this?=C2=A0
<= br>
Thanks.

-------
Michelle Chen
Massachusetts Institute of Techn= ology
Electrical Engineering and Computer Science
B.S. '14, M.Eng. '15

<= /div>
On Tue, Oct 14, 2014 at 10:27 AM, David Kinc= aid <kincaid.dave@gmail.com> wrote:
Ok. I just noticed that the typo is in tha= t parameter. Instead of CTAKES_HOME it should be $CTAKES_HOME. I get a litt= le farther with that (although still have to use my installed version of an= t), but now get a failure in the dbping: that it can't connect to a dat= abase. I don't have a database running, so I assume that is to be expec= ted. I was hoping I could play with it without a database, but maybe that&#= 39;s not possible. I appreciate the help. If you update that ant command li= ne in the wiki page to have $CTAKES_HOME instead of CTAKES_HOME it should w= ork.

- Dave


--e89a8fb1f882a365f90506316bff--