ape commands not working in activated product #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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