- [Trac] WikiRename Plugin 한글페이지 수정 안되는 문제 수정
- 日常茶飯事
- 2012. 9. 7. 06:00
WikiRename Plugin에서 한글 위키페이지를 수정하려면 에러가 난다.
Error with wiki page names including non-ascii characters 를 참고해서 패치를 적용한다.
(util.py를 수정하면된다.)
플러그인을 다시 설치하고 Trac을 재시작한다.
Traceback (most recent call last):
File "C:\TOW\Python\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "C:\TOW\Python\Lib\site-packages\trac\web\main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "C:\TOW\Python\lib\site-packages\tracwebadmin-0.1.2dev_r6060-py2.4.egg\webadmin\web_ui.py", line 119, in process_request
path_info)
File "build\bdist.win32\egg\wikirename\web_ui.py", line 54, in process_admin_request
File "build\bdist.win32\egg\wikirename\util.py", line 71, in rename_page
File "C:\TOW\Python\lib\urllib.py", line 1117, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\uc8fc'
File "C:\TOW\Python\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "C:\TOW\Python\Lib\site-packages\trac\web\main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "C:\TOW\Python\lib\site-packages\tracwebadmin-0.1.2dev_r6060-py2.4.egg\webadmin\web_ui.py", line 119, in process_request
path_info)
File "build\bdist.win32\egg\wikirename\web_ui.py", line 54, in process_admin_request
File "build\bdist.win32\egg\wikirename\util.py", line 71, in rename_page
File "C:\TOW\Python\lib\urllib.py", line 1117, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\uc8fc'
Error with wiki page names including non-ascii characters 를 참고해서 패치를 적용한다.
(util.py를 수정하면된다.)
플러그인을 다시 설치하고 Trac을 재시작한다.
Recent comment