recamshak / django-debug-panel

django-debug-toolbar in WebKit DevTools. Works fine with background Ajax requests and non-HTML responses.
BSD 3-Clause "New" or "Revised" License
404 stars 69 forks source link

python 2.7.3 django 1.6.1 debug_toolbar 0.11.0 AttributeError #3

Closed iperelivskiy closed 10 years ago

iperelivskiy commented 10 years ago

TimerDebugPanel object has no attribute _start_time Exception Location: debug_toolbar/panels/timer.py in process_response, line 35

recamshak commented 10 years ago

Unfortunately I'm unable to reproduce the bug, even with python 2.7.3, django 1.6.1 and debug_toolbar 0.11.0 ! But I suspect the problem comes from relative import in middleware.py. Could you please update to version 0.7.1 and check if the problem is still there ?

iperelivskiy commented 10 years ago

Hi,

That was because I initially disabled some panels in debug toolbar and then switched to the panel middleware. Now I have encoding issue:

screenshot from 2013-12-20 15 06 21

My system locale is en_US.UTF-8. And browser's is Russian, English.

Thanks for your help!

recamshak commented 10 years ago

The encoding should be fixed now. Please update django-debug-panel to version 0.7.2.

iperelivskiy commented 10 years ago

It worked, thanks!