uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhavani Iyer (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-2433) UIMACPP Pythonnator fails to build with Python 2.6
Date Fri, 03 Aug 2012 12:35:03 GMT

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

Bhavani Iyer resolved UIMA-2433.

       Resolution: Unresolved
    Fix Version/s: 2.4.0C
> UIMACPP Pythonnator fails to build with Python 2.6
> --------------------------------------------------
>                 Key: UIMA-2433
>                 URL: https://issues.apache.org/jira/browse/UIMA-2433
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.4.0C
>            Reporter: Bhavani Iyer
>            Assignee: Bhavani Iyer
>             Fix For: 2.4.0C
> As reported by Jens Grivolla 
> In order to compile with Python 2.6 we need to touch uima_wrap.cxx once it is generated.
Otherwise we get the following error:
>     uima_wrap.cxx: In function ‘bool PyStringConvert(PyObject*, icu_3_6::UnicodeString&)’:
>     uima_wrap.cxx:2844: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument
‘3’ to ‘int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)’
> We needed to change "int len" to "Py_ssize_t len" in that function (it would probably
work without the change on 32bit systems).  Since uima_wrap.cxx gets generated automatically,
we'd need to actually track down the original source of this error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message