Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Error calling a django command #13

Open
cptx032 opened this issue Jun 27, 2017 · 0 comments
Open

Error calling a django command #13

cptx032 opened this issue Jun 27, 2017 · 0 comments

Comments

@cptx032
Copy link

cptx032 commented Jun 27, 2017

I created a simple command that doesn't raises an error. But running ./manage.py maven my_command I got:

Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/home/rctech/.virtualenvs/pam/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/rctech/.virtualenvs/pam/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/rctech/.virtualenvs/pam/local/lib/python2.7/site-packages/django_maven/management/commands/maven.py", line 52, in run_from_argv
    parser = self.create_parser(argv[0], argv[2], subcommand_class)
  File "/home/rctech/.virtualenvs/pam/local/lib/python2.7/site-packages/django_maven/management/commands/maven.py", line 38, in create_parser
    if not self.use_argparse:
AttributeError: 'Command' object has no attribute 'use_argparse'
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds

The sentry log is sent to the server but is an error of maven it self

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant