Never mind the never mind... I can't commit the src.zip to dist:
Transmitting file data ........svn: E175002: Commit failed (details follow): svn: E175002: PUT request on '/repos/dist/!svn/txr/20365-heq/dev/tika/tika-1.16-src.zip' failed Did we hit a max file limit in our svn? Recommendations? -----Original Message----- From: Allison, Timothy B. [mailto:[email protected]] Sent: Friday, July 7, 2017 5:54 PM To: [email protected] Subject: FW: [tika] branch master updated: TIKA-1988 -- allow for errors downloading models Never mind, looks like we included the ner models in 1.15's src.zip, which was 133MB. The new src.zip is 240MB. I'll continue with RC1. Please -1 if we need to fix this. -----Original Message----- From: Allison, Timothy B. [mailto:[email protected]] Sent: Friday, July 7, 2017 5:37 PM To: [email protected] Subject: RE: [tika] branch master updated: TIKA-1988 -- allow for errors downloading models I got most of the way through rc1 but found that the src.zip contains 60MB of models for the age recognizer. We forgot to exclude those. Unless anyone objects, I'll revert, drop the release, try to fix the excludes and try again later tonight. -----Original Message----- From: Allison, Timothy B. [mailto:[email protected]] Sent: Friday, July 7, 2017 2:31 PM To: [email protected] Subject: RE: [tika] branch master updated: TIKA-1988 -- allow for errors downloading models Thank you, Chris! Now, how do I bulk move open 1.16->1.17 on JIRA? -----Original Message----- From: Chris Mattmann [mailto:[email protected]] Sent: Friday, July 7, 2017 11:39 AM To: [email protected] Subject: Re: [tika] branch master updated: TIKA-1988 -- allow for errors downloading models Sure On 7/7/17, 7:57 AM, "Allison, Timothy B." <[email protected]> wrote: I'll leave the moving to a new module to you? -----Original Message----- From: Chris Mattmann [mailto:[email protected]] Sent: Friday, July 7, 2017 10:32 AM To: [email protected]; [email protected] Subject: Re: [tika] branch master updated: TIKA-1988 -- allow for errors downloading models Great Tim thanks! On 7/7/17, 7:28 AM, "[email protected]" <[email protected]> wrote: This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tika.git The following commit(s) were added to refs/heads/master by this push: new 632f52d TIKA-1988 -- allow for errors downloading models 632f52d is described below commit 632f52db4713977aa93504517e57b8afe86e6e91 Author: tballison <[email protected]> AuthorDate: Fri Jul 7 10:28:48 2017 -0400 TIKA-1988 -- allow for errors downloading models --- .../tika/parser/recognition/AgeRecogniserConfig.java | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniserConfig.java b/tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniserConfig.java index 84c1f3e..92427f4 100644 --- a/tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniserConfig.java +++ b/tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniserConfig.java @@ -17,7 +17,9 @@ package org.apache.tika.parser.recognition; +import java.net.URL; import java.util.Map; + import org.apache.tika.config.Param; @@ -30,8 +32,20 @@ public class AgeRecogniserConfig { private String pathClassifyRegression = null; public AgeRecogniserConfig(Map<String, Param> params) { - setPathClassifyModel(AgeRecogniserConfig.class.getResource(params.get("age.path.classify").getValue().toString()).getFile()); - setPathClassifyRegression(AgeRecogniserConfig.class.getResource(params.get("age.path.regression").getValue().toString()).getFile()); + + URL classifyUrl = AgeRecogniserConfig.class.getResource( + params.get("age.path.classify").getValue().toString()); + + if (classifyUrl != null) { + setPathClassifyModel(classifyUrl.getFile()); + } + + URL regressionUrl = AgeRecogniserConfig.class.getResource( + params.get("age.path.regression").getValue().toString()); + + if (regressionUrl != null) { + setPathClassifyRegression(regressionUrl.getFile()); + } } public String getPathClassifyModel() { -- To stop receiving notification emails like this one, please contact ['"[email protected]" <[email protected]>'].
