-
-
Notifications
You must be signed in to change notification settings - Fork 368
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug Report
- 📁 I've Included a ZIP file containing my librephotos
logfiles - ❌ I have looked for similar issues (including closed ones)
- 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue
📝 Description of issue:
When scanning nextcloud photos, the end of the job throws an error
🔁 How can we reproduce it:
Run Nextcloud photos scan
logs:
2024-09-04 10:49:49,568 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064123.jpg, elapsed: 0.86624
2024-09-04 10:49:49,575 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3834/3843
2024-09-04 10:49:49,986 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064125.jpg exists already
2024-09-04 10:49:49,990 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064125.jpg, elapsed: 0.405934
2024-09-04 10:49:49,998 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3835/3843
2024-09-04 10:49:50,781 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064203.jpg exists already
2024-09-04 10:49:50,782 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064203.jpg, elapsed: 0.777127
2024-09-04 10:49:50,789 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3836/3843
2024-09-04 10:49:51,760 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064205.jpg exists already
2024-09-04 10:49:51,761 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064205.jpg, elapsed: 0.960615
2024-09-04 10:49:51,769 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3837/3843
2024-09-04 10:49:52,315 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064325.jpg exists already
2024-09-04 10:49:52,318 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064325.jpg, elapsed: 0.538387
2024-09-04 10:49:52,326 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3838/3843
2024-09-04 10:49:52,830 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064333.jpg exists already
2024-09-04 10:49:52,831 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064333.jpg, elapsed: 0.492849
2024-09-04 10:49:52,837 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3839/3843
2024-09-04 10:49:53,364 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064548.jpg exists already
2024-09-04 10:49:53,366 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_064548.jpg, elapsed: 0.520244
2024-09-04 10:49:53,373 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3840/3843
2024-09-04 10:49:54,153 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_184153(0).jpg exists already
2024-09-04 10:49:54,154 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_184153(0).jpg, elapsed: 0.771775
2024-09-04 10:49:54,161 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3841/3843
2024-09-04 10:49:54,957 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_184153.jpg exists already
2024-09-04 10:49:54,958 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240817_184153.jpg, elapsed: 0.787897
2024-09-04 10:49:54,965 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3842/3843
2024-09-04 10:49:56,546 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240826_135254.jpg exists already
2024-09-04 10:49:56,547 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/08/20240826_135254.jpg, elapsed: 1.574607
2024-09-04 10:49:56,554 : directory_watcher.py : scan_photos : 89 : INFO : begin handling of photo 3843/3843
2024-09-04 10:49:57,386 : directory_watcher.py : create_new_image : 131 : WARNING : photo /data/nextcloud_media/varet80/Photos/Videos/2024/09/20240902_213515.jpg exists already
2024-09-04 10:49:57,388 : directory_watcher.py : handle_new_image : 154 : INFO : job c6207edb-319d-44f4-abec-056cfdf7805d: save image: /data/nextcloud_media/varet80/Photos/Videos/2024/09/20240902_213515.jpg, elapsed: 0.823796
2024-09-04 10:49:57,397 : directory_watcher.py : scan_photos : 94 : INFO : Added 3843 photos
2024-09-04 10:49:57,399 : image_similarity.py : build_image_similarity_index : 64 : INFO : building similarity index for user varet80
2024-09-04 10:49:57,846 : image_similarity.py : build_image_similarity_index : 94 : INFO : building similarity index took 0.43 seconds
2024-09-04 10:49:57,855 : directory_watcher.py : scan_photos : 106 : ERROR : 'LongRunningJob' object has no attribute 'result'
Traceback (most recent call last):
File "/code/nextcloud/directory_watcher.py", line 100, in scan_photos
prev_result = lrj.result
^^^^^^^^^^
AttributeError: 'LongRunningJob' object has no attribute 'result'
Please provide additional information:
- 💻 Operating system: Linux
- ⚙ Architecture (x86 or ARM): x86
- 🔢 Librephotos version: 2024w32 and 2024w36
- 📸 Librephotos installation method (Docker, Kubernetes, .deb, etc.): kubernetes
- 🐋 If Docker or Kubernets, provide docker-compose image tag: 2024w32 and 2024w36
- 📁 How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): Local FS
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working