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

Python recipe from Crystax undefined #629

Closed
brussee opened this issue Feb 5, 2016 · 3 comments
Closed

Python recipe from Crystax undefined #629

brussee opened this issue Feb 5, 2016 · 3 comments

Comments

@brussee
Copy link
Contributor

brussee commented Feb 5, 2016

Apparently self.ctx.python_recipe is not defined in the if statement at line 113 in archs.py

  File "./boost/__init__.py", line 49, in get_recipe_env
    env = super(BoostRecipe, self).get_recipe_env(arch)
  File "/home/paul/.local/lib/python2.7/site-packages/pythonforandroid/recipe.py", line 474, in get_recipe_env
    return arch.get_env(with_flags_in_cc=with_flags_in_cc)
  File "/home/paul/.local/lib/python2.7/site-packages/pythonforandroid/archs.py", line 113, in get_env
    if self.ctx.python_recipe.from_crystax:
AttributeError: 'NoneType' object has no attribute 'from_crystax'
@inclement
Copy link
Member

Do you remember what p4a command you were using to get this, particularly the --requirements you were using?

@brussee
Copy link
Contributor Author

brussee commented Feb 8, 2016

I could not reproduce this issue after I commented out line 112 and 113 3 days ago and upgraded p4a from git master today.

@brussee brussee closed this as completed Feb 8, 2016
brussee added a commit to brussee/python-for-android that referenced this issue Apr 12, 2016
@brussee brussee reopened this Apr 12, 2016
@brussee
Copy link
Contributor Author

brussee commented Apr 12, 2016

Part of #659

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