You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2007/07/09 22:10:04 UTC

[jira] Commented: (UIMA-475) Document Analyzer and CPE GUI have trouble running AE's multiple times

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

Eddie Epstein commented on UIMA-475:
------------------------------------

The python scenario reproduces on Windows, and may be a Python limitation.
See http://docs.python.org/api/initialization.html 

   "Some extensions may not work properly if their initialization routine 
    is called more than once; this can happen if an application calls 
    Py_Initialize() and Py_Finalize() more than once."

Regards,
Eddie

> Document Analyzer and CPE GUI have trouble running AE's multiple times
> ----------------------------------------------------------------------
>
>                 Key: UIMA-475
>                 URL: https://issues.apache.org/jira/browse/UIMA-475
>             Project: UIMA
>          Issue Type: Bug
>         Environment: Ubuntu Linux 7.04, Java 1.5.0_11, Eclipse 3.2.2, Python 2.4.4
>            Reporter: Andrew Borthwick
>            Priority: Minor
>
> Document Analyzer and UIMA CPE GUI successfully run a Python Analysis engine, but hang in the initialization step when the engine is run a second time.  This happens, for instance, with the sample.py/PythonSample.xml engine distributed with the Pythonnator.  
> Note that if the Python Analysis engine is run directly using a CPE and run with the runCPE.sh script, I don't encounter this issue.
> I get similar behavior when running the OpenNLP package from Document Analyzer, but with OpenNLP it runs twice and then runs out of memory and thrashes on the third run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.