C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
분야별 포럼
C++빌더
델파이
파이어몽키
C/C++
프리파스칼
파이어버드
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

자유게시판
세상 살아가는 이야기들을 나누는 사랑방입니다.
[13574] [질문] Trac 오류 원인좀 알려주세요
크레브 [kkol] 14079 읽음    2007-11-26 16:27
질문 올릴만한 게시판이 없어서 여기에 올립니다.

SVN하고 TRAC깔아서 프로젝트 만들고 쓰다보면..
처음에 잘나오는 TRAC 화면이
며칠뒤에는 아래와 같은 오류 메시지가 뜨면서 모든 TRAC 화면 들이 제대로 안나옵니다.
현상을 보면.. 새로 만든 프로젝트는 확실히 화면이 정상적으로 나오는것 같습니다.

내가 파이썬을 아는것도 아니고...
이거 어째야 할지 난감하네요..
한글 문자 코든 관련된 것 때문에 그런거 같은데요..

SVN 1.4.4 와 TRAC 10.4 설치하고
TRAC 한글화 프로젝트에서 한글 TRAC을 설치한 상태입니다.

이 문제 해결할 방법 아시는분??

-----------------------------------------------------------
Oops…
Trac detected an internal error: If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — Trac의 사용자와 관리자 가이드

Python Traceback
Traceback (most recent call last):
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\web\main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\wiki\web_ui.py", line 97, in process_request
    page = WikiPage(self.env, pagename, version, db)
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\wiki\model.py", line 32, in __init__
    self._fetch(name, version, db)
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\wiki\model.py", line 53, in _fetch
    (name,))
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\db\util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "D:\ICT_Server\Python24\Lib\site-packages\trac\db\util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "D:\ICT_Server\Python24\Lib\site-packages\MySQLdb\cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
  File "D:\ICT_Server\Python24\Lib\site-packages\MySQLdb\connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb9 in position 17: unexpected code byte
DrK [whitekid]   2007-11-26 21:48 X
제가 알기론 Trac이 유니코드 데이터베이스를 사용하는데(아마도..)... 아마도 MySQL이 유니코드가 아닌가 보네요..
김도완 [purplecofe2]   2007-11-27 08:05 X
UTF8 문자열 디코딩에서 오류가 났네요.
DrK님의 언급이 맞는 것 같습니다.
문자열의 방식을 확인해보셔요.

+ -

관련 글 리스트
13574 [질문] Trac 오류 원인좀 알려주세요 크레브 14079 2007/11/26
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.