Issue 2550686
Created on 2011-01-04 18:06 by Carpevima, last changed 2011-01-17 14:14 by ber.
| Messages | |||
|---|---|---|---|
| msg4218 | Author: [hidden] (Carpevima) | Date: 2011-01-04 18:06 | |
| Error de Templating
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 2: ordinal not in range(128)
Información de depuración:
Ha ocurrido un problema en su template "issue.search.html". 
Traza completa 
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/roundup/cgi/client.py", line
730, in renderContext
    result = pt.render(self, None, None, **args)
  File "/usr/lib/python2.4/site-packages/roundup/cgi/templating.py",
line 323, in render
    getEngine().getContext(c), output, tal=1, strictinsert=0)()
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 192, in __call__
    self.interpret(self.program)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 666, in do_useMacro
    self.interpret(macro)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 411, in do_optTag_tal
    self.do_optTag(stuff)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 396, in do_optTag
    return self.no_tag(start, program)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 391, in no_tag
    self.interpret(program)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 689, in do_defineSlot
    self.interpret(slot)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 666, in do_useMacro
    self.interpret(macro)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 608, in do_loop_tal
    self.interpret(block)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 555, in do_insertTranslation
    xlated_msgid = self.translate(msgid, default, i18ndict, obj)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 618, in translate
    msgid, i18ndict, default=default)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TranslationService.py",
line 77, in translate
    target_language=target_language)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TranslationService.py",
line 32, in translate
    _msg = self.gettext(msgid)
  File
"/usr/lib/python2.4/site-packages/roundup/cgi/TranslationService.py",
line 38, in gettext
    return self.ugettext(msgid).encode(self.OUTPUT_ENCODING)
  File "/usr/lib/python2.4/gettext.py", line 390, in ugettext
    return self._fallback.ugettext(message)
  File "/usr/lib/python2.4/gettext.py", line 391, in ugettext
    return unicode(message)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2:
ordinal not in range(128) | |||
| msg4219 | Author: [hidden] (ber) | Date: 2011-01-05 16:54 | |
| Which version of roundup and python were you trying? When did the error occur? | |||
| msg4223 | Author: [hidden] (Carpevima) | Date: 2011-01-14 09:45 | |
| The roundup is version 1.2.1 and Python 2.4.4 is the The error happens when I click on search menu sorry for my English, am Spanish and thank you very much for the help | |||
| msg4224 | Author: [hidden] (ber) | Date: 2011-01-17 09:34 | |
| 1.2.1 is a rather old version of roundup. Did you get it from your GNU distribution or did you install it yourself? Are you in a position to try a newer one? If you got if from your GNU/Linux distribution, you might also file a problem report with them. | |||
| msg4225 | Author: [hidden] (Carpevima) | Date: 2011-01-17 11:34 | |
| This program is installed in the company where I work, I've never used and I'm learning now. All the help you can give me I would be very useful. How I can solve this problem? Is installed on linux debian 2.4.27-2-386 Thanks Victor | |||
| msg4226 | Author: [hidden] (ber) | Date: 2011-01-17 14:14 | |
| Victor, best is to ask on the roundup-users mailing list, subscribe to it at https://lists.sourceforge.net/lists/listinfo/roundup-users and then post all the necessary infos. dpkg -s roundup on Debian should give the right version number of the installed roundup package. I could have todo with adaptations your admins did. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args | 
| 2011-01-17 14:14:58 | ber | set | status: new -> closed messages: + msg4226 | 
| 2011-01-17 11:34:30 | Carpevima | set | messages: + msg4225 | 
| 2011-01-17 09:34:10 | ber | set | messages: + msg4224 | 
| 2011-01-14 09:45:30 | Carpevima | set | messages:
  + msg4223 versions: + 1.2 | 
| 2011-01-05 16:54:48 | ber | set | nosy:
  + ber messages: + msg4219 title: Find -> Find exceptions.UnicodeDecodeError in issue.search.html | 
| 2011-01-04 18:06:50 | Carpevima | create | |