Kodi Community Forum
[RELEASE] Trakt Utilities (addon for Trakt.tv usage) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) (/showthread.php?tid=98582)



RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - henrikyo - 2012-04-27

cant login as well


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - dunpealhunter - 2012-04-27

Me neither! Until a few hours ago everything was fine, but since 4 hours ago i keep getting errors. I thought it was a problem on my side, but now i see that it must be the server from Trakt that is causing the problems....

http://status.aws.amazon.com

As you can see here the Amazon status of the servers is good. The admins must be working on the site.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - coendeurloo - 2012-04-27

I recently reinstalled XBMCBuntu, I also installed Trakt, but it says my login/username is incorrect when I startup, which is certainly not the case...pretty weird. Tried to reinstall, different settings, install an older version first then update, every thing I try just fails. Sometimes it says the script is failed too. How is this possible on a fresh XBMC install?


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - paavoris - 2012-04-28

Information from trakt.tv @ twitter:

Quote:Still issues on our API provider and waiting for them to resolve. We'll ditch them if no resolution soon.
1 hrs ago

and

Quote:Looks like our API provider is having issues. Trying to get it resolved.
3 hrs ago

Patience is the key here. Big Grin Trakt.tv api is down and they know about it and are fixing it.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - dukko - 2012-04-28

(2012-04-28, 01:08)paavor Wrote: Information from trakt.tv @ twitter:

Quote:Still issues on our API provider and waiting for them to resolve. We'll ditch them if no resolution soon.
1 hrs ago

and

Quote:Looks like our API provider is having issues. Trying to get it resolved.
3 hrs ago

Patience is the key here. Big Grin Trakt.tv api is down and they know about it and are fixing it.

Yeah, I posted only to be sure it wasn't an issue on my end. He'll figure it out soon enough, Justin's just great!


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - pulsecode-sgnl - 2012-04-28

(2012-04-20, 15:37)othrayte Wrote:
(2012-04-19, 00:53)pulsecode-sgnl Wrote:
(2012-04-06, 04:00)othrayte Wrote: Urghh, had another bug, sorry, I've tested it and it seems to be working this time, custom version.

Late response, but here's my updated log with that version.

http://pastebin.com/zvjLkjxi

This log shows the following message
Code:
ERROR: JSONRPC Server: Failed to bind serversocket

Could you please recreate the log and check if this message stays, if it does follow this https://github.com/Manromen/script.TraktUtilities/wiki/Telnet-too-soon-61-10061-111-Connection-refused[/code]

I was unable to replicate the error message in the previous log. I did however get a new log with several of the following errors.
Code:
NOTICE: Trakt Utilities: [NotificationService] ERROR: EOFError
Maybe this will be more helpful?

Thanks.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - Ben91 - 2012-04-28

Thank you very much othrayte !

Your answer is perfect. I continue to wait patiently the next stable releases.

Keep your awesome work !


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - JonasL1 - 2012-05-01

Sync seen tv shows or srobbling doesn't work on my Apple TV 2. I receive 'script error: servive.py. Here is my log file of the error:

11:39:55 T:103706624 ERROR: Error Type: <type 'exceptions.TypeError'>
11:39:55 T:103706624 ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
11:39:55 T:103706624 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
autostart()
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/service.py", line 44, in autostart
if autosync_cleantvshowcollection: cleanTVShowCollection(True)
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/sync_update.py", line 493, in cleanTVShowCollection
tvshows_string += ", " + to_unlibrary[i]['title']
TypeError: cannot concatenate 'str' and 'NoneType' objects

xbmc.log Here is the full log file.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - papampi - 2012-05-01

and i get this error recently :
Code:
19:59:00 T:2789190464    INFO: -->Python script returned the following error<--
19:59:00 T:2789190464   ERROR: Error Type: <class 'mysql.connector.errors.ProgrammingError'>
19:59:00 T:2789190464   ERROR: Error Contents: 1049: Unknown database 'myvideo60'
19:59:00 T:2789190464   ERROR: Traceback (most recent call last):
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
                                                autostart()
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 56, in autostart
                                                syncSeenTVShows(True)
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/sync_update.py", line 956, in syncSeenTVShows
                                                setXBMCEpisodePlaycount(tvshow['tvdb_id'], episode[0], episode[1], 1)
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/utilities.py", line 437, in setXBMCEpisodePlaycount
                                                " )")
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 34, in execute
                                                return RawXbmcDb.query(str)
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 15, in query
                                                _RawXbmcDb__conn = _findXbmcDb()
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 92, in _findXbmcDb
                                                return mysql.connector.Connect(host = host, port = int(port), database = database, user = user, password = passwd)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/__init__.py", line 45, in Connect
                                                return MySQLConnection(*args, **kwargs)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 366, in __init__
                                                self.connect(*args, **kwargs)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 411, in connect
                                                ssl=(ssl_ca, ssl_cert, ssl_key))
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 449, in _open_connection
                                                self._charset)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/protocol.py", line 347, in do_auth
                                                buf = self.conn.recv()
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 179, in recv_plain
                                                errors.raise_error(buf)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/errors.py", line 82, in raise_error
                                                raise get_mysql_exception(errno,errmsg)
                                            ProgrammingError: 1049: Unknown database 'myvideo60'
