Skip to content

Issue with python 2.x: ferror not implemented by pdwfs #3

@mathaefele

Description

@mathaefele

Describe the bug

When trying to use pdwfs with a simulation and post processing code in python 2.x, it does not work. I get:

[PDWFS][6865][ERROR][C] ferror not implemented by pdwfs

However, it works with python 3.

To Reproduce

python_issue.zip

unzip python_issue.zip 
cd py
./launch.sh 

Expected behavior

A file named pyres should be created and should contain

Hello World 0
Hello world 0
[0 1 2 3 4 5 6]

Additional context

Running on Ubuntu 18.04.3 LTS, with python 2.7.15+

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions