I'm seeing a similar error and can't figure it out. In a function I'm using 
to decide whether to show a step or not.

def show_step(wizard):
    # try to get the cleaned data of step 1
    cleaned_data = wizard.get_cleaned_data_for_step('initial_config') or {}
    return wizard.steps.current in cleaned_data.get('something', [])

RuntimeError: maximum recursion depth exceeded in cmp

On Friday, October 5, 2012 11:16:02 AM UTC-4, Scott Woodall wrote:
>
> I searched the bug tracker and the django users with no results, so is 
> what I'm seeing a bug?
>
> I have a form wizard that is using a callable within condition_dict. If I 
> try to access "wizard.steps.current" inside the callable, I get the 
> following error:
>
> "maximum recursion depth exceeded in __instancecheck__"
> Exception Location: 
> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py
>  
> in _reconstruct, line 307
>
> Just trying to figure out if I should file a bug report or I'm doing 
> something wrong?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to