12425 / wechat-exporter

从 iTunes 同步数据导出微信聊天记录 (文本)
BSD 3-Clause "New" or "Revised" License
87 stars 16 forks source link

请教一下这是啥毛病,macos 13.1 #7

Open DeakosS opened 1 year ago

DeakosS commented 1 year ago

Traceback (most recent call last): File "/Users/*/Desktop/WeChatExport/WeChat_export.py", line 349, in iter_mbdb for f in next(os_walk(self._root))[1]: StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/Users//Desktop/WeChatExport/WeChat_export.py", line 483, in wechat.save_log() File "/Users//Desktop/WeChatExport/WeChat_export.py", line 435, in save_log for i, filename, messages, category in self.conversations: File "/Users//Desktop/WeChatExport/WeChat_export.py", line 398, in iter_conversation for i, (__, path, mm_db, chats_dbs, contacts_db) in enumerate(self.mmdb): File "/Users//Desktop/WeChatExport/WeChat_export.py", line 364, in iter_mmdb for db in self.mbdb: RuntimeError: generator raised StopIteration

DeakosS commented 1 year ago

解决了,权限问题orz,经验证m1pro macos13.1+wechat8.0+ios16.0适用