View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015726Xdmf(No Category)public2015-09-05 01:412016-02-25 04:14
Reporteroliverjack38 
Assigned To 
PriorityurgentSeveritymajorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformLInuxOSArch LinuxOS Version
Summary0015726: Python API compilation does not work
DescriptionI try to compile Xdmf3 with python support using -DXDMF_WRAP_PYTHON:BOOL="1"
The compilation fails when trying to compile:
Steps To Reproducemkdir build
cd build
cmake -DXDMF_WRAP_PYTHON:BOOL="1" ..
make
TagsNo tags attached.
Attached Files? file icon out [^] (17,223 bytes) 2015-09-05 01:41 [Show Content]

 Relationships

  Notes
(0040483)
crayzeewulf (reporter)
2016-02-12 22:17

Very similar error message at the link below; are you using Python 3?

https://github.com/scipy/scipy/issues/1890 [^]
(0040488)
oliverjack38 (reporter)
2016-02-14 14:04

Yes. I use python 3.5
(0040492)
oliverjack38 (reporter)
2016-02-16 08:13

It works fine when forcing Cmake to python2... I will investigate for python3...
(0040531)
darkstar (reporter)
2016-02-24 10:14

Hi Oliverjack38. Have you had a any luck with python3?
(0040532)
oliverjack38 (reporter)
2016-02-24 11:32

No luck with Python3. It looks like it is a SWIG issue. What I don't understand is that from the link above the pb has been solved a while ago and I am using the last SWIG version.
(0040546)
darkstar (reporter)
2016-02-25 04:14

My guess is 3.5 not supported yet
http://www.swig.org/Doc3.0/Python.html#Python_python3support [^]
could also be worth providing -py3 flag to swig in the make file. Will have a go.

 Issue History
Date Modified Username Field Change
2015-09-05 01:41 oliverjack38 New Issue
2015-09-05 01:41 oliverjack38 File Added: out
2016-02-12 22:17 crayzeewulf Note Added: 0040483
2016-02-14 14:04 oliverjack38 Note Added: 0040488
2016-02-16 08:13 oliverjack38 Note Added: 0040492
2016-02-24 10:14 darkstar Note Added: 0040531
2016-02-24 11:32 oliverjack38 Note Added: 0040532
2016-02-25 04:14 darkstar Note Added: 0040546


Copyright © 2000 - 2018 MantisBT Team