You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When that revision is not found pretty error barfs with the following traceback (which doesn't get logged well because it is pretty error itself barfing):
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] mod_wsgi (pid=23189): Exception occurred processing WSGI script '/home/tiddlyweb/tiddlywebs/tiddlyspace.com/apache.py'.
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] Traceback (most recent call last):
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlyweb/web/wsgi.py", line 144, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self.application(environ, start_response)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlyweb/web/wsgi.py", line 236, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self.application(environ, replacement_start_response)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/cookiedomain.py", line 55, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self.application(environ, replacement_start_response)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlyweb/web/wsgi.py", line 249, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] self.application(environ, start_response))
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/tiddlyspace/controlview.py", line 281, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self.application(environ, replacement_start_response)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/tiddlyspace/repudiator.py", line 23, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] wrapper.replacement_start_response)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/prettyerror/exceptor.py", line 58, in __call__
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self._send_response(environ, start_response, exc_info, exc)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/prettyerror/exceptor.py", line 92, in _send_response
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] text = format_error_tiddler(environ, status_tiddler, exc)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/site-packages/tiddlywebplugins/prettyerror/exceptor.py", line 173, in format_error_tiddler
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return template.safe_substitute(**info)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] File "/usr/lib/python2.5/string.py", line 203, in safe_substitute
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] return self.pattern.sub(convert, self.template)
[Wed May 02 18:30:30 2012] [error] [client 86.142.249.43] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 35: ordinal not in range(128)
The problem is that the stuff in info has not been properly encoded.
The text was updated successfully, but these errors were encountered:
I made an effort to fix this by creating a failing test, but I can only get a failure under apache, so I replicated my potential fix live on tiddlyspace.com and that got the job done.
Here's an example:
http://cdent.tiddlyspace.com/bags/cdent-bkm_public/tiddlers/ongoing%20by%20Tim%20Bray%20·%204G%20Performance%20Silliness/revisions/563984
(note the '·' in the uri)
When that revision is not found pretty error barfs with the following traceback (which doesn't get logged well because it is pretty error itself barfing):
The problem is that the stuff in
info
has not been properly encoded.The text was updated successfully, but these errors were encountered: