Comments (6)
Original Author: csmall, Original Timestamp: 2011-10-08 04:46:48.788000
Original Body: I was doing the ToscaWidgets tutorial at http://www.turbogears.org/2.1/docs/main/ToscaWidgets/forms.html except i was using Mako templates instead of Genshi.
The section Customizing With CSS And Form Templates says that you can use the hover_help = True in your form template to make hovering help. Setting this to true gives a server error.
Module mako.runtime:718 in _exec_template view
callable_(context, _args, *_kwargs)
Module _tw_forms_templates_table_form_mak:104 in render_body view
UnboundLocalError: local variable 'help_text' referenced before assignment
from tg2.
Original Author: csmall, Original Timestamp: 2011-10-08 04:52:08.439000
Original Body: File '/home/virtualenv/tg2env/lib/python2.6/site-packages/Mako-0.5.0-py2.6.egg/mako/runtime.py', line 692 in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File '/home/virtualenv/tg2env/lib/python2.6/site-packages/Mako-0.5.0-py2.6.egg/mako/runtime.py', line 718 in exec_template
callable(context, _args, *_kwargs)
File '_tw_forms_templates_table_form_mak', line 104 in render_body
UnboundLocalError: local variable 'help_text' referenced before assignment
from tg2.
Original Author: pedersen, Original Timestamp: 2011-11-25 22:25:13.606000
Original Body: - milestone: 2.1.4 --> 2.2.0
from tg2.
Original Author: pedersen, Original Timestamp: 2012-08-24 01:47:52.674000
Original Body: - version: 2.1.3 --> 2.1.5
- milestone: 2.2.0 --> 2.3.0
from tg2.
Looking at this, this problem resides in tw.forms. Unfortunately, since this a problem in ToscaWidgets 0.9, and the TW team is pushing TW2, we might not be able to get a code fix for this. Instead, we are probably going to have to update this to include only TW2 references.
from tg2.
Closing as invalid as TW1 is no longer used by TG nor referenced by documentation.
from tg2.
Related Issues (20)
- Using Kajiki & Jinja simultaneously doesn't work HOT 2
- configuration error: no challengers - Documentation for TG2 REST API with Bearer Token Authentication? HOT 1
- vontri gher HOT 2
- In quickstart template /error/document crashes if accessed directly
- Message in ErrorController should not include html tags
- Hooks documentration version 2.4.0 HOT 2
- Issues with @cached(type='memory') and no Accept-Language header HOT 1
- Error: tg.i18n.LanguageError: No translation file found for domain HOT 2
- "TypeError: No object (name: context) has been registered for this thread" when use config.__getitem__ in tgschedule
- kajiki include/import DOCTYPE tag HOT 2
- Python 3: TypeError (no context) which was not present on Python 2 HOT 2
- TurboGears2 and pytest conflict HOT 3
- ErrorPageApplicationWrapper without TraceErrorsMiddleware will mute tracebacks
- Secure attribute for webflash cookie HOT 3
- SQLAlchemy version conflict with TG2.4.3 devtools/SQLAlchemy >=1.4 and zope-sqlalchemy 1.4
- turbogears.org website certificate is expired HOT 1
- Activating Genshi lenient mode in Tg2
- localedir is overrides and not working
- Route/HTTP middleware after method should execute after exception response generate
- Error with objectproxy globals and current versions of mock
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 tg2.