Hi all,
I'm getting this error on a freshly created tg2 on Linux Mint 12 (amd64)
DeprecationWarning: You passed charset='iso-8859-1' to the Request constructor. As of WebOb 1.2, if your application needs a non-UTF-8 request charset, please construct the request without a charset or with a charset of 'None', then use ``req = req.decode(charset)``
Steps to reproduce (following the install instructions)
- Create new virtualenv
- easy_install tg.devtools
- fix missing file (see ticket #111)
- mkdir model_ming under <virtualenv>/local/lib/python2.7/site-packages/tg.devtools-2.1.3-py2.7.egg/devtools/commands
- create session.py in the new directory
- paster quickstart -ai testproject
- cd testproject
- python setup.py develop
- paster setup-app development.ini
- paster serve development.ini
- visit app in browser
- get error
Here is the full stack trace from the WebError page
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg/weberror/evalexception.py', line 431 in respond
app_iter = self.application(environ, detect_start_response)
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/Ming-0.2.2.tg1dev_20110928-py2.7.egg/ming/orm/middleware.py', line 16 in __call__
result =
self.app(environ, start_response)
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/repoze.who-1.0.19-py2.7.egg/repoze/who/middleware.py', line 65 in __call__
ids = self.identify(environ, classification)
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/repoze.who-1.0.19-py2.7.egg/repoze/who/middleware.py', line 162 in identify
identity = plugin.identify(environ)
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/repoze.who_friendlyform-1.0.8-py2.7.egg/repoze/who/plugins/friendlyform.py', line 122 in identify
request = Request(environ, charset=self.charset)
File '/home/tony/venvs/tg2/local/lib/python2.7/site-packages/WebOb-1.2b2-py2.7.egg/webob/request.py', line 124 in __init__
"req.decode(charset)``" % charset
DeprecationWarning: You passed charset='iso-8859-1' to the Request constructor. As of WebOb 1.2, if your application needs a non-UTF-8 request charset, please construct the request without a charset or with a charset of 'None', then use ``req = req.decode(charset)``
Any ideas?
Thanks,
Tony