zopectl crashes when "test" command called more than once

Bug #406411 reported by Mykola Kharechko on 2009-07-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Undecided
Unassigned

Bug Description

zopectl> test -q -m mymod
Total: 0 tests, 0 failures, 0 errors
zopectl> test -q -m mymod
Traceback (most recent call last):
  File "./bin/instance", line 181, in ?
    plone.recipe.zope2instance.ctl.main(
  File "/home/crchemist/.buildout/eggs/plone.recipe.zope2instance-3.2-py2.4.egg/plone/recipe/zope2instance/ctl.py", line 352, in main
    c.cmdloop()
  File "/home/crchemist/python-2.4.6-1/lib/python2.4/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/home/crchemist/python-2.4.6-1/lib/python2.4/cmd.py", line 219, in onecmd
    return func(arg)
  File "/home/crchemist/.buildout/eggs/plone.recipe.zope2instance-3.2-py2.4.egg/plone/recipe/zope2instance/ctl.py", line 304, in do_test
    help="Install a filter to suppress warnings emitted by code.\n")
  File "/home/crchemist/python-2.4.6-1/lib/python2.4/optparse.py", line 938, in add_option
    self._check_conflict(option)
  File "/home/crchemist/python-2.4.6-1/lib/python2.4/optparse.py", line 913, in _check_conflict
    option)
optparse.OptionConflictError: option --nowarnings: conflicting option string(s): --nowarnings

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

Other bug subscribers