Skip to content

Sync fails with "TypeError: 'int' object has no attribute '__getitem__'" #80

@jacotec

Description

@jacotec

Hi,

I've discovered Lychee which looks like a good management tool for all the photos we sync automatically from our iPhones to a local Seafile server.

Unfortunately the very most photos do not sync due to an error. Affected are photos which are real photos taken by the iPhone camera while screenshots do sync.

ERROR;2017-12-30 21:02:09,348; lycheesync.lycheesyncer; could not add IMG_2497.JPG to album Marcos-IPhone-8Plus_2017
WARNING;2017-12-30 21:02:10,172; lycheesync.lycheemodel; invalid taketime: 2017:02:17 15:33:13 for /mnt/marco/IPhone/Marcos-IPhone-8Plus/2017/IMG_2498.JPG
ERROR;2017-12-30 21:02:10,172; lycheesync.lycheesyncer; 'int' object has no attribute '__getitem__'
Traceback (most recent call last):
  File "lycheesync/lycheesyncer.py", line 426, in sync
    photo = LycheePhoto(pid, self.conf, f, album)
  File "lycheesync/lycheemodel.py", line 214, in __init__
    self.exif.iso = value[0]
TypeError: 'int' object has no attribute '__getitem__'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions