Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A7D210BC9 for ; Thu, 12 Dec 2013 17:53:36 +0000 (UTC) Received: (qmail 67174 invoked by uid 500); 12 Dec 2013 17:53:35 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 67143 invoked by uid 500); 12 Dec 2013 17:53:35 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 67135 invoked by uid 99); 12 Dec 2013 17:53:35 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 17:53:35 +0000 Received: from localhost (HELO mail-ie0-f174.google.com) (127.0.0.1) (smtp-auth username chenpei, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 17:53:35 +0000 Received: by mail-ie0-f174.google.com with SMTP id at1so1113516iec.5 for ; Thu, 12 Dec 2013 09:53:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=a8ZybKL3rtIYZgeZ+AvMzRZcVkN1Tv9l6ZA+e4vTHH0=; b=huQGBK55vLj45DchMQpWZIfeSF5SeyDVf3tnpKw8FIO1TxvwrO40TPVf/ULoG6cK1v RleTFBCn1bsAj/XcIxA4vzJLA9Xv9Ld/+C2hrKyOFqlqOywGfoGJvV+rY5u383TLM4is wzsxDU/dG7ce55xB6Mjcvg4X8jBnvz6tyhBZjf5tpAaFbiU4bpJqd/8PPC9NpPotP5xl cHrwsviGLday8eGqb77iK0bXxfHWbt3B+GUlqkuqn+26w1KFucD1npbgfxqF+DssoD85 BgfKCJQ3Cp6OoCGcZS18kvtsbYE60rSfUaW+LGmVEcmInNhxpfeN148Umqj7Nmmww+C8 vc4g== MIME-Version: 1.0 X-Received: by 10.42.196.201 with SMTP id eh9mr7538256icb.39.1386870814599; Thu, 12 Dec 2013 09:53:34 -0800 (PST) Received: by 10.50.103.100 with HTTP; Thu, 12 Dec 2013 09:53:34 -0800 (PST) In-Reply-To: <996FC801C05DF64A84246A106FACACD0212A09@MSGPEXCHA08A.mfad.mfroot.org> References: <924DE05C19409B438EB81DE683A942D9106103EE@CHEXMBX1A.CHBOSTON.ORG> <369219E7204FD34CA27889B1C654961C26EC9392@chcspmbx2.ads.northwestern.edu> <924DE05C19409B438EB81DE683A942D910610951@CHEXMBX1A.CHBOSTON.ORG> <529F4595.5090401@childrens.harvard.edu> <996FC801C05DF64A84246A106FACACD020F489@MSGPEXCHA08A.mfad.mfroot.org> <996FC801C05DF64A84246A106FACACD020F4CC@MSGPEXCHA08A.mfad.mfroot.org> <393252F14C42F946952F1ED75D316CAD386423A9@CHEXMBX2A.CHBOSTON.ORG> <996FC801C05DF64A84246A106FACACD02105F3@MSGPEXCHA08A.mfad.mfroot.org> <52A222E9.1060802@childrens.harvard.edu> <393252F14C42F946952F1ED75D316CAD38642441@CHEXMBX2A.CHBOSTON.ORG> <996FC801C05DF64A84246A106FACACD0210660@MSGPEXCHA08A.mfad.mfroot.org> <3AF0DC17-7875-4204-88A3-B4569D2019C6@apache.org> <996FC801C05DF64A84246A106FACACD02106A6@MSGPEXCHA08A.mfad.mfroot.org> <393252F14C42F946952F1ED75D316CAD3864247A@CHEXMBX2A.CHBOSTON.ORG> <996FC801C05DF64A84246A106FACACD021293E@MSGPEXCHA08A.mfad.mfroot.org> <369219E7204FD34CA27889B1C654961C26ECF8AA@chcspmbx2.ads.northwestern.edu> <996FC801C05DF64A84246A106FACACD021297C@MSGPEXCHA08A.mfad.mfroot.org> <996FC801C05DF64A84246A106FACACD0212A09@MSGPEXCHA08A.mfad.mfroot.org> Date: Thu, 12 Dec 2013 12:53:34 -0500 Message-ID: Subject: Re: cTAKES Groovy... From: Pei Chen To: "dev@ctakes.apache.org" Content-Type: multipart/alternative; boundary=90e6ba5bc98b40f1f104ed5a067a --90e6ba5bc98b40f1f104ed5a067a Content-Type: text/plain; charset=ISO-8859-1 I wonder if it was just a temp network issue/isolated mirror issue- Have you forced tried another repo/mirror such as http://uk.maven.org/maven2? Just to reduce the possible causes... --Pei On Thu, Dec 12, 2013 at 12:47 PM, Masanz, James J. wrote: > Thanks Richard for the pointer to that page. I'm sure I will use it in > future. > > I flushed cache - did not help. I finally just copied over > .groovy/grapes/edu.mit.findstruct from another system and I am up and > running. > Will try again in a few days or weeks when I try another clean install > test. > > -----Original Message----- > From: dev-return-2307-Masanz.James=mayo.edu@ctakes.apache.org [mailto: > dev-return-2307-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of > Richard Eckart de Castilho > Sent: Thursday, December 12, 2013 11:27 AM > To: dev@ctakes.apache.org > Subject: Re: cTAKES Groovy... > > I believe that Grape (like Maven) caches failures. It might be necessary to > delete any cached info on that artifact from your local grape repository > before you try again. Btw. there you might (or might not) be able to find > additional information on why the download failed. > > Check out the trouble-shooting section in the DKPro Core Groovy recipe > page: > > > http://code.google.com/p/dkpro-core-asl/wiki/DKProGroovyCookbook#Trouble_shooting > > on cache flushing and on enabling verbose information on Grape downloads. > > -- Richard > > On 12.12.2013, at 15:22, "Masanz, James J." wrote: > > > Shouldn't be firewall - other grapes download fine. > > > > I created a short groovy script to just grab findstructapi - I > copy/pasted the @grab line from from the Groovy Grape section of > > > http://search.maven.org/#artifactdetails%7Cedu.mit.findstruct%7Cfindstructapi%7C0.0.1%7Cjar > > > > And I still get > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > failed: > > General error during conversion: Error grabbing Grapes -- [download > failed: edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar] > > > > java.lang.RuntimeException: Error grabbing Grapes -- [download failed: > edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar] > > > > Very odd. > > > > My script is simply: > > > > #!/usr/bin/env groovy > > @Grab(group='edu.mit.findstruct', module='findstructapi', > version='0.0.1') > > import java.io.File; > > > > if(args.length < 1) { > > System.out.println("Please specify input > directory"); > > System.exit(1); > > } > > System.out.println("Input parm is: " + args[0]); > > System.exit(0); > > > > > > -----Original Message----- > > From: dev-return-2305-Masanz.James=mayo.edu@ctakes.apache.org [mailto: > dev-return-2305-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of > William Karl Thompson > > Sent: Thursday, December 12, 2013 11:06 AM > > To: dev@ctakes.apache.org > > Subject: RE: cTAKES Groovy... > > > > Seems unlikely to be the source of your problem, but could it be a > firewall issue? > > > > -----Original Message----- > > From: Richard Eckart de Castilho [mailto:rec@apache.org] > > Sent: Thursday, December 12, 2013 11:04 AM > > To: dev@ctakes.apache.org > > Subject: Re: cTAKES Groovy... > > > > Might be a temporary network problem. The artifact is on Maven Central: > > > > > http://search.maven.org/#artifactdetails%7Cedu.mit.findstruct%7Cfindstructapi%7C0.0.1%7Cjar > > > > -- Richard > > > > On 12.12.2013, at 15:01, "Masanz, James J." > wrote: > > > >> The story continues: > >> > >> The @GrabResolver line from Richard did the trick for jwnl. > >> > >> But I cleared my .groovy/grapes and .m2/repository and tried running > parser.groovy and get the following: > >> > >> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > failed: > >> General error during conversion: Error grabbing Grapes -- [download > >> failed: edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar] > >> > >> java.lang.RuntimeException: Error grabbing Grapes -- [download failed: > >> edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar] > >> > >> FYI. I will take a look but if anyone has any hints, don't be shy > >> > >> > >> -----Original Message----- > >> From: dev-return-2299-Masanz.James=mayo.edu@ctakes.apache.org > >> [mailto:dev-return-2299-Masanz.James=mayo.edu@ctakes.apache.org] On > >> Behalf Of Finan, Sean > >> Sent: Friday, December 06, 2013 2:38 PM > >> To: dev@ctakes.apache.org > >> Subject: RE: cTAKES Groovy... > >> > >> Good stuff - Thanks Richard > >> > >> -----Original Message----- > >> From: Masanz, James J. [mailto:Masanz.James@mayo.edu] > >> Sent: Friday, December 06, 2013 3:30 PM > >> To: 'dev@ctakes.apache.org' > >> Subject: RE: cTAKES Groovy... > >> > >> Thanks Richard! That did the trick > >> > >> I'll create a JIRA and update the script including adding a comment > that that @GrabResolver is only needed for pre-OpenNLP 1.5.3 and should be > removed when we upgrade to 1.5.3+. and I'll update CTAKES-191 "Update > Apache OpenNLP dependency to 1.5.3" with a reminder to update the script. > >> > >> Trunk of cTAKES still uses 1.5.2-incubating > >> > >> -----Original Message----- > >> From: dev-return-2297-Masanz.James=mayo.edu@ctakes.apache.org > >> [mailto:dev-return-2297-Masanz.James=mayo.edu@ctakes.apache.org] On > >> Behalf Of Richard Eckart de Castilho > >> Sent: Friday, December 06, 2013 2:12 PM > >> To: dev@ctakes.apache.org > >> Subject: Re: cTAKES Groovy... > >> > >> On 06.12.2013, at 18:01, "Masanz, James J." > wrote: > >> > >>> I have not solved my issues on my ubuntu server yet where "Error > >>> grabbing Grapes -- [unresolved dependency: jwnl#jwnl;1.3.3: not found]" > >> > >> This has also already been fixed in OpenNLP 1.5.3, so there must be > some dependency on OpenNLP 1.5.(1|2)-incubating. > >> > >> Anyway, you should be able to fix it by adding this to the beginning of > your Groovy script, in front of the Grapes: > >> > >> @GrabResolver(name='opennlp.sf.net', > >> root='http://opennlp.sourceforge.net/maven2') > >> > >> -- Richard > > --90e6ba5bc98b40f1f104ed5a067a--