Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-609

Export photo on Photos synchronize empty file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Postponed
    • Component/s: Behaviors

      Description

      When using the Export function of Photos with included modification ( not raw export ) the sync file is empty.

      on_created(self=<watchdog.tricks.LoggerTrick object at 0x107ca2c50>, event=<FileCreatedEvent: src_path='./IMG_9894.jpg.exporting'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x107ca2c50>, event=<DirModifiedEvent: src_path='.'>)
      on_moved(self=<watchdog.tricks.LoggerTrick object at 0x107ca2c50>, event=<FileMovedEvent: src_path='./IMG_9894.jpg.exporting', dest_path='./IMG_9894.jpg'>)
      
      looponux-2:Test loopingz$ watchmedo log .
      on_created(self=<watchdog.tricks.LoggerTrick object at 0x10be87c50>, event=<FileCreatedEvent: src_path='./Plop'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x10be87c50>, event=<DirModifiedEvent: src_path='.'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x10be87c50>, event=<FileModifiedEvent: src_path='./Plop'>)
      on_moved(self=<watchdog.tricks.LoggerTrick object at 0x10be87c50>, event=<FileMovedEvent: src_path='./Plop', dest_path='./Plop2'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x10be87c50>, event=<DirModifiedEvent: src_path='.'>)
      

      The events sent by MacOS don't include any FileModified as normally done with a simple

      with open("/Users/loopingz/Tmp/Test/Plop", "w") as f:
              time.sleep(20)
              f.write("BOUZOUF")
          os.rename("/Users/loopingz/Tmp/Test/Plop", "/Users/loopingz/Tmp/Test/Plop2")
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcattiau Rémi Cattiau
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: