Kodi Community Forum

Full Version: [RELEASE] Trakt Utilities (addon for Trakt.tv usage)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't get this add on to install. I'm on pre-eden

I go to install from zip, it says it installed, but its nowhere to be found.
dwjp90 Wrote:I can't get this add on to install. I'm on pre-eden

I go to install from zip, it says it installed, but its nowhere to be found.
Have you tried looking in Videos -> Add-ons -> Trakt Utilities or System -> Add-ons -> Enabled Add-ons -> Video Add-ons -> Trakt Utilities?
Yea, it doesn't show up anywhere. I even deleted the appdata folder for it and tried to reinstall it.

edit;

Ok after a hundredth reinstall, it now works.
othrayte,

Do you have some time to look at my system as well? I'm still getting the service.py script error. I can setup RDP access for you to my HTPC for unattended access or we can use TeamViewer. Tell me what you prefer and I'll PM you the credentials. Thanks!
jasonwc Wrote:othrayte,

Do you have some time to look at my system as well? I'm still getting the service.py script error. I can setup RDP access for you to my HTPC for unattended access or we can use TeamViewer. Tell me what you prefer and I'll PM you the credentials. Thanks!
I'm afraid I'm extremely time poor until next week. If I find I have some free today I'll do the checking I was originally mentioning, but from tomorrow I'll be out of phone etc reception for 3 days; so no internet.

Edit: Seems I found time to do that, it was reasonably simple. Try the version here.
Same issue but the last error line is now different. Full log available http://pastebin.com/mfaA1HdR. Thanks for the help and enjoy your holiday!

Code:
19:29:58 T:3116   ERROR: Error Type: <type 'exceptions.NameError'>
19:29:58 T:3116   ERROR: Error Contents: global name 'xbmc_episodess' is not defined
19:29:58 T:3116   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\service.py", line 56, in autostart
                                                syncSeenTVShows(True)
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\sync_update.py", line 891, in syncSeenTVShows
                                                if xbmc_episodess is not None and 'limits' in xbmc_episodes and 'total' in xbmc_episodes['limits'] and xbmc_episodes['limits']['total'] > 0:
                                            NameError: global name 'xbmc_episodess' is not defined
jasonwc Wrote:Same issue but the last error line is now different. Full log available http://pastebin.com/mfaA1HdR. Thanks for the help and enjoy your holiday!

Code:
19:29:58 T:3116   ERROR: Error Type: <type 'exceptions.NameError'>
19:29:58 T:3116   ERROR: Error Contents: global name 'xbmc_episodess' is not defined
19:29:58 T:3116   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\service.py", line 56, in autostart
                                                syncSeenTVShows(True)
                                              File "C:\Users\Jason\AppData\Roaming\XBMC\addons\othrayte-script.TraktUtilities-f87d65b\sync_update.py", line 891, in syncSeenTVShows
                                                if xbmc_episodess is not None and 'limits' in xbmc_episodes and 'total' in xbmc_episodes['limits'] and xbmc_episodes['limits']['total'] > 0:
                                            NameError: global name 'xbmc_episodess' is not defined
There is a typo on line891: episodess-->episodes (i think)
If you could change that and retry.
So, that last version fixes the problem. Thanks! I'm now able to sync my collection in both directions. However, there is a new issue. It appears that the script is crashing XBMC when I try to shutdown the program. Here's the log:

http://pastebin.ca/2095135
jasonwc Wrote:So, that last version fixes the problem. Thanks! I'm now able to sync my collection in both directions. However, there is a new issue. It appears that the script is crashing XBMC when I try to shutdown the program. Here's the log:

http://pastebin.ca/2095135
Yeah this is a known problem, we have made several improvements in the recent past but haven't yet managed to eradicate it. We probably won't be doing any more work on it as the changes coming in the next major release will not be compatible with any solutions we implement now, it is probably that the next version will be inherently less likely to have these problems.
I haven't changed anything, but as you can see from my sig, it's started working agin!
Is it possible that Trakt Utilities is causing my ATV2 to crash?
I'm in the really early stages of testing for this - but it seems to be the cause.
http://forum.xbmc.org/showthread.php?tid=115462

The ATV2 only has 256Mb of RAM... Is this enough for TU?

It's fine for about 20 minutes and does what is supposed to, but then it will just exit to FrontRow and create a LowMemory error log.

I've removed Trakt Utilites and my ATV2 seems to becomes stable.

--EDIT
OK - seems this is the case.
I will now reproduce the problem with debugging enabled and post the logs.
Just did it again. TU Installed, nothing else. Was not using it, just idle on the XBMC home screen.

After 20 minutes XBMC off'd itself.

XBMC.log with TU Debugging on.
http://pastebin.com/EJRvH7N4

This is todays nightly build of Darwin BTW (24th November)
Am I the only one having these problems with ATV2 and Trakt Utilities?
Rumik Wrote:I haven't changed anything, but as you can see from my sig, it's started working agin!
I would be curious to see what your logs look like now. Can you think of anything that has changed?
DejaVu Wrote:Is it possible that Trakt Utilities is causing my ATV2 to crash?
I'm in the really early stages of testing for this - but it seems to be the cause.
http://forum.xbmc.org/showthread.php?tid=115462

The ATV2 only has 256Mb of RAM... Is this enough for TU?

It's fine for about 20 minutes and does what is supposed to, but then it will just exit to FrontRow and create a LowMemory error log.

I've removed Trakt Utilites and my ATV2 seems to becomes stable.

--EDIT
OK - seems this is the case.
I will now reproduce the problem with debugging enabled and post the logs.

DejaVu Wrote:Just did it again. TU Installed, nothing else. Was not using it, just idle on the XBMC home screen.

After 20 minutes XBMC off'd itself.

XBMC.log with TU Debugging on.
http://pastebin.com/EJRvH7N4

This is todays nightly build of Darwin BTW (24th November)

DejaVu Wrote:Am I the only one having these problems with ATV2 and Trakt Utilities?

As you have put this on github, I'll try to support you there, for anyone else that is interested you can find the issue at https://github.com/Manromen/script.Trakt...issues/106.