Bug#847172: sagenb-export: FTBFS: UnicodeEncodeError: 'ascii' codec can't encode characters in position 41-42: ordinal not in range(128)

Chris Lamb lamby at debian.org
Tue Dec 6 09:10:02 UTC 2016


Source: sagenb-export
Version: 2.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

sagenb-export fails to build from source in unstable/amd64:

  […]

  py27 runtests: PYTHONHASHSEED='256193135'
  py27 runtests: commands[0] | python2.7 -m unittest discover
  ...E..
  ======================================================================
  ERROR: test_aleksandra_slapik_44 (test.test_sagenb_writer.ReadSageNB)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "«BUILDDIR»/test/test_sagenb_writer.py", line 39, in test_aleksandra_slapik_44
      ipynb.write(self.tmp_filename(u'WDI projekt - R\xf3\u017cankowski, Kie\u0142pi\u0144ski, Kozok.ipynb'))
    File "«BUILDDIR»/sagenb_export/ipynb_writer.py", line 58, in write
      write(ipynb, filename)
    File "/usr/lib/python2.7/dist-packages/nbformat/__init__.py", line 163, in write
      with io.open(fp, 'w', encoding='utf-8') as f:
  UnicodeEncodeError: 'ascii' codec can't encode characters in position 41-42: ordinal not in range(128)
  
  ----------------------------------------------------------------------
  Ran 6 tests in 0.028s
  
  FAILED (errors=1)
  ERROR: InvocationError: '«BUILDDIR»/.tox/py27/bin/python2.7 -m unittest discover'
  py35 create: «BUILDDIR»/.tox/py35
  py35 inst: «BUILDDIR»/.tox/dist/sagenb_export-2.0.zip
  py35 installed: decorator==4.0.6,devscripts==2.16.11,entrypoints==0.2.2.post2,ipykernel==4.5.0,ipython==5.1.0,ipython-genutils==0.1.0,Jinja2==2.8,jsonschema==2.5.1,jupyter-client==4.4.0,jupyter-core==4.2.0,MarkupSafe==0.23,mistune==0.7.3,nbconvert==4.2.0,nbformat==4.1.0,notebook==4.2.3,pexpect==4.2.0,pickleshare==0.7.4,pkg-resources==0.0.0,pluggy==0.4.0,prompt-toolkit==1.0.9,ptyprocess==0.5.1,py==1.4.31,Pygments==2.1.3,pyzmq==15.4.0,sagenb-export==2.0,simplegeneric==0.8.1,six==1.10.0,terminado==0.6,tornado==4.4.2,tox==2.5.0,traitlets==4.3.1,virtualenv==15.1.0,wcwidth==0.1.7
  py35 runtests: PYTHONHASHSEED='256193135'
  py35 runtests: commands[0] | python3.5 -m unittest discover
  ....E.
  ======================================================================
  ERROR: test_aleksandra_slapik_44 (test.test_sagenb_writer.ReadSageNB)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "«BUILDDIR»/test/test_sagenb_writer.py", line 39, in test_aleksandra_slapik_44
      ipynb.write(self.tmp_filename(u'WDI projekt - R\xf3\u017cankowski, Kie\u0142pi\u0144ski, Kozok.ipynb'))
    File "«BUILDDIR»/sagenb_export/ipynb_writer.py", line 58, in write
      write(ipynb, filename)
    File "/usr/lib/python3/dist-packages/nbformat/__init__.py", line 163, in write
      with io.open(fp, 'w', encoding='utf-8') as f:
  UnicodeEncodeError: 'ascii' codec can't encode characters in position 43-44: ordinal not in range(128)
  
  ----------------------------------------------------------------------
  Ran 6 tests in 0.020s
  
  FAILED (errors=1)
  ERROR: InvocationError: '«BUILDDIR»/.tox/py35/bin/python3.5 -m unittest discover'
  ___________________________________ summary ____________________________________
  ERROR:   py27: commands failed
  ERROR:   py35: commands failed
  debian/rules:23: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sagenb-export.2.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8136 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20161206/5f4b0359/attachment-0001.obj>


More information about the Reproducible-bugs mailing list