Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

合并解密的msg和msg/multi的数据库后,点击聊天查看功能无数据,命令窗口出现未知错误,统计分析功能正常,是不是数据库没全合并成功 #159

Open
yigaorendanda opened this issue Jan 3, 2025 · 3 comments

Comments

@yigaorendanda
Copy link

code=9999
rjson['body']=''NoneType' object has no attribute 'values'\nTraceback (most recent call last):\n File "pywxdump\api\utils.py", line 224, in wrapper\n return func(*args, **kwargs)\n File "pywxdump\api\remote_server.py", line 72, in user_session_list\n return ReJson(0, list(ret.values()))\nAttributeError: 'NoneType' object has no attribute 'values'\n'
rjson['msg']='未知错误!'
rjson['extra']={}
File "threading.py", line 890, in _bootstrap
File "threading.py", line 932, in _bootstrap_inner
File "anyio_backends_asyncio.py", line 864, in run
File "pywxdump\api\utils.py", line 229, in wrapper
return ReJson(9999, body=f"{str(e)}\n{rdata}", error=str(e))
File "pywxdump\api\rjson.py", line 42, in ReJson
stack = traceback.extract_stack()

'NoneType' object has no attribute 'values'
Traceback (most recent call last):
File "pywxdump\api\utils.py", line 224, in wrapper
return func(*args, **kwargs)
File "pywxdump\api\remote_server.py", line 72, in user_session_list
return ReJson(0, list(ret.values()))
AttributeError: 'NoneType' object has no attribute 'values'

@xaoyaoo
Copy link
Owner

xaoyaoo commented Jan 5, 2025

具体是怎么操作的呢?按了哪些按钮

@yigaorendanda
Copy link
Author

yigaorendanda commented Jan 6, 2025

首先解密数据库
wxdump decrypt -k 64位密钥 -i "C:\Users\demo\Documents\WeChat Files\wxid_id\Msg" -o G:\GitHub-python\PyWxDump-master\wxdump_work\decrypted
然后先合并msg目录下的数据库
wxdump merge -i G:\GitHub-python\PyWxDump-master\wxdump_work\decrypted -o G:\GitHub-python\PyWxDump-master\wxdump_work\decrypted
再合并msg/multi目录下数据库
wxdump merge -i G:\GitHub-python\PyWxDump-master\wxdump_work\decrypted\Multi -o G:\GitHub-python\PyWxDump-master\wxdump_work\decrypted
最后把两个数据库合起来
wxdump merge -i merge_*1.db,merge_*2.db
开始查看
wxdump dbshow -merge merge_*1+*2.db
然后我点击网页里的统计分析有数据,但是一点到聊天查看就是no data,完整报错为
code=9999
rjson['body']=''NoneType' object has no attribute 'values'\nTraceback (most recent call last):\n File "pywxdump\api\utils.py", line 224, in wrapper\n return func(*args, **kwargs)\n File "pywxdump\api\remote_server.py", line 72, in user_session_list\n return ReJson(0, list(ret.values()))\nAttributeError: 'NoneType' object has no attribute 'values'\n'
rjson['msg']='未知错误!'
rjson['extra']={}
File "threading.py", line 890, in _bootstrap
File "threading.py", line 932, in _bootstrap_inner
File "anyio_backends_asyncio.py", line 864, in run
File "pywxdump\api\utils.py", line 229, in wrapper
return ReJson(9999, body=f"{str(e)}\n{rdata}", error=str(e))
File "pywxdump\api\rjson.py", line 42, in ReJson
stack = traceback.extract_stack()

'NoneType' object has no attribute 'values'
Traceback (most recent call last):
File "pywxdump\api\utils.py", line 224, in wrapper
return func(*args, **kwargs)
File "pywxdump\api\remote_server.py", line 72, in user_session_list
return ReJson(0, list(ret.values()))
AttributeError: 'NoneType' object has no attribute 'values'
[2025-01-06 09:49:54,119] INFO: 127.0.0.1:33044 - "POST /api/rs/user_session_list HTTP/1.1" 200 OK

@yigaorendanda
Copy link
Author

然后我发现合并的数据库统计分析的标签为未知,后面把总数据库再合并de_MicroMsg.db的新数据库,打开又对应上相关联系人了,我个人判断可能是数据库合并有点问题没合完,导致缺少数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants