django-debug-toolbar
django-debug-toolbar copied to clipboard
Caught IndexError while rendering: tuple index out of range
On Windows, splitting a path with '/' does not work well ;-)
The exception is located at debug_toolbar/panels/sql.py in content, line 195 Bug fixed by importing os, and replacing '/' by os.path.sep
This is a simple fix. Would be great if included. I can do this, if it work with you..
Fix commited and pull request sent :-) I wanted to save me the hassle of installing git ... just tried to work it with hg-git, but it didn't work. I just realized I could commit directly from github.
Can you confirm if this is solved in the master repo?
https://github.com/django-debug-toolbar/django-debug-toolbar
(I need to update my repo so people are aware that its no longer the current version)
I still experienced the behavior described in ticket and still had to apply fix by Timal on today's django-debug-toolbar/django-debug-toolbar.