optparse.OptionConflictError: option -v/--verbose: conflicting option string(s): -v

Bug #1427148 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Low
Unassigned

Bug Description

[mrunge@turing horizon (django18)]$ ./run_tests.sh -N -P
Running Horizon application tests
Traceback (most recent call last):
  File "/home/mrunge/work/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/commands/test.py", line 30, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 378, in run_from_argv
    parser = self.create_parser(argv[0], argv[1])
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 327, in create_parser
    parser.add_option(opt)
  File "/usr/lib64/python2.7/optparse.py", line 1021, in add_option
    self._check_conflict(option)
  File "/usr/lib64/python2.7/optparse.py", line 996, in _check_conflict
    option)
optparse.OptionConflictError: option -v/--verbose: conflicting option string(s): -v

This happens with Django-1.8

Revision history for this message
Matthias Runge (mrunge) wrote :

./manage.py test horizon --settings=horizon.test.settings
spews out the same error.

Revision history for this message
Matthias Runge (mrunge) wrote :

this is most likely a django-nose issue: https://github.com/django-nose/django-nose/issues/178

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

I have Django 1.8.16 installed and this issue is no longer present.

Changed in horizon:
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.