Closed tkrunning closed 2 years ago
This is due to a Photos database schema change on Monterey. I've updated the dependencies in setup.py to pull the fixed version of osxphotos which is where the problem was. Update or re-install from git and the problem should be fixed. Let me know if you still have any issues!
That sounds great! I assume I'm supposed to run pipx upgrade photos_time_warp
to get the latest version?
However when I run that I get the following error:
ERROR: Could not find a version that satisfies the requirement osxphotos>=0.43.8 (from photos-time-warp) (from versions: 0.10.4, 0.10.5, 0.11.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.14.0, 0.14.2, 0.14.4, 0.14.6, 0.14.8, 0.14.14, 0.14.21, 0.15.0, 0.17.2, 0.17.6, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.21.2, 0.21.5, 0.21.6, 0.22.0, 0.22.4, 0.22.5, 0.22.7, 0.22.9, 0.22.10, 0.22.12, 0.22.13, 0.22.16, 0.22.17, 0.22.21, 0.22.23, 0.23.1, 0.23.3, 0.23.4, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.26.0, 0.26.1, 0.27.0, 0.27.1, 0.27.3, 0.27.4, 0.28.1, 0.28.2, 0.28.3, 0.28.4, 0.28.5, 0.28.6, 0.28.7, 0.28.8, 0.28.9, 0.28.10, 0.28.13, 0.28.14, 0.28.16, 0.28.17, 0.28.18, 0.28.19, 0.29.0, 0.29.1, 0.29.2, 0.29.5, 0.29.8, 0.29.9, 0.29.12, 0.29.13, 0.29.14, 0.29.16, 0.29.17, 0.29.18, 0.29.19, 0.29.22, 0.29.23, 0.29.24, 0.29.25, 0.29.26, 0.29.28, 0.29.29, 0.29.30, 0.30.0, 0.30.1, 0.30.2, 0.30.3, 0.30.4, 0.30.5, 0.30.6, 0.30.7, 0.30.9, 0.30.10, 0.30.12, 0.30.13, 0.31.0, 0.32.0, 0.33.0, 0.33.2, 0.33.3, 0.33.5, 0.33.7, 0.33.8, 0.34.0, 0.34.1, 0.34.2, 0.34.3, 0.34.4, 0.34.5, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.35.4, 0.35.5, 0.35.6, 0.35.7, 0.36.0, 0.36.1, 0.36.2, 0.36.4, 0.36.5, 0.36.6, 0.36.7, 0.36.8, 0.36.9, 0.36.10, 0.36.11, 0.36.13, 0.36.14, 0.36.15, 0.36.16, 0.36.17, 0.36.18, 0.36.19, 0.36.20, 0.36.21, 0.36.22, 0.36.23, 0.36.24, 0.36.25, 0.37.0, 0.37.1, 0.37.2, 0.37.3, 0.37.4, 0.37.5, 0.37.6, 0.37.7, 0.38.0, 0.38.2, 0.38.3, 0.38.4, 0.38.5, 0.38.6, 0.38.7, 0.38.8, 0.38.9, 0.38.11, 0.38.12, 0.38.13, 0.38.14, 0.38.15, 0.38.16, 0.38.17, 0.38.18, 0.38.19, 0.38.20, 0.38.21, 0.38.22, 0.39.0, 0.39.1, 0.39.2, 0.39.3, 0.39.4, 0.39.5, 0.39.6, 0.39.7, 0.39.8, 0.39.9, 0.39.10, 0.39.11, 0.39.12, 0.39.13, 0.39.15, 0.39.16, 0.39.17, 0.39.18, 0.39.19, 0.39.20, 0.39.21, 0.39.22, 0.39.23, 0.39.24, 0.39.25, 0.40.0, 0.40.1, 0.40.2, 0.40.3, 0.40.5, 0.40.6, 0.40.7, 0.40.8, 0.40.9, 0.40.10, 0.40.11, 0.40.12, 0.40.13, 0.40.14, 0.40.16, 0.40.17, 0.40.18, 0.40.19, 0.41.0, 0.41.1, 0.41.2, 0.41.3, 0.41.4, 0.41.5, 0.41.6, 0.41.7, 0.41.8, 0.41.9, 0.41.10, 0.41.11, 0.42.0, 0.42.1, 0.42.2, 0.42.3, 0.42.4, 0.42.6, 0.42.8, 0.42.9, 0.42.11, 0.42.12, 0.42.13, 0.42.14, 0.42.15, 0.42.17, 0.42.19, 0.42.20, 0.42.22, 0.42.23, 0.42.24, 0.42.26, 0.42.27, 0.42.28, 0.42.30, 0.42.31, 0.42.34, 0.42.35, 0.42.36, 0.42.37, 0.42.38, 0.42.39, 0.42.40, 0.42.41, 0.42.42, 0.42.43, 0.42.44, 0.42.45, 0.42.46, 0.42.51, 0.42.52, 0.42.54, 0.42.57, 0.42.58, 0.42.59, 0.42.60, 0.42.61, 0.42.62, 0.42.63, 0.42.64, 0.42.65, 0.42.66, 0.42.67, 0.42.69, 0.42.70, 0.42.71, 0.42.72, 0.42.73, 0.42.74, 0.42.77, 0.42.78, 0.42.79, 0.42.80, 0.42.82, 0.42.83, 0.42.84, 0.42.85, 0.42.86, 0.42.87, 0.42.88, 0.42.89, 0.42.90, 0.42.91, 0.42.92, 0.42.93, 0.42.94, 0.43.0, 0.43.1, 0.43.3, 0.43.4, 0.43.5, 0.43.6, 0.43.7)
ERROR: No matching distribution found for osxphotos>=0.43.8
'/Users/tkrunning/.local/pipx/venvs/photos-time-warp/bin/python -m pip install
--upgrade git+https://github.com/RhetTbull/photos_time_warp.git -q' failed
Edit: some more detailed output when running pip3 install --upgrade git+https://github.com/RhetTbull/photos_time_warp.git
without the -q
flag:
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting git+https://github.com/RhetTbull/photos_time_warp.git
Cloning https://github.com/RhetTbull/photos_time_warp.git to /private/var/folders/gq/1rqy_8g977g90cxn8mfylp5c0000gn/T/pip-req-build-c7_9ehuy
Running command git clone --filter=blob:none -q https://github.com/RhetTbull/photos_time_warp.git /private/var/folders/gq/1rqy_8g977g90cxn8mfylp5c0000gn/T/pip-req-build-c7_9ehuy
Resolved https://github.com/RhetTbull/photos_time_warp.git to commit 0805a1a4f778387847f8a06040fe187cce744beb
Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement osxphotos>=0.43.8 (from photos-time-warp) (from versions: 0.10.4, 0.10.5, 0.11.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.14.0, 0.14.2, 0.14.4, 0.14.6, 0.14.8, 0.14.14, 0.14.21, 0.15.0, 0.17.2, 0.17.6, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.21.2, 0.21.5, 0.21.6, 0.22.0, 0.22.4, 0.22.5, 0.22.7, 0.22.9, 0.22.10, 0.22.12, 0.22.13, 0.22.16, 0.22.17, 0.22.21, 0.22.23, 0.23.1, 0.23.3, 0.23.4, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.26.0, 0.26.1, 0.27.0, 0.27.1, 0.27.3, 0.27.4, 0.28.1, 0.28.2, 0.28.3, 0.28.4, 0.28.5, 0.28.6, 0.28.7, 0.28.8, 0.28.9, 0.28.10, 0.28.13, 0.28.14, 0.28.16, 0.28.17, 0.28.18, 0.28.19, 0.29.0, 0.29.1, 0.29.2, 0.29.5, 0.29.8, 0.29.9, 0.29.12, 0.29.13, 0.29.14, 0.29.16, 0.29.17, 0.29.18, 0.29.19, 0.29.22, 0.29.23, 0.29.24, 0.29.25, 0.29.26, 0.29.28, 0.29.29, 0.29.30, 0.30.0, 0.30.1, 0.30.2, 0.30.3, 0.30.4, 0.30.5, 0.30.6, 0.30.7, 0.30.9, 0.30.10, 0.30.12, 0.30.13, 0.31.0, 0.32.0, 0.33.0, 0.33.2, 0.33.3, 0.33.5, 0.33.7, 0.33.8, 0.34.0, 0.34.1, 0.34.2, 0.34.3, 0.34.4, 0.34.5, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.35.4, 0.35.5, 0.35.6, 0.35.7, 0.36.0, 0.36.1, 0.36.2, 0.36.4, 0.36.5, 0.36.6, 0.36.7, 0.36.8, 0.36.9, 0.36.10, 0.36.11, 0.36.13, 0.36.14, 0.36.15, 0.36.16, 0.36.17, 0.36.18, 0.36.19, 0.36.20, 0.36.21, 0.36.22, 0.36.23, 0.36.24, 0.36.25, 0.37.0, 0.37.1, 0.37.2, 0.37.3, 0.37.4, 0.37.5, 0.37.6, 0.37.7, 0.38.0, 0.38.2, 0.38.3, 0.38.4, 0.38.5, 0.38.6, 0.38.7, 0.38.8, 0.38.9, 0.38.11, 0.38.12, 0.38.13, 0.38.14, 0.38.15, 0.38.16, 0.38.17, 0.38.18, 0.38.19, 0.38.20, 0.38.21, 0.38.22, 0.39.0, 0.39.1, 0.39.2, 0.39.3, 0.39.4, 0.39.5, 0.39.6, 0.39.7, 0.39.8, 0.39.9, 0.39.10, 0.39.11, 0.39.12, 0.39.13, 0.39.15, 0.39.16, 0.39.17, 0.39.18, 0.39.19, 0.39.20, 0.39.21, 0.39.22, 0.39.23, 0.39.24, 0.39.25, 0.40.0, 0.40.1, 0.40.2, 0.40.3, 0.40.5, 0.40.6, 0.40.7, 0.40.8, 0.40.9, 0.40.10, 0.40.11, 0.40.12, 0.40.13, 0.40.14, 0.40.16, 0.40.17, 0.40.18, 0.40.19, 0.41.0, 0.41.1, 0.41.2, 0.41.3, 0.41.4, 0.41.5, 0.41.6, 0.41.7, 0.41.8, 0.41.9, 0.41.10, 0.41.11, 0.42.0, 0.42.1, 0.42.2, 0.42.3, 0.42.4, 0.42.6, 0.42.8, 0.42.9, 0.42.11, 0.42.12, 0.42.13, 0.42.14, 0.42.15, 0.42.17, 0.42.19, 0.42.20, 0.42.22, 0.42.23, 0.42.24, 0.42.26, 0.42.27, 0.42.28, 0.42.30, 0.42.31, 0.42.34, 0.42.35, 0.42.36, 0.42.37, 0.42.38, 0.42.39, 0.42.40, 0.42.41, 0.42.42, 0.42.43, 0.42.44, 0.42.45, 0.42.46, 0.42.51, 0.42.52, 0.42.54, 0.42.57, 0.42.58, 0.42.59, 0.42.60, 0.42.61, 0.42.62, 0.42.63, 0.42.64, 0.42.65, 0.42.66, 0.42.67, 0.42.69, 0.42.70, 0.42.71, 0.42.72, 0.42.73, 0.42.74, 0.42.77, 0.42.78, 0.42.79, 0.42.80, 0.42.82, 0.42.83, 0.42.84, 0.42.85, 0.42.86, 0.42.87, 0.42.88, 0.42.89, 0.42.90, 0.42.91, 0.42.92, 0.42.93, 0.42.94, 0.43.0, 0.43.1, 0.43.3, 0.43.4, 0.43.5, 0.43.6, 0.43.7)
ERROR: No matching distribution found for osxphotos>=0.43.8
Edit 2: It looks like the requirement should be osxphotos>=0.43.7
not osxphotos>=0.43.8
as the former is the latest release for osxphotos.
Edit 3: I created a tiny PR (which I've tested works on my system): #22
Doh! Thanks for the PR. I forgot I'd bumped the version number on osxphotos after some recent updates but haven't yet pushed a release.
First off, thanks for a very useful tool!
I'm correcting the time of some images in Photos.app, which works fine, however if I try to sync those changes to the original file I get the following error/traceback:
Any idea what's going on?
I have exiftool version
12.30
in case that matters (although, looking at the error I doubt that's the case). I'm running MacOS12.0.1
.