humiaozuzu / wechat-explorer

微信聊天记录导出、分析工具
498 stars 106 forks source link

ValueError: need more than 1 value to unpack #12

Open alanban opened 6 years ago

alanban commented 6 years ago

DB path /Users/bansen/Documents/weixin/com.tencent.xin/Documents/**********************/DB/MM.sqlite Traceback (most recent call last): File "/usr/local/bin/wexp", line 11, in <module> sys.exit(main()) File "/Library/Python/2.7/site-packages/we/run.py", line 94, in main exporter = HTMLExporter(args.path, args.user_id, args.chatroom_id, args.start_at, args.end_at) File "/Library/Python/2.7/site-packages/we/contrib/html_exporter.py", line 15, in __init__ self.records = self.wechat.get_chatroom_records(chatroom_id, start_at, end_at) File "/Library/Python/2.7/site-packages/we/wechat.py", line 167, in get_chatroom_records user_id, msg = row[4].split(':\n', 1) ValueError: need more than 1 value to unpack

alanban commented 6 years ago

DB path /Users/bansen/Documents/weixin/com.tencent.xin/Documents/07ea6f2d7f8d5ef6c804fbbb1b462776/DB/MM.sqlite Traceback (most recent call last): File "/usr/local/bin/wexp", line 11, in sys.exit(main()) File "/Library/Python/2.7/site-packages/we/run.py", line 94, in main exporter = HTMLExporter(args.path, args.user_id, args.chatroom_id, args.start_at, args.end_at) File "/Library/Python/2.7/site-packages/we/contrib/html_exporter.py", line 15, in init self.records = self.wechat.get_chatroom_records(chatroom_id, start_at, end_at) File "/Library/Python/2.7/site-packages/we/wechat.py", line 167, in get_chatroom_records user_id, msg = row[4].split(':\n', 1) ValueError: need more than 1 value to unpack