0

I'm working on writing a program that can read SMS information from the iTunes generated backup file of an iPhone.

At the moment I'm just playing around with some techniques, and have managed to put together a Python script that actually works. The entire program works fine under Mac OS, but when I take the script to Windows 7 and execute it, the following line throws an error;

Traceback (most recent call last):
  File "C:\Users\Nat\Desktop\MessageExtract.py", line 12, in <module>
    cur1.execute("SELECT handle_ID, text, is_from_me FROM message")
DatabaseError: file is encrypted or is not a database

Now, the file itself has no extension by default, and as far as I'm aware it isn't encrypted because the exact same script executes without error on my Mac OS side of things.

Does anybody have any ideas as to why this problem exists, and any possible solutions?

4

1 回答 1

0

试图做同样的事情。

尝试按照此处的建议更新 sqlite3 dll ,它似乎工作得更好。

于 2013-03-23T07:15:52.720 回答