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)


   1. Create new virtualenv
   2. easy_install tg.devtools
   3. fix missing file  (see ticket #111)
      1. mkdir model_ming under
      
<virtualenv>/local/lib/python2.7/site-packages/tg.devtools-2.1.3-py2.7.egg/devtools/commands
      2. create session.py in the new directory
   4. paster quickstart -ai testproject
   5. cd testproject
   6. python setup.py develop
   7. paster setup-app development.ini
   8. paster serve development.ini
   9. visit app in browser
   10. 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

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to