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

running p4a from git fails #1058

Closed
hemna opened this issue May 25, 2017 · 1 comment
Closed

running p4a from git fails #1058

hemna opened this issue May 25, 2017 · 1 comment

Comments

@hemna
Copy link

hemna commented May 25, 2017

  1. mkdir ~/devel/android/.venv
  2. virtualenv ~/devel/android/.venv
  3. git clone python-for-android
  4. source ~/devel/android/.venv/bin/activate
  5. cd python-for-android
  6. pip install .
  7. p4a

Traceback (most recent call last):
File "/home/waboring/devel/android/.venv/bin/p4a", line 11, in
load_entry_point('python-for-android', 'console_scripts', 'p4a')()
File "/home/waboring/devel/android/python-for-android/pythonforandroid/toolchain.py", line 902, in main
ToolchainCL()
File "/home/waboring/devel/android/python-for-android/pythonforandroid/toolchain.py", line 470, in init
setup_color(args.color)
AttributeError: 'Namespace' object has no attribute 'color'

@inclement
Copy link
Member

Thanks for the report. I think I understand the problem and will try to push a fix soon, but I think this will only happen if you run p4a without any command argument, which wouldn't do anything anyway. It shouldn't prevent running any of the commands.

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

2 participants