this error happens when the variable PAISCLIENTE contains caracter
latin-1

Traceback (most recent call last):
  File
"c:\python24\lib\site-packages\CherryPy-2.1.1-py2.4.egg\cherrypy\_cphttptools.py",
line 271, in run
    main()
  File
"c:\python24\lib\site-packages\CherryPy-2.1.1-py2.4.egg\cherrypy\_cphttptools.py",
line 502, in main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File
"c:\python24\lib\site-packages\TurboGears-0.8.8-py2.4.egg\turbogears\controllers.py",
line 124, in newfunc
    output = func(self, *args, **kw)
  File
"C:\devel\SWAN_WEBCAP\SWAN_WEBCAP\trunk\src\webcap\webcap\controllers.py",
line 171, in insnewcliente
    paiscliente=paiscliente))
  File
"c:\python24\lib\site-packages\turbogears-0.8.8-py2.4.egg\turbogears\__init__.py",
line 42, in url
    args = ["%s=%s" % (key, urllib.quote(str(value)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position
5-6: ordinal not in range(128)

Reply via email to