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

Caught IndexError while rendering: tuple index out of range #16

Open
tlesne opened this issue Jun 2, 2011 · 4 comments
Open

Caught IndexError while rendering: tuple index out of range #16

tlesne opened this issue Jun 2, 2011 · 4 comments

Comments

@tlesne
Copy link

tlesne commented Jun 2, 2011

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

@venkasub
Copy link

venkasub commented Jul 5, 2011

This is a simple fix. Would be great if included. I can do this, if it work with you..

@tlesne
Copy link
Author

tlesne commented Jul 5, 2011

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.

@dcramer
Copy link
Owner

dcramer commented Jul 5, 2011

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)

@tymofij
Copy link

tymofij commented Jul 19, 2011

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.

gregplaysguitar pushed a commit to gregplaysguitar/django-debug-toolbar that referenced this issue Nov 16, 2016
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