uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (Jira)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6225) unable to install a pear package into a directory containing special character like <,> or &
Date Thu, 23 Apr 2020 17:29:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090787#comment-17090787
] 

Marshall Schor commented on UIMA-6225:
--------------------------------------

Hi, I'm guessing that the pear installer isn't designed to work with directories with these
kinds of special characters. 

If you'd like to see this improved, please consider doing this improvement and contributing
it by doing a pull request.  (See [http://uima.apache.org/git-work-process.html] for how
to do this)

> unable to install a pear package into a directory containing special character like <,>
or &
> --------------------------------------------------------------------------------------------
>
>                 Key: UIMA-6225
>                 URL: https://issues.apache.org/jira/browse/UIMA-6225
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.10.3SDK
>            Reporter: Serge Démoulin
>            Priority: Major
>         Attachments: hello-world-pear-1.2.0.pear
>
>   Original Estimate: 0.2h
>  Remaining Estimate: 0.2h
>
> If I try to install the attached pear I got an PackageInstallerException (see under).
> The following workaround did not work :
> replacing the $main_root with the real path like '/usr/local/tomcat/shared/pipelines/pears/&lt;'
produces the same error.
>  
>  
> Caused by: org.apache.uima.pear.tools.PackageInstallerException: The following error
occurred during the installation verification of component hello-world-pear-1.2.0: java.io.IOException:
org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml;
lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated by the matching
end-tag "</DESC>".Caused by: org.apache.uima.pear.tools.PackageInstallerException: The
following error occurred during the installation verification of component hello-world-pear-1.2.0:
java.io.IOException: org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml;
lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated by the matching
end-tag "</DESC>". at org.apache.uima.pear.tools.PackageBrowser.getInstallationDescriptor(PackageBrowser.java:377)
at org.apache.uima.pear.tools.InstallationController.verifyComponentInstallation(InstallationController.java:1092)
at org.apache.uima.pear.tools.InstallationController.verifyComponent(InstallationController.java:1993)
at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:268) at
org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:99)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message