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

invalid syntax #9

Closed
trourance opened this issue Mar 28, 2017 · 5 comments · Fixed by #12
Closed

invalid syntax #9

trourance opened this issue Mar 28, 2017 · 5 comments · Fixed by #12
Assignees
Labels

Comments

@trourance
Copy link

Hi,
I've tried to install and launch the application, but I get the following error:

sudo pglisten setup-daemon
  File "/usr/lib/node_modules/pglistend/setup/setup.py", line 121
    print cmd_t('> {}'.format(cmd))
              ^
SyntaxError: invalid syntax
Setup could not be completed.
@kabirbaidhya
Copy link
Owner

kabirbaidhya commented Mar 28, 2017

Hi @fluancefg Can you try running this alternative script and see if you still get the same error?

curl https://raw.githubusercontent.com/kabirbaidhya/pglistend/master/setup/setup.py | sudo python

@kabirbaidhya
Copy link
Owner

Looking at the error message SyntaxError: invalid syntax I think the error is due to python version.

Can you please run python --version and see if its 3.x.x or 2.7.x? Actually, we've built it based upon python 2.7 so I think we need to do a patch if it doesn't work when python3 is default.

@trourance
Copy link
Author

trourance commented Mar 29, 2017 via email

@trourance
Copy link
Author

trourance commented Mar 29, 2017 via email

@kabirbaidhya
Copy link
Owner

Okay, I'll fix this and will do a patch shortly. Thanks.

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

Successfully merging a pull request may close this issue.

2 participants