Skip to content

Can't ./manage.py bower install #68

Description

@lscasanova

Tried to do a ./manage.py bower install but the result is

manage.py bower: error: unrecognized arguments: install

if I run ./manage.py bower_install instead, I get:

Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/django/core/management/__init__.py", line 208, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/lscasanova/Envs/test/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/djangobower/management/commands/bower_install.py", line 5, in <module>
    class Command(BaseBowerCommand):
  File "/home/lscasanova/Envs/test/lib/python3.4/site-packages/djangobower/management/commands/bower_install.py", line 8, in Command
    option_list = BaseBowerCommand.option_list + (
AttributeError: type object 'BaseBowerCommand' has no attribute 'option_list'

I first got this error trying to run the project django-scheduler-sample, then tried to run on an empty project created by me in a virtualenv with just django 1.10 and django-bower to no effect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions