Skip to content

[FIX] Errors parsing $DISPLAY #2363

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

Merged
merged 14 commits into from
Jan 19, 2018
Merged

Conversation

oesteban
Copy link
Contributor

@oesteban oesteban commented Jan 9, 2018

The format for $DISPLAY is <host>:<display>[.<screen>]. When
screen is specified, the config object fails.

This patch fixes #2362

EDIT: extra addons

  • New parametric test for the new feature
  • Added tests mocking Mac and non-Mac systems
  • Skip tests that would always fail in Mac systems

The format for ``$DISPLAY`` is ``<host>:<display>[.<screen>]``. When
screen is specified, the config object fails.

This patch fixes nipy#2362
@oesteban
Copy link
Contributor Author

Experts on Circle and Travis: why I can't redefine environment variables ($DISPLAY in particular) in any of them? I've tried both os.environ and monkeypatching. Both work locally, but fail on CI engines.

cc @satra

@oesteban
Copy link
Contributor Author

I still need to find out why tests work locally (whether it is containerized or not does not really matter) but consistently fails in Travis AND Circle. This one will need to wait.

@oesteban
Copy link
Contributor Author

Seems to work now!

@effigies
Copy link
Member

@effigies effigies merged commit 3c43f0c into nipy:master Jan 19, 2018
@mgxd mgxd added this to the 1.0 milestone Jan 21, 2018
@oesteban oesteban deleted the fix/displaynumber branch October 26, 2018 06:28
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

Successfully merging this pull request may close these issues.

issue with MIPAV module
3 participants