2012-05-20 2 views
1

토네이도 패키지에서 '블로그'데모를 실행하려고 할 때. 다음과 같은 문제가 있습니다.토네이도 실행 문제 "블로그"데모

Traceback (most recent call last): 
    File "./blog.py", line 196, in <module> 
    main() 
    File "./blog.py", line 190, in main 
    http_server = tornado.httpserver.HTTPServer(Application()) 
    File "./blog.py", line 63, in __init__ 
    user=options.mysql_user, password=options.mysql_password) 
    File "/usr/local/lib/python2.7/dist-packages/tornado/database.py", line 58, in __init__ 
    args = dict(conv=CONVERSIONS, use_unicode=True, charset="utf8", 
NameError: global name 'CONVERSIONS' is not defined 

어떤 도움을 주셔서 감사합니다.

+0

mysqldb를 설치하여 문제를 해결했습니다. – adream307

답변

0

먼저 python-MySQLdb를 설치 한 다음 블로그 데모에서 README를 읽으십시오