Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'seek' #4470

Closed
lazka opened this issue Nov 4, 2018 · 3 comments
Closed

AttributeError: 'NoneType' object has no attribute 'seek' #4470

lazka opened this issue Nov 4, 2018 · 3 comments

Comments

@lazka
Copy link
Contributor

lazka commented Nov 4, 2018

I happened to still install meson master in pygobject CI, which just broke:

The result of executing xvfb-run -a meson test -C _build -v on a gitlab runner:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mesonmain.py", line 109, in run
    return options.run_func(options)
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 783, in run
    return th.doit()
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 533, in doit
    self.run_tests(tests)
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 693, in run_tests
    self.drain_futures(futures)
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 708, in drain_futures
    result.result()
  File "/usr/lib/python3.6/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 265, in run
    return self._run_cmd(wrap + cmd + self.test.cmd_args + self.options.test_args)
  File "/home/user/.local/lib/python3.6/site-packages/mesonbuild/mtest.py", line 374, in _run_cmd
    stdout.seek(0)
AttributeError: 'NoneType' object has no attribute 'seek'
@jpakkane
Copy link
Member

jpakkane commented Nov 4, 2018

@marcelhollerbach could this be caused by #4449?

gnomesysadmins pushed a commit to GNOME/pygobject that referenced this issue Nov 4, 2018
Initially we needed unreleased features but that's no longer the case.
Building with meson master is currently broken for us because of
mesonbuild/meson#4470

Switch to installing from pypi instead.
dcbaker added a commit to dcbaker/meson that referenced this issue Nov 6, 2018
As can be the case if additional_error is None and verbose is used.

Fixes mesonbuild#4470
jpakkane pushed a commit that referenced this issue Nov 7, 2018
As can be the case if additional_error is None and verbose is used.

Fixes #4470
@lazka
Copy link
Contributor Author

lazka commented Nov 7, 2018

Thanks @dcbaker

@marcelhollerbach
Copy link
Contributor

@jpakkane sorry for the trouble, I was away a few days - thus i did not answer :(

gnomesysadmins pushed a commit to GNOME/pygobject that referenced this issue Nov 10, 2018
Initially we needed unreleased features but that's no longer the case.
Building with meson master is currently broken for us because of
mesonbuild/meson#4470

Switch to installing from pypi instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants