Hi. Anyone know how can work Flask-DebugToolbar with Flask 0.8? Seems that static files not loaded :( Thanks.
I was recently having this same issue but I didn't dig into the code yet to check out why. I'll look into it in the morning. On Fri, Oct 14, 2011 at 5:20 AM, Alex K <lestatcheb@googlemail.com> wrote: > Hi. > Anyone know how can work Flask-DebugToolbar with Flask 0.8? > Seems that static files not loaded :( > > Thanks.
I tried fix this with http://pastebin.com/BLGmFZbW and seems it works, but it not measuring SQL queries time and not worked if I clicked to "EXPLAIN" or "SELECT". Thanks. On Sat, Oct 15, 2011 at 1:08 AM, Adam Patterson <fakeempire@gmail.com>wrote: > I was recently having this same issue but I didn't dig into the code > yet to check out why. I'll look into it in the morning. > > On Fri, Oct 14, 2011 at 5:20 AM, Alex K <lestatcheb@googlemail.com> wrote: > > Hi. > > Anyone know how can work Flask-DebugToolbar with Flask 0.8? > > Seems that static files not loaded :( > > > > Thanks. >
Hi all, Sorry for the state of the debugtoolbar these days. Since I don't use flask currently for any projects I don't really have the time to keep maintaining the debugtoolbar. I know alot of problems are related to the whole flaskext package namespace mess, thus a good first step is renaming the flaskext.debugtoolbar to flaskext_debugtoolbar. I'll try to update it this week, but if anyone wants to take the project over from me then let me know. Regards, Michael On Mon, Oct 17, 2011 at 10:23, Alex K <lestatcheb@googlemail.com> wrote: > I tried fix this with http://pastebin.com/BLGmFZbW > > and seems it works, but it not measuring SQL queries time and not worked if > I clicked to "EXPLAIN" or "SELECT". > > > Thanks. > > > On Sat, Oct 15, 2011 at 1:08 AM, Adam Patterson <fakeempire@gmail.com>wrote: > >> I was recently having this same issue but I didn't dig into the code >> yet to check out why. I'll look into it in the morning. >> >> On Fri, Oct 14, 2011 at 5:20 AM, Alex K <lestatcheb@googlemail.com> >> wrote: >> > Hi. >> > Anyone know how can work Flask-DebugToolbar with Flask 0.8? >> > Seems that static files not loaded :( >> > >> > Thanks. >> > >
Maybe it will be very useful if measuring actual time of SQL from EXPLAIN ANALYZE instead of time_start() - time_end(). I write some (not very good) code for Flask-Debugtoolbar in sqlalchemy.py: http://pastebin.com/nYPFve7w And now it show actual time of SQLs. I think for better solution. On Mon, Oct 17, 2011 at 4:22 PM, Michael van Tellingen < michaelvantellingen@gmail.com> wrote: > Hi all, > > Sorry for the state of the debugtoolbar these days. Since I don't use flask > currently for any projects I don't really have the time to keep maintaining > the debugtoolbar. > > I know alot of problems are related to the whole flaskext package namespace > mess, thus a good first step is renaming the flaskext.debugtoolbar to > flaskext_debugtoolbar. > > I'll try to update it this week, but if anyone wants to take the project > over from me then let me know. > > Regards, > Michael > > > > On Mon, Oct 17, 2011 at 10:23, Alex K <lestatcheb@googlemail.com> wrote: > >> I tried fix this with http://pastebin.com/BLGmFZbW >> >> and seems it works, but it not measuring SQL queries time and not worked >> if I clicked to "EXPLAIN" or "SELECT". >> >> >> Thanks. >> >> >> On Sat, Oct 15, 2011 at 1:08 AM, Adam Patterson <fakeempire@gmail.com>wrote: >> >>> I was recently having this same issue but I didn't dig into the code >>> yet to check out why. I'll look into it in the morning. >>> >>> On Fri, Oct 14, 2011 at 5:20 AM, Alex K <lestatcheb@googlemail.com> >>> wrote: >>> > Hi. >>> > Anyone know how can work Flask-DebugToolbar with Flask 0.8? >>> > Seems that static files not loaded :( >>> > >>> > Thanks. >>> >> >> >