Comments (6)
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.
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.
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:
from flask-debugtoolbar.
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.
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.
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)
- Flask-SQLAlchemy 3 compatibility HOT 3
- Migrate the repo to `pallets-eco/flask-debugtoolbar` HOT 1
- Update CI workflows
- Modernize our packaging metadata files HOT 1
- New release incorporating the Flask-SQLAlchemy 3.x changes HOT 4
- Drop support for python 2 HOT 1
- Subdomains support HOT 2
- quickstart broken link
- Not working for subdmains - blocked by chrome/firefox because of http instead of https HOT 2
- '_request_ctx_stack' is deprecated and will be removed in Flask 2.3 HOT 3
- Breaks with Flask 2.3.0 (okay with 2.3.1) HOT 1
- Scrollbar not appearing HOT 1
- More help with reviewers/committers/maintainers? HOT 3
- flask-debugtoolbar is incompatible with newest version of werkzeug. HOT 2
- 0.13.1 breaks with Flask 3.0: ImportError: cannot import name '_request_ctx_stack' from 'flask.globals HOT 7
- 0.13.1 breaks on werkzeug 3: Response' object has no attribute 'charset HOT 1
- Drop support for Flask < 2.2.0 (and implicitly Python < 3.7) HOT 2
- Add a basic integration test that ensures the python package is installable HOT 5
- ReadTheDocs builds are broken HOT 2
- Address Flask 3.0 deprecation warnings on using __version__ (to be removed in Flask 3.1) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-debugtoolbar.