Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kerrermanisNL opened this issue Nov 24, 2016 · 5 comments

Comments

@kerrermanisNL
Copy link

kerrermanisNL commented Nov 24, 2016

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.

@ghost
Copy link

ghost commented Feb 20, 2017

Same problem here,,,

@hcisilio
Copy link

Same problem here....

@utkarsh-sharma-31
Copy link

Did anyone find the solution?

@hcisilio
Copy link

hcisilio commented Sep 6, 2017

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

@sgpy
Copy link

sgpy commented Feb 14, 2019

@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

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

No branches or pull requests

4 participants