Open robmarkcole opened 3 years ago
I think that is a typo in the docs, you can use
> dogsheep-photos apple-photos photos.db
hi @leafgarland that results in a new error:
(venv) (base) Robins-MacBook:datasette robin$ dogsheep-photos apple-photos photos.db
Traceback (most recent call last):
File "/Users/robin/datasette/venv/bin/dogsheep-photos", line 8, in <module>
sys.exit(cli())
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/robin/datasette/venv/lib/python3.8/site-packages/dogsheep_photos/cli.py", line 206, in apple_photos
db.conn.execute(
sqlite3.OperationalError: no such table: attached.ZGENERICASSET
Ahh, that might be because macOS Big Sur has changed the structure of the photos db. Might need to wait for a later release, there is a PR which adds support for Big Sur.
Yes, Big Sur Photos database doesn't have ZGENERICASSET
table. PR #31 will fix this.
Having installed in a venv I get: