Eddie Epstein | 1 Jun 16:20
Picon

Re: UIMA-AS and Export regulation 5D002

> This will not affect releases of the core UIMA.  In addition, we can avoid
> this by changing the release process to not distribute ActiveMQ (or any
> other 5D002 component), and instead have some kind of install process that
> (a) obtained these components from (say) the maven repositories, and (b)
> applied the patches needed (we needed to patch some things in ActiveMQ to
> fix bugs we reported).
>
> I think this might be preferable, but perhaps I'm overreacting to the
> prospect of tagging UIMA-AS with the 5D002 designation.
>
>>
>>

http://www.apache.org/licenses/exports/ shows that many popular Apache
projects are tagged 5D002. Given the inconvenience of requiring every user
to do additional downloads and deal with patching some HTTP related jars in
ActiveMQ, staying with a complete SDK package for UIMA AS seems like the
right choice. If this presents a real problem for some users we can create
alternatives later.

Eddie
Marshall Schor | 2 Jun 16:15

Any objections to classifying UIMA-AS as 5D002?

Per the discussion on the thread here
http://markmail.org/search/?q=uima%20export%205d002#query:uima%20export%205d002+page:1+mid:6cnmzs4d66d4lq7o+state:results

I plan to ask our mentors to update the export page in apache to 
register uima-as as a 5d002 project, unless there are other thoughts 
about this.

Opinions?

-Marshall

Thilo Goetz | 2 Jun 16:38
Picon
Picon

Re: Any objections to classifying UIMA-AS as 5D002?

Since I haven't the foggiest what that means, I don't
have an opinion.

Marshall Schor wrote:
> Per the discussion on the thread here
>
http://markmail.org/search/?q=uima%20export%205d002#query:uima%20export%205d002+page:1+mid:6cnmzs4d66d4lq7o+state:results 
> 
> 
> I plan to ask our mentors to update the export page in apache to 
> register uima-as as a 5d002 project, unless there are other thoughts 
> about this.
> 
> Opinions?
> 
> -Marshall

Picon
Favicon

[jira] Commented: (UIMA-1041) UIMACPP Pythonator issues with annotation offsets and lengths - off by 1 errors


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

Jeffrey Sorensen commented on UIMA-1041:
----------------------------------------

The problem is caused ConvertUnicodeStringRef  function in the pythonnator source,
due to the behavior of PyUnicode_DecodeUTF16 as documented here
http://docs.python.org/api/builtinCodecs.html

Byte order marks will not be copied into the target string.  Looking at the source code
for Python, the following comment can be found in the PyUnicode_DecodeUTF16
source

    /* Check for BOM marks (U+FEFF) in the input and adjust current
       byte order setting accordingly. In native mode, the leading BOM
       mark is skipped, in all other modes, it is copied to the output
       stream as-is (giving a ZWNBSP character). */

this suggests that providing any value for the byteorder parameter will cause byte-order
marks to be preserved.

Hence, my proposed replacement code is as follows

