-
Notifications
You must be signed in to change notification settings - Fork 37
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
Invalid Taketime / 'int' object has no attribute '_getitem_' #62
Comments
try running the script as sudo - i found it tended to fix permission issues. On Thu, May 12, 2016 at 7:13 PM, RoedeanMC [email protected] wrote:
|
Afraid not I have tried: Its sucessfully adding tons of photos but it still fails on alot: DEBUG;2016-05-13 09:37:35,835; lycheesync.lycheesyncer; **** Trying to add to lychee album Departments_Academic Departments_Modern Foreign Languages_German_German Students 07_06_Roedean Girls: /images/images/Departments/Academic Departments/Modern Foreign Languages/German/German Students 07/06/Roedean Girls in Germany/Andrea.JPG The other problem I am having is all the photos on the lychee web server have todays date even though there is exif data on the photo files which I presume is because of this: DEBUG;2016-05-13 09:42:41,199; lycheesync.lycheesyncer; **** Trying to add to lychee album Departments_Academic Departments_Modern Foreign Languages_German_German Students 07_07_Roedean in Du: /images/images/Departments/Academic Departments/Modern Foreign Languages/German/German Students 07/07/Roedean in Duisburg 2 2007/IMGP0677.JPG |
Any suggestions I am a little stuck on this one... |
Hi ! First thanks for this bug report. OK, as far as I can see, your image has an exotic exif storage for the iso value. in File "lycheesync/lycheemodel.py", line 225, in init
with
This will fix the problem for the photos taken with this camera but is likely to crash other photos. To definitely fix your problem, is it possible for you to send me a picture that cause this bug so that I can reproduce your bug and fix it without breaking lycheesync and use it to my test suite ? Thanks again |
Good Afternoon,
I have just setup Lychee and LycheeSync for the first time on an Ubuntu server. The website it self seems to be working perfectly I can upload photos and its all happy however I am having a problem with lycheesync in the fact its creating albumbs but it won't uplaod the images:
INFO;2016-05-12 11:47:50,672; main; =================== start adding to lychee ==================
ERROR;2016-05-12 11:47:50,674; lycheesync.lycheedao; host: localhost
ERROR;2016-05-12 11:47:50,674; lycheesync.lycheedao; user: lychee
ERROR;2016-05-12 11:47:50,675; lycheesync.lycheedao; password: images
ERROR;2016-05-12 11:47:50,675; lycheesync.lycheedao; db: lychee
ERROR;2016-05-12 11:47:50,675; lycheesync.lycheedao; unix_socket: /var/run/mysqld/mysqld.sock
WARNING;2016-05-12 11:47:50,759; lycheesync.lycheemodel; invalid taketime: 2015:02:15 09:43:47 for /images/images/Trips/Physics Iceland 2015 004.JPG
ERROR;2016-05-12 11:47:50,760; lycheesync.lycheesyncer; 'int' object has no attribute 'getitem'
Traceback (most recent call last):
File "lycheesync/lycheesyncer.py", line 419, in sync
photo = LycheePhoto(self.conf, f, album)
File "lycheesync/lycheemodel.py", line 225, in init
self.exif.iso = value[0]
TypeError: 'int' object has no attribute 'getitem'
ERROR;2016-05-12 11:47:50,760; lycheesync.lycheesyncer; could not add Physics Iceland 2015 004.JPG to album Trips
INFO;2016-05-12 11:47:50,762; lycheesync.lycheesyncer; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO;2016-05-12 11:47:50,762; lycheesync.lycheesyncer; Directory scanned:/images/images
INFO;2016-05-12 11:47:50,762; lycheesync.lycheesyncer; Created albums: 0
ERROR;2016-05-12 11:47:50,762; lycheesync.lycheesyncer; 0 photos imported on 1 discovered
INFO;2016-05-12 11:47:50,763; lycheesync.lycheesyncer; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO;2016-05-12 11:47:50,763; main; =================== script successfully ended ==================
However if I open up Paint.Net make a lovely drawing and save it then lycheesync uploads it to Lychee absolutly fine so I know it is actually working so whats the problems with our photos?
The text was updated successfully, but these errors were encountered: