Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NextCloud long running job, ends up with error, about lrj.result #1393

Open
3 tasks done
varet80 opened this issue Sep 4, 2024 · 0 comments
Open
3 tasks done

NextCloud long running job, ends up with error, about lrj.result #1393

varet80 opened this issue Sep 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@varet80
Copy link
Contributor

varet80 commented Sep 4, 2024

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files
  • ❌ 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
@varet80 varet80 added the bug Something isn't working label Sep 4, 2024
@varet80 varet80 changed the title NextCloud long running job, ends up with error NextCloud long running job, ends up with error, about lrj.result Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant