Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D54E1200D1B for ; Thu, 12 Oct 2017 22:00:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3E87160BE4; Thu, 12 Oct 2017 20:00:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 25B5C1609E8 for ; Thu, 12 Oct 2017 22:00:04 +0200 (CEST) Received: (qmail 39678 invoked by uid 500); 12 Oct 2017 20:00:04 -0000 Mailing-List: contact notifications-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 notifications@ctakes.apache.org Received: (qmail 39669 invoked by uid 99); 12 Oct 2017 20:00:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2017 20:00:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8D3BF1A18DF for ; Thu, 12 Oct 2017 20:00:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IFIpLPZvOqyF for ; Thu, 12 Oct 2017 20:00:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 885F760CD3 for ; Thu, 12 Oct 2017 20:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B3212E0295 for ; Thu, 12 Oct 2017 20:00:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6CD232140A for ; Thu, 12 Oct 2017 20:00:00 +0000 (UTC) Date: Thu, 12 Oct 2017 20:00:00 +0000 (UTC) From: "Sirisha (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CTAKES-466) cTAKES does not write xmi file in the output directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 12 Oct 2017 20:00:06 -0000 [ https://issues.apache.org/jira/browse/CTAKES-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sirisha updated CTAKES-466: --------------------------- Attachment: RE_ [External] RE_ ctakes clinical default pipeline issue - CTAKES-466 [EXTERNAL] Hi Alex, Problem was with having "/" infront of "output" directory. After removing /, we were able to write .xmi files to the "output" folder. Thanks for your input. I have another question on how to get "Entity Recognition Codes" from CDA xml file, please let me know of any pointers to get additional details. Attaching the email I sent to Sean regarding the same. Thank you Sirisha > cTAKES does not write xmi file in the output directory > ------------------------------------------------------ > > Key: CTAKES-466 > URL: https://issues.apache.org/jira/browse/CTAKES-466 > Project: cTAKES > Issue Type: Bug > Components: ctakes-clinical-pipeline > Reporter: Sirisha > Attachments: RE_ [External] RE_ ctakes clinical default pipeline issue - CTAKES-466 [EXTERNAL] > > > When i run default clinical pipeline with sample data, not able to write xmi file to the output directory. Below is the command line > bin/runClinicalPipeline.sh -i /testdata --xmiOut /output --user XXXX --pass XXXX > i get below error > Oct 11, 2017 9:40:24 AM org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl processAndOutputNewCASes(273) > SEVERE: Exception occurred > org.apache.uima.analysis_engine.AnalysisEngineProcessException > at org.apache.ctakes.core.cc.AbstractOutputFileWriter.process(AbstractOutputFileWriter.java:84) > at org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56) > at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:396) > at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:314) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:570) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.(ASB_impl.java:412) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:344) > at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:265) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:570) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.(ASB_impl.java:412) > at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:344) > at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:265) > at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269) > at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:150) > at org.apache.ctakes.core.pipeline.PipelineBuilder.run(PipelineBuilder.java:293) > at org.apache.ctakes.core.pipeline.PiperFileRunner.main(PiperFileRunner.java:81) > Caused by: java.io.IOException: java.io.FileNotFoundException: /output/TestSample1.xml.xmi (No such file or directory) > at org.apache.ctakes.core.cc.FileTreeXmiWriter.writeFile(FileTreeXmiWriter.java:45) > at org.apache.ctakes.core.cc.AbstractOutputFileWriter.process(AbstractOutputFileWriter.java:82) > ... 15 more > Caused by: java.io.FileNotFoundException: /output/TestSample1.xml.xmi (No such file or directory) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.(FileOutputStream.java:213) -- This message was sent by Atlassian JIRA (v6.4.14#64029)