static bool ConvertUnicodeStringRef(const UnicodeStringRef &ref,
        PyObject **rv) {
  if (sizeof(Py_UNICODE) == sizeof(UChar)) {
    *rv = PyUnicode_FromUnicode((const Py_UNICODE*) ref.getBuffer(),
(Continue reading)

Picon
Favicon

[jira] Updated: (UIMA-1041) UIMACPP Pythonator issues with annotation offsets and lengths - off by 1 errors


     [
https://issues.apache.org/jira/browse/UIMA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein updated UIMA-1041:
--------------------------------

    Fix Version/s: 2.2C

> UIMACPP Pythonator issues with annotation offsets and lengths - off by 1 errors
> -------------------------------------------------------------------------------
>
>                 Key: UIMA-1041
>                 URL: https://issues.apache.org/jira/browse/UIMA-1041
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>         Environment: RedHat, UIMACPP 2.2.2 release candidate 01, uima base 2.2.2
>            Reporter: Marshall Schor
>             Fix For: 2.2C
>
>
> The sample python script when run in the document analyzer shows annotations where the highlight is
always missing the last character, and the details show the offsets for the begin and end to be both one to low.
> To reproduce, run the sample script in the python directory of the scriptators (after doing a build
/install of the pythonator following the directions in the python directory in python.html).

--

-- 
This message is automatically generated by JIRA.
-
(Continue reading)

Picon
Favicon

[jira] Closed: (UIMA-1041) UIMACPP Pythonator issues with annotation offsets and lengths - off by 1 errors


     [
https://issues.apache.org/jira/browse/UIMA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein closed UIMA-1041.
-------------------------------

    Resolution: Fixed

Jeff, thanks for finding a fix for this problem.
Marshall, thanks for finding the problem!

> UIMACPP Pythonator issues with annotation offsets and lengths - off by 1 errors
> -------------------------------------------------------------------------------
>
>                 Key: UIMA-1041
>                 URL: https://issues.apache.org/jira/browse/UIMA-1041
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>         Environment: RedHat, UIMACPP 2.2.2 release candidate 01, uima base 2.2.2
>            Reporter: Marshall Schor
>             Fix For: 2.2C
>
>
> The sample python script when run in the document analyzer shows annotations where the highlight is
always missing the last character, and the details show the offsets for the begin and end to be both one to low.
> To reproduce, run the sample script in the python directory of the scriptators (after doing a build
/install of the pythonator following the directions in the python directory in python.html).

(Continue reading)

Picon
Favicon

[jira] Updated: (UIMA-1049) Uimacpp logging facility is not thread safe


     [
https://issues.apache.org/jira/browse/UIMA-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein updated UIMA-1049:
--------------------------------

    Fix Version/s: 2.2C

Must fix for first release

> Uimacpp logging facility is not thread safe
> -------------------------------------------
>
>                 Key: UIMA-1049
>                 URL: https://issues.apache.org/jira/browse/UIMA-1049
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>            Reporter: Bhavani Iyer
>            Assignee: Bhavani Iyer
>             Fix For: 2.2C
>
>         Attachments: UIMA-1049-1.patch, UIMA-1049-2.patch, UIMA-1049.patch
>
>
> Multiple instances of a C++ annotator may be run when the C++ annotator is run within a CPM with multiple
parallel pipelines or when the C++ annotator is deployed as a UIMA AS service configured to start multiple
instances.  In both cases, when the JNI interface to logging is used, the call to the logging facility 
results in the exception,
(Continue reading)

Picon
Favicon

[jira] Closed: (UIMA-1037) buildsdk.sh on Mac OSX creates bad symbolic link libuima.jnilib


     [
https://issues.apache.org/jira/browse/UIMA-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein closed UIMA-1037.
-------------------------------

    Resolution: Fixed

> buildsdk.sh on Mac OSX creates bad symbolic link libuima.jnilib
> ---------------------------------------------------------------
>
>                 Key: UIMA-1037
>                 URL: https://issues.apache.org/jira/browse/UIMA-1037
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>         Environment: Mac OSX
>            Reporter: Eddie Epstein
>            Assignee: Eddie Epstein
>            Priority: Minor
>             Fix For: 2.2C
>
>
> The symbolic link in the script should be:
> ln -s libuima.dylib libuima.jnilib

--

-- 
This message is automatically generated by JIRA.
-
(Continue reading)

Picon
Favicon

[jira] Reopened: (UIMA-1056) Fix some of the UIMA-AS problems reported by FindBugs


     [
https://issues.apache.org/jira/browse/UIMA-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik reopened UIMA-1056:
---------------------------------

Findbugs still reports synchronization issues in UIMA-As

> Fix some of the UIMA-AS problems reported by FindBugs
> -----------------------------------------------------
>
>                 Key: UIMA-1056
>                 URL: https://issues.apache.org/jira/browse/UIMA-1056
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.2.2AS
>
>         Attachments: uimaj-as-activemq-UIMA-1056-patch.txt, uimaj-as-core-UIMA-1056-patch.txt, uimaj-as-jms-UIMA-1056-patch.txt
>
>
> FindBugs finds problems in the UIMA-AS code. 

--

-- 
This message is automatically generated by JIRA.
-
(Continue reading)

Picon
Favicon

[jira] Updated: (UIMA-1056) Fix some of the UIMA-AS problems reported by FindBugs


     [
https://issues.apache.org/jira/browse/UIMA-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik updated UIMA-1056:
--------------------------------

    Attachment: uimaj-as-jms-UIMA-1056-patch-02.txt
                uimaj-as-activemq-UIMA-1056-patch-02.txt

Fixed synchronization bugs reported by Findbugs. 

> Fix some of the UIMA-AS problems reported by FindBugs
> -----------------------------------------------------
>
>                 Key: UIMA-1056
>                 URL: https://issues.apache.org/jira/browse/UIMA-1056
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.2.2AS
>
>         Attachments: uimaj-as-activemq-UIMA-1056-patch-02.txt,
uimaj-as-activemq-UIMA-1056-patch.txt, uimaj-as-core-UIMA-1056-patch.txt,
uimaj-as-jms-UIMA-1056-patch-02.txt, uimaj-as-jms-UIMA-1056-patch.txt
>
>
(Continue reading)


Gmane