2015-03-14, 00:04
(2015-03-13, 09:52)Razze Wrote: Please provide a logfile: https://github.com/trakt/script.trakt#creating-logfiles
Otherwise I could just guess.
Sorry, forgot about that, hope this is what you need. I tried to filter out the non-Trakt related things.
Code:
2:43:49 T:124268544 DEBUG: Library Data Provider: service version 0.0.7 started
22:43:49 T:805138432 DEBUG: [script.trakt] __main__: Loading 'script.trakt' version '3.0.0'
22:43:49 T:805138432 DEBUG: [script.trakt] service: Service thread starting.
22:43:50 T:983702408 DEBUG: KodiController: Button press remoteAction = 7 originator = 1
22:43:50 T:804605952 DEBUG: Version Check: Version 0.3.2 started
22:43:50 T:805138432 DEBUG: [script.trakt] service: [traktPlayer] Initalized.
22:43:50 T:805138432 DEBUG: [script.trakt] service: [traktMonitor] Initalized.
22:43:50 T:805138432 DEBUG: [script.trakt] traktapi: Initializing.
22:43:50 T:983702408 DEBUG: KodiController: Button press remoteAction = 7 originator = 1
22:43:50 T:135598080 DEBUG: CWinEventsIOS: Button press keyID = 4
22:43:50 T:983702408 DEBUG: KodiController: Button press remoteAction = 7 originator = 1
22:43:50 T:805138432 DEBUG: [script.trakt] requests.packages.urllib3.util.retry: Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
22:43:50 T:983702408 DEBUG: Previous line repeats 1 times.
22:43:50 T:983702408 DEBUG: KodiController: Button press remoteAction = 7 originator = 1
22:43:50 T:135598080 DEBUG: CWinEventsIOS: Button press keyID = 4
22:43:50 T:124268544 DEBUG: RunQuery took 333 ms for 147 items query: select * from movieview WHERE ((movieview.playCount IS NULL OR movieview.playCount < 1))
22:43:50 T:983702408 DEBUG: KodiController: Button press remoteAction = 7 originator = 1
22:43:50 T:805138432 INFO: [script.trakt] requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): api-v2launch.trakt.tv
22:43:51 T:805138432 DEBUG: [script.trakt] requests.packages.urllib3.connectionpool: "POST /auth/login HTTP/1.1" 200 None
22:43:54 T:124801024 DEBUG: DoWork - trying to extract filestream details from video file nfs://100.000.0.000/nfs/Public/Tv Shows/Brooklyn Nine-Nine/Season 02/Brooklyn Nine-Nine - S02E17 - Boyle-Linetti Wedding - HD TV.mkv
22:43:59 T:804605952 NOTICE: VideoInfoScanner: Starting scan ..
22:43:59 T:804605952 DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
22:43:59 T:804605952 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
22:43:59 T:805138432 DEBUG: [script.trakt] service: [traktMonitor] onDatabaseScanStarted(database: video)
22:43:59 T:805138432 DEBUG: [script.trakt] service: Queuing for dispatch: {'action': 'scanStarted'}
22:43:59 T:805138432 DEBUG: [script.trakt] service: Queued dispatch: {u'action': u'scanStarted'}
22:43:59 T:805138432 DEBUG: [script.trakt] service: Dispatch: {u'action': u'scanStarted'}
22:43:59 T:124268544 DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1))
22:43:59 T:124268544 DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strAlbum <> ''
22:43:59 T:124268544 DEBUG: GetAlbumsByWhere - query took 2 ms
22:43:59 T:124268544 DEBUG: RunQuery took 206 ms for 147 items query: select * from movieview WHERE ((movieview.playCount IS NULL OR movieview.playCount = 0))
22:44:00 T:124801024 DEBUG: NFS: Context for 100.000.0.000/nfs not open - get a new context.
22:44:02 T:124801024 DEBUG: NFS: Connected to server 000.000.0.100 and export /nfs
22:44:02 T:124801024 DEBUG: NFS: chunks: r/w 32768/32768
22:44:02 T:124801024 DEBUG: CNFSFile::Open - opened nfs/Public/Tv Shows/Brooklyn Nine-Nine/Season 02/Brooklyn Nine-Nine - S02E17 - Boyle-Linetti Wedding - HD TV.mkv
22:44:02 T:124801024 DEBUG: Open - probing detected format [matroska,webm]
22:44:02 T:124801024 DEBUG: Open - avformat_find_stream_info starting
22:44:02 T:124801024 DEBUG: Open - av_find_stream_info finished
22:44:02 T:124801024 INFO: ffmpeg[7705000]: Input #0, matroska,webm, from 'nfs://100.000.0.000/nfs/Public/Tv Shows/Brooklyn Nine-Nine/Season 02/Brooklyn Nine-Nine - S02E17 - Boyle-Linetti Wedding - HD TV.mkv':
22:44:02 T:124801024 INFO: ffmpeg[7705000]: Metadata:
22:44:02 T:124801024 INFO: ffmpeg[7705000]: encoder : libebml v1.3.0 + libmatroska v1.4.1
22:44:02 T:124801024 INFO: ffmpeg[7705000]: creation_time : 2015-03-02 01:17:34
22:44:02 T:124801024 INFO: ffmpeg[7705000]: Duration: 00:21:40.51, start: 0.000000, bitrate: 3362 kb/s
22:44:02 T:124801024 INFO: ffmpeg[7705000]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
22:44:02 T:124801024 INFO: ffmpeg[7705000]: Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
22:44:02 T:124801024 DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
22:44:02 T:124801024 DEBUG: CDVDDemuxFFmpeg::AddStream(1, ...) -> 1
22:44:02 T:124801024 DEBUG: CNFSFile::Close closing file nfs/Public/Tv Shows/Brooklyn Nine-Nine/Season 02/Brooklyn Nine-Nine - S02E17 - Boyle-Linetti Wedding - HD TV.mkv
22:44:04 T:124268544 DEBUG: RunQuery took 2086 ms for 2991 items query: select * from episodeview WHERE ((episodeview.playCount IS NULL OR episodeview.playCount < 1))
22:44:09 T:804605952 DEBUG: VideoInfoScanner: Scanning dir 'nfs://100.000.0.000/nfs/Public/Movies/' as not in the database
22:44:14 T:124268544 DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strAlbum <> ''
22:44:14 T:124268544 DEBUG: GetAlbumsByWhere - query took 1 ms
22:44:14 T:124268544 DEBUG: RunQuery took 3 ms for 1 items query: select * from movieview WHERE (movieview.idFile IN (SELECT DISTINCT idFile FROM bookmark WHERE type = 1))
22:44:15 T:124268544 DEBUG: RunQuery took 654 ms for 8 items query: SELECT * FROM tvshowview WHERE ( ((tvshowview.watchedcount > 0 AND tvshowview.watchedcount < tvshowview.totalCount) OR (tvshowview.watchedcount = 0 AND EXISTS (SELECT 1 FROM episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0))))
22:44:15 T:124268544 DEBUG: RunQuery took 5 ms for 1 items query: select * from episodeview WHERE (episodeview.idShow = 8) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:15 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:16 T:124268544 DEBUG: RunQuery took 7 ms for 3 items query: select * from episodeview WHERE (episodeview.idShow = 47) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:16 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:33 T:804605952 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:34
22:44:33 T:804605952 DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
22:44:33 T:804605952 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished
22:44:33 T:804605952 DEBUG: Thread VideoInfoScanner 0 terminating
22:44:33 T:805138432 DEBUG: [script.trakt] service: [traktMonitor] onDatabaseUpdated(database: video)
22:44:33 T:805138432 DEBUG: [script.trakt] service: Queuing for dispatch: {'action': 'databaseUpdated'}
22:44:33 T:805138432 DEBUG: [script.trakt] service: Queued dispatch: {u'action': u'databaseUpdated'}
22:44:33 T:805138432 DEBUG: [script.trakt] service: Dispatch: {u'action': u'databaseUpdated'}
22:44:33 T:805138432 DEBUG: [script.trakt] service: Performing sync after library update.
22:44:33 T:804605952 DEBUG: [script.trakt] sync: Starting synchronization with Trakt.tv
22:44:33 T:804605952 DEBUG: POParser: loaded 132 strings from file /var/mobile/Library/Preferences/Kodi/addons/script.trakt/resources/language/English/strings.po
22:44:33 T:804605952 DEBUG: [script.trakt] sync: [Movies Sync] Getting movie data from Kodi
22:44:34 T:124801024 DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update
22:44:34 T:135598080 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
22:44:34 T:804605952 DEBUG: RunQuery took 218 ms for 228 items query: select * from movieview
22:44:34 T:135598080 DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
22:44:34 T:124801024 DEBUG: RunQuery took 391 ms for 10 items query: select * from movieview ORDER BY dateAdded desc, idMovie desc LIMIT 10
22:44:34 T:124268544 DEBUG: RunQuery took 5 ms for 1 items query: select * from movieview WHERE (movieview.idFile IN (SELECT DISTINCT idFile FROM bookmark WHERE type = 1))
22:44:35 T:136663040 WARNING: DARWINIOS: underflow (2268 vs 3764 bytes)
22:44:36 T:136663040 WARNING: DARWINIOS: underflow (0 vs 3764 bytes)
22:44:36 T:124268544 DEBUG: RunQuery took 893 ms for 8 items query: SELECT * FROM tvshowview WHERE ( ((tvshowview.watchedcount > 0 AND tvshowview.watchedcount < tvshowview.totalCount) OR (tvshowview.watchedcount = 0 AND EXISTS (SELECT 1 FROM episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0))))
22:44:36 T:124268544 DEBUG: RunQuery took 5 ms for 1 items query: select * from episodeview WHERE (episodeview.idShow = 8) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:36 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:36 T:124801024 DEBUG: RunQuery took 1965 ms for 10 items query: select * from episodeview ORDER BY dateAdded desc, idEpisode desc LIMIT 10
22:44:36 T:124801024 DEBUG: RunQuery took 15 ms for 0 items query: select * from musicvideoview ORDER BY dateAdded desc, idMVideo desc LIMIT 10
22:44:37 T:124268544 DEBUG: RunQuery took 95 ms for 3 items query: select * from episodeview WHERE (episodeview.idShow = 47) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:37 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:37 T:124801024 DEBUG: CRecentlyAddedJob::UpdateTotal() - Running RecentlyAdded home screen update
22:44:37 T:124268544 DEBUG: RunQuery took 6 ms for 1 items query: select * from episodeview WHERE (episodeview.idShow = 15) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:37 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:37 T:124268544 DEBUG: RunQuery took 15 ms for 2 items query: select * from episodeview WHERE (episodeview.idShow = 41) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:37 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:38 T:124268544 DEBUG: RunQuery took 37 ms for 2 items query: select * from episodeview WHERE (episodeview.idShow = 39) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:38 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:38 T:124268544 DEBUG: RunQuery took 84 ms for 64 items query: select * from episodeview WHERE (episodeview.idShow = 56) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:38 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:38 T:804605952 ERROR: Exception in thread trakt-sync:
Traceback (most recent call last):
File "/Users/Shared/jenkins/workspace/IOS-ATV2/tools/depends/xbmc-depends/iphoneos4.2_armv7-target/lib/python2.6/threading.py", line 532, in __bootstrap_inner
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/service.py", line 281, in run
sync.sync()
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/sync.py", line 936, in sync
self.__syncMovies()
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/sync.py", line 824, in __syncMovies
kodiMovies = self.__kodiLoadMovies()
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/sync.py", line 591, in __kodiLoadMovies
kodi_movies = utilities.kodiRpcToTraktMediaObjects(data)
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/utilities.py", line 404, in kodiRpcToTraktMediaObjects
movieObject = kodiRpcToTraktMediaObject('movie', movie, mode)
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/utilities.py", line 354, in kodiRpcToTraktMediaObject
data['collected_at'] = convertDateTimeToUTC(data.pop('dateadded'))
File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/utilities.py", line 420, in convertDateTimeToUTC
utc = local.astimezone(tzutc())
File "/var/mobile/Library/Preferences/Kodi/addons/script.module.dateutil/lib/dateutil/tz.py", line 113, in utcoffset
if self._isdst(dt):
File "/var/mobile/Library/Preferences/Kodi/addons/script.module.dateutil/lib/dateutil/tz.py", line 157, in _isdst
return time.localtime(timestamp+time.timezone).tm_isdst
ValueError: timestamp out of range for platform time_t
22:44:39 T:124268544 DEBUG: RunQuery took 49 ms for 115 items query: select * from episodeview WHERE (episodeview.idShow = 35) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:39 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:39 T:124268544 DEBUG: RunQuery took 17 ms for 27 items query: select * from episodeview WHERE (episodeview.idShow = 46) AND (((episodeview.playCount IS NULL OR episodeview.playCount = 0)))
22:44:39 T:124268544 DEBUG: DatabaseUtils::GetSortFieldList: unknown field 25
22:44:39 T:124268544 DEBUG: RunQuery took 113 ms for 147 items query: select * from movieview WHERE ((movieview.playCount IS NULL OR movieview.playCount = 0))
22:44:40 T:135598080 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
22:44:41 T:124268544 DEBUG: RunQuery took 608 ms for 2991 items query: select * from episodeview WHERE ((episodeview.playCount IS NULL OR episodeview.playCount < 1))