GjjvdBurg / signal2html

Export a Signal backup to pretty HTML
MIT License
111 stars 15 forks source link

Database version 166 #76

Open DeltaTangoLima opened 1 year ago

DeltaTangoLima commented 1 year ago

Does anyone have any suggestions as to what I can change to get this working with database version 166? I tried using the updated files from @CSnowRules' fork (found in issue #72), but no luck.

2022-12-13 16:08:55 | INFO - This is signal2html version 0.2.11
2022-12-13 16:08:55 | INFO - Found Signal database version: 166.
2022-12-13 16:08:55 | WARNING - This database version is untested, please report errors.
Traceback (most recent call last):
  File "/Users/foo/Library/Python/3.8/bin/signal2html", line 11, in <module>
    load_entry_point('signal2html==0.2.11', 'console_scripts', 'signal2html')()
  File "/Users/foo/Library/Python/3.8/lib/python/site-packages/signal2html/__main__.py", line 20, in main
    sys.exit(main())
  File "/Users/foo/Library/Python/3.8/lib/python/site-packages/signal2html/ui.py", line 37, in main
    process_backup(args.input_dir, args.output_dir)
  File "/Users/foo/Library/Python/3.8/lib/python/site-packages/signal2html/core.py", line 677, in process_backup
    qry = db.execute("SELECT COUNT(*) FROM sqlite_schema")
sqlite3.OperationalError: no such table: sqlite_schema

I can't even find a sqlite_schema table in my dumped data - that sounds like something they wouldn't have trivially removed in a new database format. Could my database export be incomplete?

Would appreciate suggestions on what could be wrong here.

darkest-link commented 1 year ago

I am getting the same error on Signal database version 164.

GjjvdBurg - thank you for the work on this so far, really appreciate it.

GVilmos commented 1 year ago

Same error on Signal database version 154 and 170.