mvt icon indicating copy to clipboard operation
mvt copied to clipboard

SafariBrowserState: no such table: tabs

Open besendorf opened this issue 1 year ago • 1 comments

ERROR    - Error in running extraction from module SafariBrowserState: no such table: tabs
║ Traceback (most recent call last):
║   File "/usr/local/lib/python3.11/site-packages/mvt/ios/modules/mixed/safari_browserstate.py", line 83, in _process_browser_state_db
║     cur.execute(
║ sqlite3.OperationalError: no such table: tabs
║ 
║ During handling of the above exception, another exception occurred:
║ 
║ Traceback (most recent call last):
║   File "/usr/local/lib/python3.11/site-packages/mvt/common/module.py", line 167, in run_module
║     exec_or_profile("module.run()", globals(), locals())
║   File "/usr/local/lib/python3.11/site-packages/mvt/common/utils.py", line 262, in exec_or_profile
║     exec(module, globals, locals)
║   File "<string>", line 1, in <module>
║   File "/usr/local/lib/python3.11/site-packages/mvt/ios/modules/mixed/safari_browserstate.py", line 172, in run
║     self._process_browser_state_db(browserstate_path)
║   File "/usr/local/lib/python3.11/site-packages/mvt/ios/modules/mixed/safari_browserstate.py", line 98, in _process_browser_state_db
║     cur.execute(
║ sqlite3.OperationalError: no such table: tabs

besendorf avatar Dec 04 '24 15:12 besendorf

I have the same issue on a phone I am testing, I think in some cases the database is empty. Could you please check if you can get the schema of your database?

Te-k avatar Dec 10 '24 14:12 Te-k

Let's just catch the table not existing error gracefully

roaree avatar Jul 03 '25 10:07 roaree