Comments (3)
Original Author: pedersen, Original Timestamp: 2011-03-29 02:44:15.659000
Original Body: Here is how to reproduce the problem:
create a new project with paster quickstart
in the index controller, insert flash(u"Hallle!") (and save the file with utf-8 encoding)
this should work and display a nice flash message
pretend you made a mistake by removing the u in front of the unicode string above
now you get a server error without any clue where to search for the error
the log output does not help either
This seems to be a problem of weberror (this happened with weberror 0.10.1). I was able to work around this by encoding short_er and long_er in weberror.evalexception.format_eval_html. It's currently not clear to me where weberror is developed, is this part of Pylons? We need to get this fixed properly in weberror and make TG2 use the fixed version.
02/24/09 15:11:23 changed by jorge.vargas
weberror was originally paste.something now it's a separate package maintained by the pylons people I believe mainline is http://knowledgetap.com/hg/weberror/
Delete 03/14/09 18:59:44 changed by mramm
priority changed from high to normal.
Delete 03/14/09 19:00:31 changed by mramm
WebError? is a seprate package, but errors in WebError? can be reported on the pylons ticket tracker or pylons list as Ben and Philip both run the WebError? project too.
Delete 03/14/09 20:01:27 changed by mramm
milestone changed from 2.0rc1 to 2.1.
Delete 03/15/09 05:27:26 changed by chrisz
description changed.
Delete 03/15/09 05:29:29 changed by chrisz
The same problem still exists with the current tip of the weberror repository mentioned by Jorge. I'll report this to the Pylons ML now.
Delete 04/24/09 15:43:25 changed by percious
if this is reported to Pylons, shall we close it on our end?
Delete 04/24/09 16:54:51 changed by chrisz
So far I had only reported it on the mailing list but nobody cared. I have now created Pylons ticket 606 with a pure Pylons test case for this problem.
Not sure if we should close such tickets. It reminds me or other TG developers to help out with a patch when we find some time, and TG users may also search for this in our active tickets.
from tg2.
Original Author: pedersen, Original Timestamp: 2012-08-24 01:42:46.294000
Original Body: - version: 2.1.0 --> 2.1.5
- milestone: 2.2.0 --> 2.3.0
from tg2.
This has been resolved by moving to Backlash, it now correctly exposes the error page with the flash call and exception traceback,
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.