Skip to content

Crash when trying to export photos from Photos library #1812

Open
@cckborg

Description

@cckborg

Before submitting a bug report, please ensure you are running the most recent version of osxphotos and that the bug is reproducible on the latest version

I just installed osxphotos today. I am running the following:

Describe the bug
osxphotos crashed.

To Reproduce
Steps to reproduce the behavior:

  1. What' the full command line you used with osxphotos?
    I ran the following command while in the directory of "/Users/Shared/Affairs, MomC":
    $ osxphotos export osxphotos-export/ --from-date "2018-01-01" --to-date "2018-12-31" --report export2018.csv --directory "{created.year}" --library ./Photos\ Library.photoslibrary/

  2. What was the error output?
    I got the following error message:

Something went wrong and osxphotos encountered an error:
RetryError[<Future at 0x10d5982d0 state=finished raised OperationalError>]
Crash log written to '/Users/Shared/Affairs, MomC/osxphotos_crash.log'
Please file a bug report at https://github.com/RhetTbull/osxphotos/issues with the crash log attached.

Expected behavior
I expected to get a report .csv file to test out exporting photos from a Photos library.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
$ osxphotos --version
osxphotos, version 0.69.2
Python 3.13.2 (main, Feb 4 2025, 14:51:09) [Clang 16.0.0 (clang-1600.0.26.6)]
Python executable: /Users/cckborg/.local/share/uv/tools/osxphotos/bin/python
macOS 14.7.4, arm64

Additional context
See attached crash log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions