Giter VIP home page Giter VIP logo

Comments (6)

mgood avatar mgood commented on July 20, 2024

What version of the toolbar do you have installed? This sounds like a duplicate of an issue fixed in the recently released 0.8.

On Mar 8, 2013, at 7:45 PM, Brenton Simpson [email protected] wrote:

If you reorder DEBUG_TB_PANELS so ProfilerDebugPanel comes before RequestVarsDebugPanel, you'll get an obscure error: AttributeError: 'functools.partial' object has no attribute 'module'

This is OK:

DEBUG_TB_PANELS = [
'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel',
'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel',
]
This is not:

DEBUG_TB_PANELS = [
'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel',
'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel',
]


Reply to this email directly or view it on GitHub.

from flask-debugtoolbar.

appsforartists avatar appsforartists commented on July 20, 2024

It came with flask-appengine-template. I'll try upgrading to the head
revision of your project.

  • Brenton
    Sent from my phone.
    On Mar 9, 2013 10:43 AM, "Matt Good" [email protected] wrote:

What version of the toolbar do you have installed? This sounds like a
duplicate of an issue fixed in the recently released 0.8.

On Mar 8, 2013, at 7:45 PM, Brenton Simpson [email protected]
wrote:

If you reorder DEBUG_TB_PANELS so ProfilerDebugPanel comes before
RequestVarsDebugPanel, you'll get an obscure error: AttributeError:
'functools.partial' object has no attribute 'module'

This is OK:

DEBUG_TB_PANELS = [
'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel',
'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel',
]
This is not:

DEBUG_TB_PANELS = [
'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel',
'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel',
]


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-14668234
.

from flask-debugtoolbar.

appsforartists avatar appsforartists commented on July 20, 2024

Unfortunately, that didn't fix it. I'm using the HEAD revision. As you can see in this screenshot, the patch from #35 is included:
Screen Shot 2013-03-09 at 11 13 15 AM

from flask-debugtoolbar.

mgood avatar mgood commented on July 20, 2024

I've tried flipping the order around, but I can't reproduce the issue. There's a Python bug for a similar error, but I don't see an obvious application here.

Can you narrow this down to a simple example app that demonstrates the problem?

from flask-debugtoolbar.

appsforartists avatar appsforartists commented on July 20, 2024

I'm having a hard time creating a reduction. As the screenshot above shows, I was able to reproduce it with the HEAD revision, but I am having a hard time now. If I keep running into this issue, I'll reopen.

Thanks.

from flask-debugtoolbar.

mgood avatar mgood commented on July 20, 2024

Ok yeah let me know if it comes up again.

On Sun, Mar 10, 2013 at 1:25 PM, Brenton Simpson [email protected]
wrote:

I'm having a hard time creating a reduction. As the screenshot above shows, I was able to reproduce it with the HEAD revision, but I am having a hard time now. If I keep running into this issue, I'll reopen.

Thanks.

Reply to this email directly or view it on GitHub:
#47 (comment)

from flask-debugtoolbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.