Ok, I have done some testing, and it looks like Locations.itdb.cbk isn't even being generated. I think that the following line is where everything fails:
Code:
success = itdb_hash72_compute_hash_for_sha1 (itdb->device, final_sha1,
cbk_hash72);
which returns "0" and causes this if statement to execute:
Code:
if (!success) {
g_array_free (cbk, TRUE);
return FALSE;
}
UPDATE:
Still tracing the problem but this is what's causing the above lines to fail:
Code:
static struct Hash78Info *read_hash_info (const Itdb_Device *device)
{
//code removed for clarity
read_ok = g_file_get_contents (filename, (gchar**)&info, &len, NULL);
//code removed for clarity
}
Bookmarks