abrignoni / abrignoni/iLEAPP

Multiple Plugins Failing with sqlite3.OperationalError: unable to open database file

未关闭
#1,211 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug User Support
主要语言
Python
星标
1.2k
派生
303
平均合并
4 小时 32 分钟
30 天内合并 PR
216

描述

Hi @JamesHabben,

I have integrated iLEAPP into a Swift macOS app and am seeing consistent issues across some plugins. While most plugins are working great, some are failing with `sqlite3.OperationalError: unable to open database file, even though the target files do exist`.

Here is example:

```
[6/427] get_applePodcasts [applePodcasts] artifact started
Reading get_applePodcasts artifact had errors!
Error was unable to open database file

Exception Traceback:
File "ileapp.py", line 462, in crunch_artifacts
plugin.method(files_found, category_folder, seeker, wrap_text, time_offset)
File "applePodcasts.py", line 33, in get_applePodcasts
cursor.execute('''
sqlite3.OperationalError: unable to open database file
```

Confirmed DB exists at:
data/private/var/mobile/Containers/Shared/AppGroup/243LU875E5.groups.com.apple.podcasts/Documents/MTLibrary.sqlite

What I’ve verified:
- The .sqlite files do exist in the extracted backup
- The same files can be opened manually with sqlite3 without issues
- Other plugins (that don't require SQLite access) work fine
- Full logs and database samples are attached for reference

Attachments:
- [_Script_Logs.zip](https://github.com/user-attachments/files/20951093/_Script_Logs.zip)
- [MTLibrary.sqlite.zip](https://github.com/user-attachments/files/20951120/MTLibrary.sqlite.zip)

Would appreciate any guidance on what might be causing this. Happy to test or debug further as needed.

Thanks again for your awesome work on iLEAPP!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。