19:59:00 T:2789190464    INFO: -->End of Python script error report<--
19:59:00 T:3014940416   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:59:00 T:2789190464    INFO: Scriptresult: Waiting on thread 18446744072228952896
19:59:01 T:2681178944    INFO: JSONRPC Server: Disconnection detected
19:59:04 T:2789190464    INFO: Python script stopped
19:59:04 T:2789190464   DEBUG: Thread XBPyThread 2789190464 terminating
19:59:04 T:3014940416   DEBUG: waiting for python thread 5 to stop
19:59:04 T:3014940416   DEBUG: python thread 5 destructed
19:59:06 T:3014940416   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------



RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - anzerman - 2012-05-02

Hi
Trying to setup TU(0.6.5) with latest nightly build(30-04-12) of xbmc.
it will scrobble shows. As in when watching something it will show on trakt that I am watching something and if I finish watching the episode it will add it as watched.
The issue is if I try to update the library. I tried manually updating TV shows and it just hangs then crashes. I have attached the log.

xbmc.log

Cheers in advance Big Grin



Re: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - Martijn - 2012-05-02

Problem in XBMC not in script


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - anzerman - 2012-05-02

(2012-05-02, 07:54)Martijn Wrote: Problem in XBMC not in script

Was that in response with my post? If so is it something that can be fixed currently or do I need to wait for an update?
Cheers


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - lrusak - 2012-05-03

I have my xbmc machine hooked up to a wireless bridge. I have had to mess with dns and gateway settings to get everything working right. I can access the internet on my xbmc machine and I can ping google and everything, but trakt just doesn't seem to work, can I get any help with this? I just don't know what is happening that would allow everything else to work but not trakt

EDIT: Nevermind guys, I got it sorted. I had to play around with my openelec network settings some more and just set up static DNS's to openDNS. Seems to work good now.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - typhoe - 2012-05-05

Hi,

using the current 0.6.5 testing version from your signature ( http://bit.ly/GAK1Pn ), I get this error:

Code:
12:13:29 T:140255062062912  NOTICE: Starting XBMC (11.0 Git:14feb09), Platform: Linux (OpenELEC - Version: 1.95.3, 3.2.16 x86_64). Built on May  1 2012
12:13:35 T:140254723254016  NOTICE: Trakt Utilities: service: script.TraktUtilities - version: 0.6.5
<...>
14:14:34 T:140254723254016  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 5, u'title': u"Les Myst\xe9rieuses Cit\xe9s D'or", u'label': u"Les Myst\xe9rieuses Cit\xe9s D'or", u'imdbnumber': u'78783', u'year': 1982, u'playcount': 1}
14:14:34 T:140254723254016   ERROR: Error Type: <type 'exceptions.TypeError'>
14:14:34 T:140254723254016   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
14:14:34 T:140254723254016   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
                                                autostart()
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/sync_update.py", line 489, in cleanTVShowCollection
                                                tvshows_string += to_unlibrary[i]['title']
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects
14:14:34 T:140253880739584  NOTICE: Trakt Utilities: Notification service stopping
14:14:35 T:140253163681536  NOTICE: Trakt Utilities: Scrobbler stopping

I then tried to remove this TV show from my collection (remove the folder, and clean xbmc library).

Code:
14:26:50 T:140294230525696  NOTICE: Trakt Utilities: TVShow not found: u'The Mysterious Cities of Gold'
14:26:50 T:140294230525696   ERROR: Error Type: <type 'exceptions.TypeError'>
14:26:50 T:140294230525696   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
14:26:50 T:140294230525696   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
                                                autostart()
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/sync_update.py", line 493, in cleanTVShowCollection
                                                tvshows_string += ", " + to_unlibrary[i]['title']
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects
14:26:51 T:140293510641408  NOTICE: Trakt Utilities: Notification service stopping
14:26:53 T:140294192584448  NOTICE: Trakt Utilities: Scrobbler stopping

Go to trakt.tv site, and remove this show from my trakt.tv library.

Code:
14:34:23 T:139701550651136  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 60, u'title': u'The Firm', u'label': u'The Firm', u'imdbnumber': u'248936', u'year': 2012, u'playcount': 0}
14:34:23 T:139701550651136   ERROR: Error Type: <type 'exceptions.TypeError'>
14:34:23 T:139701550651136   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
14:34:23 T:139701550651136   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
                                                autostart()
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "/storage/.xbmc/addons/script.TraktUtilities-0.6.5/sync_update.py", line 489, in cleanTVShowCollection
                                                tvshows_string += to_unlibrary[i]['title']
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects
14:34:23 T:139699959670528  NOTICE: Trakt Utilities: Notification service stopping
14:34:24 T:139699951277824  NOTICE: Trakt Utilities: Scrobbler stopping

any idea? If needed, I have keep the 3 debug logs...

Thank you.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - JonasL1 - 2012-05-05

It's the same error as I have. But a few pages back, was the answer that we has to wait until version 0.6.6. But I have no idea when the version come.