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 59D2E200D61 for ; Tue, 19 Dec 2017 13:47:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 585B5160C2A; Tue, 19 Dec 2017 12:47:04 +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 9ECF5160C18 for ; Tue, 19 Dec 2017 13:47:03 +0100 (CET) Received: (qmail 81654 invoked by uid 500); 19 Dec 2017 12:47:02 -0000 Mailing-List: contact dev-help@any23.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@any23.apache.org Delivered-To: mailing list dev@any23.apache.org Received: (qmail 81642 invoked by uid 99); 19 Dec 2017 12:47:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2017 12:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 45917C5214 for ; Tue, 19 Dec 2017 12:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Z_mKYgki6zyv for ; Tue, 19 Dec 2017 12:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id F26515F3CE for ; Tue, 19 Dec 2017 12:47:00 +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 85D9DE0AFC for ; Tue, 19 Dec 2017 12:47: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 41FD0240E6 for ; Tue, 19 Dec 2017 12:47:00 +0000 (UTC) Date: Tue, 19 Dec 2017 12:47:00 +0000 (UTC) From: "Lewis John McGibbney (JIRA)" To: dev@any23.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ANY23-314) Service fails to return extraction in case of extraction error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 19 Dec 2017 12:47:04 -0000 [ https://issues.apache.org/jira/browse/ANY23-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney resolved ANY23-314. ---------------------------------------- Resolution: Fixed > Service fails to return extraction in case of extraction error > -------------------------------------------------------------- > > Key: ANY23-314 > URL: https://issues.apache.org/jira/browse/ANY23-314 > Project: Apache Any23 > Issue Type: Bug > Components: service > Affects Versions: 2.1 > Environment: Any23 2.2-SNAPSHOT > Reporter: Lewis John McGibbney > Assignee: Lewis John McGibbney > Fix For: 2.2 > > Attachments: extraction.json, output.log > > > See the following command line extraction > {code} > lmcgibbn@LMC-056430 /usr/local/any23(master) $ ./cli/target/appassembler/bin/any23 rover -l output.log -o extraction.json https://www.jobcluster.de > ------------------------------------------------------------------------ > Apache Any23 :: rover > ------------------------------------------------------------------------ > 0 [main] WARN org.apache.tika.parser.image.ImageParser - JBIG2ImageReader not loaded. jbig2 files will be ignored > 128 [main] INFO org.apache.any23.rdf.PopularPrefixes - Loading prefixes from /org/apache/any23/prefixes/prefixes.properties > 1388 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. > 4790 [main] INFO org.apache.any23.extractor.SingleDocumentExtraction - Processing https://www.jobcluster.de/ > [Fatal Error] :12:46: The entity name must immediately follow the '&' in the entity reference. > ------------------------------------------------------------------------ > Apache Any23 FAILURE > Execution terminated with errors: Error while parsing RDF document. > Total time: 5s > Finished at: Tue Dec 12 08:01:14 PST 2017 > Final Memory: 31M/184M > ------------------------------------------------------------------------ > {code} > This results in the attached extraction result (extraction.json) and associated log (output.log) > If I attempt to run the same extraction using the service at [any23.org|http://any23.org/any23/?format=json&uri=https%3A%2F%2Fwww.jobcluster.de%2F&validation-mode=none] the (partial) extraction result should be returned regardless of whether the entire extraction was successful or not. > The service servlet seems to be returning the extraction Exception as oppose to the preferred extraction result. This issue will fix that. -- This message was sent by Atlassian JIRA (v6.4.14#64029)