Open mringhofer opened 10 years ago
I'm no perl programmer, but the fix for me was to swap:
"dbi:SQLite:dbname=".$self->{_backup_directory}.$self->{_sms_db_filename},
with
"dbi:SQLite:dbname=".$self->{_backup_directory}."/".$self->{_sms_db_filename},
Here: https://github.com/chelseybaker/iOSMessageExport/blob/master/iOSSMSBackup.pm#L57 Hope that helps :smile:
The master branch does not have this issue but the improvements branch does. When I implement boxofrad's "fix" the script does execute but I don't get any images with the messages. Not sure if the "fix" is the reason for the mishap or if it's something else but I'd recommend just using the master branch instead of the improvements branch for now.
Thanks for sharing. I am having an issue with the script executing correctly. I am running on a Windows 7 environment with ActivePerl 5.16. I continue to get the following error:
C:\Perl16\itunes>perl backup.pl --directory_path bad7d5a00f78f7d30087f38844a131d f85f6268e/ DBD::SQLite::db prepare failed: no such table: handle at iOSSMSBackup.pm line 68 . DBD::SQLite::db prepare failed: no such table: handle at iOSSMSBackup.pm line 68 . Any help would be appreciated. This would be a very useful tool for me!