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

The nailgun script is only compatible with Python 2 #107

Closed
strobe opened this issue Dec 1, 2017 · 3 comments
Closed

The nailgun script is only compatible with Python 2 #107

strobe opened this issue Dec 1, 2017 · 3 comments
Labels

Comments

@strobe
Copy link
Contributor

strobe commented Dec 1, 2017

got following error when tried to use bloop cli

% bloop projects
  File "/Users/evgeniy/.bloop/bloop-ng.py", line 245
    self.sockpath = ur'\\.\pipe\{0}'.format(sockpath)
                                   ^
SyntaxError: invalid syntax

seems reason for that 3x python installed on system as default python version

% python --version
Python 3.6.3 :: Anaconda, Inc.

It works well after downgrade to 2.7 by conda install python=2.7

@jvican
Copy link
Contributor

jvican commented Dec 1, 2017

You can only use it with Python 2. The nailgun team at Facebook wants it this way, and we borrowed the script from them.

@jvican jvican changed the title bloop-ng.py has syntax errors if python 3x installed at OSX as default python version The nailgun script is only compatible with Python 2 Dec 1, 2017
@jvican jvican added the docs label Dec 1, 2017
@jvican
Copy link
Contributor

jvican commented Dec 1, 2017

By the way, note that you can execute it with python2 ${PATH_TO_SCRIPT}, 😉.

@jvican jvican added the wontfix label Jan 15, 2018
@jvican
Copy link
Contributor

jvican commented Mar 5, 2018

It's been fixed upstream, we'll be upgrading our nailgun integration soon https://github.com/facebook/nailgun/pull/128/files. WIP PR #293.

@jvican jvican removed the wontfix label Mar 6, 2018
@jvican jvican closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants