Hi, we just found one problem with Pythonnator: when initializing a Pythonnator AE a second time (e.g. running a pipeline again in the same CpeGui window or doing "load AE" a second time in CVD) it crashes.

To reproduce:
1. launch CVD
2. "Load AE" -> PythonSample.xml
3. "Load AE" -> PythonSample.xml
-> crash

$ cvd.sh
creating JNILogger
Pythonnator: Initialize - debug=101
Pythonnator: Registered function initialize
Pythonnator: Registered function typeSystemInit
Pythonnator: no function registered for destroy
Pythonnator: no function registered for reconfigure
Pythonnator: Registered function process
Pythonnator: no function registered for batchProcessComplete
Pythonnator: no function registered for collectionProcessComplete
sample: initialize with matchString =Dave|David|(human\s+rights)
Pythonnator: typeSystemInit
sample: Type sytem init called
Pythonnator: destroy
Pythonnator: Initialize - debug=101
Pythonnator: Registered function initialize
Pythonnator: Registered function typeSystemInit
Pythonnator: no function registered for destroy
Pythonnator: no function registered for reconfigure
Pythonnator: Registered function process
Pythonnator: no function registered for batchProcessComplete
Pythonnator: no function registered for collectionProcessComplete
Pythonnator: python error
Traceback (most recent call last):
  File "/NAS_Backup/proyectos/uima/uimacpp-libs-12.04/sample.py", line 31, in 
initialize
    pattern = re.compile(ac.extractValue("matchString"), re.IGNORECASE)
  File "/NAS_Backup/proyectos/uima/uimacpp-libs-12.04/pythonnator.py", line 
278, in extractValue
    def extractValue(self, *args): return 
_pythonnator.AnnotatorContext_extractValue(self, *args)
TypeError: in method 'AnnotatorContext_extractValue', argument 1 of type 
'AnnotatorContext *'
Pythonnator: destroy

Having two separate Pythonnator AEs in the same pipeline seems to work fine.

Could somebody confirm this issue before creating the bug report?

Also, is this a blocker for the release?

Bye,
Jens

On 08/31/2012 03:32 PM, Jens Grivolla wrote:
Hi, we're still having a bit of trouble with the needed dependencies for
compiling UIMACPP (trying to use packages from the official Ubuntu
repositories to satisfy the dependencies).

However, we can now confirm that the RC7 binary works for us on both
Ubuntu 10.04 and 12.04, using Pythonnator as well as C++ modules we were
already using.

Pythonnator builds on Ubuntu 10.04 without problems (Python 2.6, Swig
1.3.40), and it builds on Ubuntu 12.04 (Python 2.7) when using a
manually installed Swig 1.3.40. We were unable to get it to compile with
Swig 2.0.4 so far.

With earlier RCs we saw that there were some minor adjustments to get it
to work with some dependencies when installed from the Ubuntu
repositories, but we'll have to look into it again in detail.

Best,
Jens

On 08/29/2012 10:01 AM, Jens Grivolla wrote:
Hi, we just started testing RC7. We plan to test it on Ubuntu 10.04 and
12.04 and hope to be able to give some feedback soon.

Best,
Jens

On 08/24/2012 07:36 PM, Bhavani Iyer wrote:
UIMACPP Release Candidate 7 is ready for voting.

It contains fixes to the following issues reported by Eddie:

1. Linux build of deployCppService fails to run on a machine without a
compatible libssl and libcrypto.
     Rebuilt deployCppService with an ActiveMQ CPP library built with
SSL
disabled. To enable these capabilities,
     users will have to rebuild from source using an ActiveMQ CPP
built with
SSL enabled.  This is true for the
     Windows SDK as well. ActiveMQ build on Windows by default is built
without SSL enabled.
2. Fix for make sdk not handling the --prefix setting.

Modifications to README.4src based on suggestions from Burn and
Marshall.

The release build is staged at:
http://people.apache.org/~bhavani/uimacpp-release-candidates/2.4.0/07/

The SVN tag is:
https://svn.apache.org/repos/asf/uima/uimacpp/tags/uimacpp-2.4.0-rc7/

The issues fixed are in the RELEASE_NOTES.html in the src/bin packages.
They can also be found here:
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+UIMA+AND+fixVersion+%3D+12319446+ORDER+BY+priority+DESC



Please vote on release:

[ ] +1 OK to release
[ ] 0   Don't care
[ ] -1 Not OK to release, because ...

Thanks.
Bhavani









Reply via email to