Importing Photos: SQLITE ERROR message

I just downloaded Tropy to my macOS and wanted to begin working with my JPEG files. However, when I tried importing them I kept getting the message SQLITE ERROR: NO SUCH TABLE . I am not trying to import from the Photos app, so that should not be a problem. I am importing photos from a location on my desktop. What’s going on?

Also, I echo x 1000 the need for pdf compatibility.

After the import fails, please select Help -> Show log files from the menu and post your project.log file. This will help us figure out what’s going on there. Thanks!

The whole file is too large to post. Here is a relevant sample.

#12",“label”:“project”,“timestamp”:“2018-07-12T00:30:27.297Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6429.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:26.826Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6436.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:27.929Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6443.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.006Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.006Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6444.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.200Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.200Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6445.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.369Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.369Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6446.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.529Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.529Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6447.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.732Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.733Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6448.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.882Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:29.882Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6457.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:31.292Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:31.292Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165058/IMG_6529.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:40:42.933Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7016.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:05.129Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:05.129Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7017.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:05.292Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:05.292Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7029.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:07.578Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7129.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:27.283Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7138.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.161Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.161Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7139.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.344Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.344Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7140.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.534Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.534Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7141.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.716Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.716Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7142.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.940Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:29.940Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_7164.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:34.298Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:41:34.298Z”}
{“level”:“verbose”,“message”:“item.import #29(27) Δ3m”,“label”:“project”,“timestamp”:“2018-07-12T00:41:42.156Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Pictures/Photos Library.photoslibrary/Masters/2018/01/13/20180113-165243/IMG_6988.JPG”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:55:15.294Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:55:15.295Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Desktop/Questions de methode/IMG_7029.jpg”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:35.357Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Desktop/Questions de methode/IMG_7043.jpg”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:37.292Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:37.292Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Desktop/Questions de methode/IMG_7129.jpg”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:49.820Z”}
{“level”:“warn”,“message”:“Failed to import “/Users/scott/Desktop/Questions de methode/IMG_7174.jpg”: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:56.297Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: photos”,“label”:“project”,“timestamp”:“2018-07-12T00:58:56.297Z”}
{“level”:“verbose”,“message”:“Error: SQLITE_ERROR: no such table: items”,“label”:“project”,“timestamp”:“2018-07-12T00:59:50.729Z”}

I’m afraid we’ll need the whole file. If you shutdown Tropy and restart the log file will be reset and will be much smaller.

However, this error really looks as if there is something wrong with your project file. Did you by any change move or remove the project’s .tpy file? By default the project file would be created in your Documents folder; it is fine to move the project file after creation while Tropy is closed; if you move the file while Tropy is open I would expect to see errors like those above.

Q: “Did you by any change move or remove the project’s .tpy file?”
No, I had only just begun to import photos. I had not moved anything. After shutting down and reopening Tropy, I received the following message:
/Users/scott/Documents/Sartre mss.tpy no project found.

The project log is still too large to post after restarting.

I think the best thing to is to create a new project, because the original project file seems to be missing.

If the new project wizard does not open automatically, you can open it via the menu by selecting File -> New -> Project. To make sure it works this time, I would create the project, then, when the project window opens, shutdown Tropy; check the Documents folder that the file actually exists and then restart Tropy.

Thank you. This seems to have worked.