D:\code\wxbot_project_py2.7>weixin_bot.py
Traceback (most recent call last):
File "D:\code\wxbot_project_py2.7\weixin_bot.py", line 5, in
from wechat import WeChat
File "D:\code\wxbot_project_py2.7\wechat__init.py", line 4, in
from wechat import WeChat
File "D:\code\wxbot_project_py2.7\wechat\wechat.py", line 5, in
from utils import *
File "D:\code\wxbot_project_py2.7\wechat\utils.py", line 5, in
from config import Log
File "D:\code\wxbot_project_py2.7\config__init__.py", line 6, in
from log import Log
File "D:\code\wxbot_project_py2.7\config\log.py", line 12, in
cm = ConfigManager()
File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 19, in init__
data_dir = self.get('setting', 'prefix')
File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 27, in get
return self.cp.get(section, option)
File "C:\Python27\lib\ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'setting'
D:\code\wxbot_project_py2.7>weixin_bot.py Traceback (most recent call last): File "D:\code\wxbot_project_py2.7\weixin_bot.py", line 5, in
from wechat import WeChat
File "D:\code\wxbot_project_py2.7\wechat__init.py", line 4, in
from wechat import WeChat
File "D:\code\wxbot_project_py2.7\wechat\wechat.py", line 5, in
from utils import *
File "D:\code\wxbot_project_py2.7\wechat\utils.py", line 5, in
from config import Log
File "D:\code\wxbot_project_py2.7\config__init__.py", line 6, in
from log import Log
File "D:\code\wxbot_project_py2.7\config\log.py", line 12, in
cm = ConfigManager()
File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 19, in init__
data_dir = self.get('setting', 'prefix')
File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 27, in get
return self.cp.get(section, option)
File "C:\Python27\lib\ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'setting'