lettuce icon indicating copy to clipboard operation
lettuce copied to clipboard

AttributeError: type object 'BaseCommand' has no attribute 'option_list'

Open kerrermanisNL opened this issue 8 years ago • 5 comments

When trying to run lettuce tests on Django 1.10 I get the following error:

File ".../local/lib/python2.7/site-packages/lettuce/django/management/commands/harvest.py", line 43, in Command
  option_list = BaseCommand.option_list + (
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

This function has been deprecated since 1.8 and was completely dropped since 1.10. A fix for this would be much appreciated.

kerrermanisNL avatar Nov 24 '16 10:11 kerrermanisNL

Same problem here,,,

ghost avatar Feb 20 '17 08:02 ghost

Same problem here....

hcisilio avatar May 22 '17 19:05 hcisilio

Did anyone find the solution?

utkarsh-sharma-31 avatar Sep 06 '17 11:09 utkarsh-sharma-31

Install de version on github master branch -> https://github.com/gabrielfalcao/lettuce It worked for me.

hcisilio avatar Sep 06 '17 13:09 hcisilio

@kerrermanisNL @utkarsh-sharma-31 @hcisilio @wirasto If it is still a problem try the new py3-fork which uses django 2.1.6. Python 3 support

sgpy avatar Feb 14 '19 14:02 sgpy