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

ape commands not working in activated product #4

Closed
wants to merge 1 commit into from
Closed

ape commands not working in activated product #4

wants to merge 1 commit into from

Conversation

mgaller
Copy link
Contributor

@mgaller mgaller commented Dec 5, 2013

without import following error:

Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 118, in
main()
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 115, in main
run(sys.argv, features=features)
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 63, in run
tasks_module = importlib.import_module(feature + '.tasks')
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/opt/webapps/schnesapeh/_lib/venv/src/django-productline/django_productline/features/staticfiles/tasks.py", line 4, in
@tasks.requires_product_environment
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/init.py", line 137, in getattr
return self.get_task(name)
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/init.py", line 104, in get_task
raise TaskNotFound(name)
ape.TaskNotFound: requires_product_environment

without import following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 118, in <module>
    main()
  File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 115, in main
    run(sys.argv, features=features)
  File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 63, in run
    tasks_module = importlib.import_module(feature + '.tasks')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/opt/webapps/schnesapeh/_lib/venv/src/django-productline/django_productline/features/staticfiles/tasks.py", line 4, in <module>
    @tasks.requires_product_environment
  File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/__init__.py", line 137, in __getattr__
    return self.get_task(name)
  File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/__init__.py", line 104, in get_task
    raise TaskNotFound(name)
ape.TaskNotFound: requires_product_environment
@mgaller
Copy link
Contributor Author

mgaller commented Dec 5, 2013

ape manage or select_features not working. didnt appear in ape help

@mgaller mgaller closed this Dec 5, 2013
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.

1 participant