Newer versions of Python3 have a problem with utf-8 encoding during installation

Issue #865 resolved
Chris Richardson created an issue

In cmake/scripts/generate-swig-interface.py and site-packages/dolfin_utils/documentation/extractdocumentation.py files need to opened correctly for utf-8 reading. Not clear whether to use 'rb' mode, or io.open().

Comments (10)

  1. Johannes Ring

    It can be reproduced in debian:unstable Docker container with the following commands:

    apt-get update && \
    apt-get -y install git python3-ply && \
    git clone https://bitbucket.org/fenics-project/dolfin.git && \
    cd dolfin && \
    python3 cmake/scripts/generate-swig-interface.py
    
  2. Log in to comment