Bug#859080: spyder-memory-profiler: FTBFS: AttributeError: 'NoneType' object has no attribute 'toUtf8'

Chris Lamb lamby at debian.org
Thu Mar 30 07:26:36 UTC 2017


Source: spyder-memory-profiler
Version: 0.1.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,

spyder-memory-profiler fails to build from source in unstable/amd64:

  […]

  ============================= test session starts ==============================
  platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
  PyQt5 5.7 -- Qt runtime 5.7.1 -- Qt compiled 5.7.1
  rootdir: «BUILDDIR», inifile: 
  plugins: xvfb-1.0.0, qt-2.1.0
  collected 0 items / 1 errors
  
  ==================================== ERRORS ====================================
   ERROR collecting .pybuild/pythonX.Y_3.5/build/spyder_memory_profiler/widgets/tests/test_memoryprofiler.py 
  /usr/lib/python3/dist-packages/py/_path/local.py:662: in pyimport
      __import__(modname)
  spyder_memory_profiler/__init__.py:12: in <module>
      from .memoryprofiler import MemoryProfiler
  spyder_memory_profiler/memoryprofiler.py:14: in <module>
      from spyder.utils.qthelpers import qapplication
  /usr/lib/python3/dist-packages/spyder/utils/qthelpers.py:26: in <module>
      from spyder.config.gui import get_shortcut
  /usr/lib/python3/dist-packages/spyder/config/gui.py:26: in <module>
      from spyder.config.main import CONF
  /usr/lib/python3/dist-packages/spyder/config/main.py:22: in <module>
      from spyder.config.user import UserConfig
  /usr/lib/python3/dist-packages/spyder/config/user.py:26: in <module>
      from spyder.utils.programs import check_version
  /usr/lib/python3/dist-packages/spyder/utils/programs.py:33: in <module>
      username = encoding.to_unicode_from_fs(os.environ.get('USER'))
  /usr/lib/python3/dist-packages/spyder/utils/encoding.py:65: in to_unicode_from_fs
      string = to_text_string(string.toUtf8(), 'utf-8')
  E   AttributeError: 'NoneType' object has no attribute 'toUtf8'
  !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
  =========================== 1 error in 0.32 seconds ============================
  E: pybuild pybuild:283: test: plugin distutils failed with: exit code=2: cd «BUILDDIR»/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest 
  dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned exit code 13
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 25
  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: spyder-memory-profiler.0.1.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 13716 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170330/6cfc7f88/attachment.obj>


More information about the debian-science-maintainers mailing list