AttributeError: type object 'BaseCommand' has no attribute 'option_list'
kerrermanisNL opened this issue · 5 comments
kerrermanisNL commented
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.
Deleted user commented
Same problem here,,,
hcisilio commented
Same problem here....
utkarsh-sharma-31 commented
Did anyone find the solution?
hcisilio commented
Install de version on github master branch -> https://github.com/gabrielfalcao/lettuce
It worked for me.
sgpy commented
@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