Re: Unicode error
Ted Leung <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | Sauria Associates, LLC |
| Message-ID | <[email protected]> |
Francois Granger wrote: > Downloading the latest from CVS this morning. Installed it in a > separate cgi directory to test for the new comment feature. > > I cross checked some initial errors. It still does not display in the > browser, so I went to the command line and this is the result: > > [fbg:/Library/WebServer/cgi] fgranger% ./pyblosxom.cgi > ETag: "1050482764.0" > Last-Modified: Wed, 16 Apr 2003 08:46:04 GMT > Content-type: text/html > > Traceback (most recent call last): > File "./pyblosxom.cgi", line 40, in ? > p.run() > File "./libs/pyblosxom.py", line 338, in run > renderer.render() > File "./libs/renderers/blosxom.py", line 217, in render > self.__outputFlavour(parsevars,'head') > File "./libs/renderers/blosxom.py", line 249, in __outputFlavour > self._out.write(tools.parse(entry, template)) > File "./libs/tools.py", line 141, in parse > return u'' + VAR_REGEXP.sub(Replacer(var_dict).replace, template) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position > 62: ordinal not in range(128) > [fbg:/Library/WebServer/cgi] fgranger% Is your machine using an encoding besides iso-8859-1? > > > By the way, after installing everything following the read me for > comments, I am left with a file: > contrib/plugins/comments/commentAPI.cgi > > I don't know were this one goes..... > This file only got checked in last night, and doesn't have as much documentation as it should. If you want to support commentAPI, then map commentAPI.cgi to an accessible path on your webserver. You'll then need to add a new tag to your RSS 2 feed in order to turn this on. More docs coming tonight. For now, see http://www.wellformedweb.org Ted -- Ted Leung Principal, Sauria Associates, LLC 9506 NE North Town Loop Bainbridge Island WA 98110-3521 (206) 780-7918 [email protected] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf