From user-return-8078-archive-asf-public=cust-asf.ponee.io@uima.apache.org Mon Apr 15 20:30:47 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C193918064C for ; Mon, 15 Apr 2019 22:30:46 +0200 (CEST) Received: (qmail 91197 invoked by uid 500); 15 Apr 2019 20:30:45 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 91183 invoked by uid 99); 15 Apr 2019 20:30:45 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2019 20:30:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8344F180C7B for ; Mon, 15 Apr 2019 20:30:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.802 X-Spam-Level: * X-Spam-Status: No, score=1.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lb7pOgI0kQVf for ; Mon, 15 Apr 2019 20:30:25 +0000 (UTC) Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2F68D5F530 for ; Mon, 15 Apr 2019 20:30:24 +0000 (UTC) Received: by mail-ot1-f68.google.com with SMTP id u15so15642004otq.10 for ; Mon, 15 Apr 2019 13:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vplEYxI5AUnp86hpuhdESx3h+0PkVb6JID/HrYhFazM=; b=tEaF9uGsIndfs5dmDjI1R+EHPhVoP/vfkSQhKW2TKgi4gzSXb9OfyiwNbVZkCFsTbD Tl35EzTCzCR8U6EPAjcE2QjSvPDPQtdDJbhLL9QW7qUe7dWx2lT/wBEYjCSC8aSvzOia YtBRTL9hkDzTxUniX5auLEJGSY47VvTOga4x7G3BIMHbAvctMJKjgwdy50PhEq+iTMcy beWeU0CuDA3T9TecKeP4s9F6quI190GOUm7/MIHo+nKwutQwwJlv0acuoAoKhewc11S6 O9OkNCsM4uWCg/6L/GfF4YfKf5KYjFN9+ckOV2QwqrWCX/MyIYbApxC9x66pOwgdmmwO aGOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vplEYxI5AUnp86hpuhdESx3h+0PkVb6JID/HrYhFazM=; b=G9N4mytOMz5D+zKZO+QPXgQHuTkBSL1hHcra6dVdRglim2zZuTDx7vWVwDU9tJHzW7 SXa6MMvUWzKuykTlmw7cOdI9xh5Jj7th7urLPJaVSEw73oYbQXR239X3VBnzYQYOcWWO B9/CVW+ufIL5R6T5CQ2nNZEjorVtvu2sKaFc1AYQ42HLmi4NBCQv5YOzqle0dhuW3dgS 5eL0OBIFLxFQvV3LxSenMc79DN5tJOpKslrmp2M3PL/nYcDyruXiKLNYYiznN9mwS5R2 ykG/an3iRPcVKyKMaFObVcIhiEDTJB+SM4f3Ap1FuX6buasLKO3Bd0T/BJbPrhYFdlAZ A3iw== X-Gm-Message-State: APjAAAV7Gxgz6o37N7jbJhMdS/JiNbbaw3pMH0amCBbYuT+8p2swQ5E+ m25W2HKuRjY9zLPyrrvQIRdAPqsRFePKNPqmCZSanfCxw3E= X-Google-Smtp-Source: APXvYqxxCmqq3k0OFm3hl0yoiIHGTfGGb7CwUWfFynuoKcHGHbAMQm2ik7qbM247+0t8AQqsU+PgoJYkd2VKurEVabw= X-Received: by 2002:a9d:7d95:: with SMTP id j21mr48448418otn.141.1555360222413; Mon, 15 Apr 2019 13:30:22 -0700 (PDT) MIME-Version: 1.0 References: <141914b7-6d86-e376-ca51-2d2acd7c2536@gmail.com> <5c336701-42bb-bc55-f851-b2b0ff0fc3cc@averbis.com> In-Reply-To: <5c336701-42bb-bc55-f851-b2b0ff0fc3cc@averbis.com> From: Nikolai Krot Date: Mon, 15 Apr 2019 22:29:56 +0200 Message-ID: Subject: Re: Problem running UIMA Ruta ExampleProject To: user@uima.apache.org Content-Type: multipart/alternative; boundary="0000000000008e06b805869785c3" --0000000000008e06b805869785c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Peter, Finally, things started to work. Though I can not tell why exactly. Retrospectively, i would guess it happened once I compiled the stuff in ruta-2.7.0 directory and set UIMA_HOME variable. Not sure nor willing to investigate it. I think this page https://uima.apache.org/d/ruta-current/tools.ruta.book.html#section.ugr.too= ls.ruta.workbench.install does not mention it but I remember reading something somewhere else... Best regards, Nikolai On Mon, Apr 15, 2019 at 1:54 PM Peter Kl=C3=BCgl wrote: > Hi, > > > I tested it with Windows 10, Eclipse 4.8, Java 8. > > > I'll take a closer look at it the next days. > > > Best, > > > Peter > > > Am 13.04.2019 um 10:58 schrieb Nikolai Krot: > > Hi Peter, > > > > Thanks for supporting me :) This is what I tried on Ubuntu 18.04, > > unfortunately to no avail: > > > > 1) i have deleted the configuration and launched the Main.ruta script > > directly. I have the following > > > > Error occurred during initialization of boot layer > >> java.lang.LayerInstantiationException: Package > >> jdk.internal.jimage.decompressor in both module jrt.fs and module > java.base > >> > > 2) then i have edited the configuration that was created by running ste= p > 1, > > changing the following > > Tab JRE -> set Alternate JRE to point to java-8-openjdk-amd64 > > > > Exception in thread "main" java.lang.IllegalArgumentException: Value fo= r > >> descriptor is missing - Arguments: [descriptor, null, inputFolder, > >> > %2Fhome%2Fkrot%2Feclipse-other%2Fruta-2.7.0%2Fexample-projects%2FExampleP= roject%2Finput, > >> outputFolder, > >> > %2Fhome%2Fkrot%2Feclipse-other%2Fruta-2.7.0%2Fexample-projects%2FExampleP= roject%2Foutput, > >> mode, run, encoding, UTF-8, view, _InitialView, inputRecursive, false, > >> addsdi, false, serialFormat, XMI] > >> at > >> > org.apache.uima.ruta.ide.launching.RutaLauncher.throwException(RutaLaunch= er.java:172) > >> at > >> > org.apache.uima.ruta.ide.launching.RutaLauncher.parseCmdLineArgs(RutaLaun= cher.java:111) > >> at > >> > org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:17= 6) > >> > > > > this looks like something very basic related to environment > configuration, > > but as being non-java guy, i can not solve it. > > > > If ExampleProject works for you, could you share your setup: OS, eclips= e > > version, JDK, etc whatever is relevant? > > > > Best regards, > > Nikolai > > > > On Tue, Apr 9, 2019 at 3:27 PM Peter Kl=C3=BCgl wro= te: > > > >> Hi, > >> > >> > >> hmm, I think I have to try to reproduce it... > >> > >> > >> Can you try it with Java 8? There is an option in the launch config. > >> > >> Can you delete the old launch config and try to launch the script > >> directly: Open the script in the Editor and simply press the Run butto= n > >> without selecting anything? > >> > >> > >> Best, > >> > >> > >> Peter > >> > >> > >> Am 09.04.2019 um 14:46 schrieb Nikolai Krot: > >>> Hallo Peter, > >>> > >>> Thank you for your prompt reply. > >>> > >>> As recommended, I tried Photon (4.8.0), this time on Ubuntu 18.04 > >>> (openjdk-11), everything from the official repository. I applied the > same > >>> steps as before, except > >>> > >>> 5) in Eclipse, go to ExampleProject/input/Example1.txt, right click, > >> select > >>> [Debug As]. There is no ready configuration, so i created one. Well, > the > >>> only thing I did was pointing Launch script to Main.ruta. > >>> > >>> The error now is different, "Cannot connect to VM, socket closed". > When I > >>> just [Run as], the error pops up > >>> > >>> Error occurred during initialization of boot layer > >>>> java.lang.LayerInstantiationException: Package > >>>> jdk.internal.jimage.decompressor in both module jrt.fs and module > >> java.base > >>> looks like something really wrong.. I know this is not related to UI= MA > >>> Ruta, but perhaps you could provide me with further advice on that? > >>> > >>> Best regards, > >>> Nikolai > >>> > >>> On Mon, Apr 8, 2019 at 10:15 AM Peter Kl=C3=BCgl > >>> wrote: > >>> > >>>> Hi, > >>>> > >>>> > >>>> there are some known issue with the latest Eclipse version. Can you > try > >>>> it with Eclipse Photon (4.8.0)? > >>>> > >>>> Is there more Stacktrace output? If yes, can you add it too? > >>>> > >>>> > >>>> BEst, > >>>> > >>>> > >>>> Peter > >>>> > >>>> > >>>> > >>>> Am 07.04.2019 um 15:36 schrieb Nikolai Krot: > >>>>> Hi all, > >>>>> > >>>>> I am trying out UIMA Ruta and having hard times figuring out how to > run > >>>>> ExampleProject. I am not a Java guy and at this point feel already > >>>>> frustrated with abundant documentation. > >>>>> > >>>>> My steps so far have been to: > >>>>> > >>>>> 1) install Eclipse Version: 2019-03 (4.11.0) on Debian Linux > >>>>> 2) install UIMA Ruta plugin from > >>>>> http://www.apache.org/dist/uima/eclipse-update-site (via elipse men= u > >>>>> [Install New Software]) > >>>>> 3) download und unpack source distribution of UIMA Ruta 2.7.0 (foun= d > at > >>>>> http://uima.apache.org/downloads.cgi#Latest%20Official%20Releases) > >>>>> 4) start eclipse and import ExampleProject from the distribution > >>>> downloaded > >>>>> in step 3) > >>>>> 5) in Eclipse, go to ExampleProject/input/Example1.txt, right click= , > >>>> select > >>>>> [Debug As], then in Debug Configurations there is already Main.ruta= , > i > >>>>> simply choose it and click Debug button. > >>>>> > >>>>> As a result, I get an error Source not found. This is the stack: > >>>>> > >>>>> org.apache.uima.ruta.ide.launching.RutaLauncher at localhost:43931 > >>>>>> Thread [main] (Suspended (exception > >>>>>> AnalysisEngineProcessException)) > >>>>>> PrimitiveAnalysisEngine_impl.innerCall(CAS) line: 336 > >>>>>> PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(CAS) > >> line: > >>>>>> 321 > >>>>>> > >>>> PrimitiveAnalysisEngine_impl(AnalysisEngineImplBase).process(CAS) > >>>>>> line: 269 > >>>>>> RutaLauncher.processFile(File, AnalysisEngine, CAS) line: > 242 > >>>>>> RutaLauncher.main(String[]) line: 191 > >>>>>> > >>>>> Could you please help me understand what is wrong? What am I missin= g? > >>>>> Please bare with a non-Java guy if I am asking a really > >> basic/stupid/etc > >>>>> question. > >>>>> > >>>>> Thank you in advance > >>>>> Nikolai > >>>>> > >>>> -- > >>>> Dr. Peter Kl=C3=BCgl > >>>> R&D Text Mining/Machine Learning > >>>> > >>>> Averbis GmbH > >>>> Salzstr. 15 > >>>> 79098 Freiburg > >>>> Germany > >>>> > >>>> Fon: +49 761 708 394 0 > >>>> Fax: +49 761 708 394 10 > >>>> Email: peter.kluegl@averbis.com > >>>> Web: https://averbis.com > >>>> > >>>> Headquarters: Freiburg im Breisgau > >>>> Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 > >>>> Managing Directors: Dr. med. Philipp Daumke, Dr. Korn=C3=A9l Mark=C3= =B3 > >>>> > >>>> > -- > Dr. Peter Kl=C3=BCgl > R&D Text Mining/Machine Learning > > Averbis GmbH > Salzstr. 15 > 79098 Freiburg > Germany > > Fon: +49 761 708 394 0 > Fax: +49 761 708 394 10 > Email: peter.kluegl@averbis.com > Web: https://averbis.com > > Headquarters: Freiburg im Breisgau > Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 > Managing Directors: Dr. med. Philipp Daumke, Dr. Korn=C3=A9l Mark=C3=B3 > > --0000000000008e06b805869785c3--