abrignoni / abrignoni/iLEAPP

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

Aperta
#1,211 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug User Support
Lingua principale
Python
Stelle
1.2k
Fork
303
Merge medio
4h 32m
PR unite (30g)
216

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.