Possible bug after updating to 2.5: IndexError: list index out of range
See original GitHub issueI have recently updated one of my app to django 2.2 and wagtail 2.5. Everything works fine when browsing but if I try to edit a page, I get:
IndexError: list index out of range
The site is broken until I restart the development server.
After running ./manage.py runserver
I can browse again, but if I try to edit I get back to the same error.
If I fall back to django 2.1.8 / wagtail 2.4 everything works fine. My python version is 3.6.8
Could this be an issue introduced by wagtail 2.5? What am I missing? Unfortunately I cannot test wagtail 2.5 with Django 2.1.8 to rule out any problems with the newest django version.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Does "IndexError: list index out of range" when trying to ...
The error message line for an IndexError doesn't give you great information. You can see that you have a sequence reference that is...
Read more >List Index Out of Range – Python Error Message Solved
You'll get the Indexerror: list index out of range error when iterating through a list and trying to access an item that doesn't...
Read more >Python IndexError: List Index Out of Range [Easy Fix] - Finxter
If you're like me, you try things first in your code and fix the bugs as they come. One frequent bug in Python...
Read more >Error: List Index out of range - When updating 11.3 Stable
The updater hangs on 67% for a long time then comes up with the error above. Current Version: FreeNAS-11.3-U5 Suggestions welcome.
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
Bug :2 - "How do I attach an ebuild. ... Bug:4404 - "IndexError: list index out of range on --pretend emerges" status:RESOLVED resolution:FIXED...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have installed new alpha version debug-toolbar from https://github.com/jazzband/django-debug-toolbar/releases/tag/2.0a1 and everithing works fine again
Adding
django-debug-toolbar==2.0a1
torequirements.txt
fixed this issue for me too.