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

2017-03-31 Thread Chris Lamb
Ghislain Vaillant wrote:

> Do you believe the RC severity remains justified though?

Not sure; I'll leave that to your judgement :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


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

2017-03-31 Thread Ghislain Vaillant
control: reassign -1 spyder
control: affects -1 spyder-memory-profiler

On Fri, 2017-03-31 at 10:33 +0100, Chris Lamb wrote:
> Ghislain Vaillant wrote:
> 
> > I am going to need some more context here. The build ran fine on the 
> > builders when the package was initially uploaded, and still runs fine on 
> > both my unstable chroot and debomatic [1].
> 
>   /usr/lib/python3/dist-packages/spyder/utils/programs.py:33: in 
>   username = encoding.to_unicode_from_fs(os.environ.get('USER'))
> 
> ^ Looks like it assumes that a USER environment variable exists. Is this
> a fair assumption to make?

So that's an issue with upstream spyder, not spyder-memory-profiler
then.

I'll offer a patch to switch to using Python's getpass.getuser(), which
should be more robust than the current reliance on the USER envvar.

Do you believe the RC severity remains justified though?

Cheers,
Ghis

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


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

2017-03-31 Thread Chris Lamb
Ghislain Vaillant wrote:

> I am going to need some more context here. The build ran fine on the 
> builders when the package was initially uploaded, and still runs fine on 
> both my unstable chroot and debomatic [1].

  /usr/lib/python3/dist-packages/spyder/utils/programs.py:33: in 
  username = encoding.to_unicode_from_fs(os.environ.get('USER'))

^ Looks like it assumes that a USER environment variable exists. Is this
a fair assumption to make?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


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

2017-03-31 Thread Ghislain Vaillant

Hi Chris,

On Thu, 30 Mar 2017 08:26:36 +0100 Chris Lamb  wrote:

Source: spyder-memory-profiler
Version: 0.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

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


[...]


The full build log is attached.


I am going to need some more context here. The build ran fine on the 
builders when the package was initially uploaded, and still runs fine on 
both my unstable chroot and debomatic [1].


[1] 
http://debomatic-amd64.debian.net/distribution#unstable/spyder-memory-profiler/0.1.0-1/buildlog


Regards,
Ghis

--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


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

2017-03-30 Thread Chris Lamb
Source: spyder-memory-profiler
Version: 0.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@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 
  from .memoryprofiler import MemoryProfiler
  spyder_memory_profiler/memoryprofiler.py:14: in 
  from spyder.utils.qthelpers import qapplication
  /usr/lib/python3/dist-packages/spyder/utils/qthelpers.py:26: in 
  from spyder.config.gui import get_shortcut
  /usr/lib/python3/dist-packages/spyder/config/gui.py:26: in 
  from spyder.config.main import CONF
  /usr/lib/python3/dist-packages/spyder/config/main.py:22: in 
  from spyder.config.user import UserConfig
  /usr/lib/python3/dist-packages/spyder/config/user.py:26: in 
  from spyder.utils.programs import check_version
  /usr/lib/python3/dist-packages/spyder/utils/programs.py:33: in 
  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
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


spyder-memory-profiler.0.1.0-1.unstable.amd64.log.txt.gz
Description: Binary data
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers