Error getting plugin://plugin.video.the.trailers
#1
Hi I stumbled on an issue today with the Trailers Addon. It worked perfectly the other day, but it just failed today.

Weirdly however it does seem to download the last trailers from Apple as the following log suggests. And verifying the content of the directory shows the files are present

In "C:\Users\<username>\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.the.trailers"
- current_720p.xml
- newest_720p.xml
- others with the same pattern (1080p, etc.)

I tried :
- to reinstall the add-on
- to remove this folder while XBMC is NOT running
but nothing is displayed when browsing The Trailers add-on.

Not sure what to do now.

EDIT :
Just spotted the ASCII error :
Code:
18:24:42 T:4572  NOTICE: Walt Disney Pictures
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572   ERROR: The Trailers: 'ascii' codec can't encode character u'\u2026' in position 22: ordinal not in range(128)
18:24:42 T:4572   ERROR: The Trailers: exceptions must be old-style classes or derived from BaseException, not NoneType
18:24:42 T:4572   DEBUG: ----------------------------------------------------------------------
18:24:42 T:4572   DEBUG: The Trailers: <<< fetch_trailers()
18:24:42 T:4572   DEBUG: ----------------------------------------------------------------------
/EDIT

EDIT2 :
Weirdly I change the access flags, and I now see a modified message, still about the ASCII char :
Code:
18:43:42 T:1524  NOTICE: Walt Disney Pictures
18:43:42 T:1524  NOTICE: 1080
18:43:42 T:1524   ERROR: The Trailers: 'ascii' codec can't encode character u'\u2026' in position 22: ordinal not in range(128)
18:43:42 T:1524   ERROR: The Trailers: exceptions must be old-style classes or derived from BaseException, not NoneType
18:43:42 T:4044   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.the.trailers
18:43:42 T:4044   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.the.trailers) failed
/EDIT2
Code:
18:24:38 T:4572   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Brice\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py
18:24:38 T:4572   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Brice\AppData\Roaming\XBMC\addons\plugin.video.the.trailers;C:\Program Files\XBMC\addons\script.module.simplejson\lib;C:\Users\<username>\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Users\<username>\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\<username>\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Brice\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\<username>\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;C:\Program Files\XBMC\system\python\DLLs;C:\Program Files\XBMC\system\python\Lib;C:\Program Files\XBMC\python26.zip;C:\Program Files\XBMC\system\python\lib\plat-win;C:\Program Files\XBMC\system\python\lib\lib-tk;C:\Program Files\XBMC;C:\Program Files\XBMC\system\python;C:\Program Files\XBMC\system\python\lib\site-packages;
18:24:38 T:4572   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Brice\AppData\Roaming\XBMC\addons\plugin.video.the.trailers
18:24:38 T:4572   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.the.trailers" dependent on version 2.0 of the xbmc.python api
18:24:39 T:4572   DEBUG: ----------------------------------------------------------------------
18:24:39 T:4572   DEBUG: The Trailers: >>> fetch_trailers(category: None, rating: No Limit, quality: standard)
18:24:39 T:4572   DEBUG: ----------------------------------------------------------------------
18:24:40 T:1544    INFO: Scriptresult: Success
18:24:40 T:1544    INFO: Python script stopped
18:24:40 T:1544   DEBUG: Thread XBPyThread 1544 terminating
18:24:40 T:3496   DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fxbmc%2fmedia%2fweather%2ezip/
18:24:40 T:3616    INFO: Loading skin file: DialogProgress.xml
18:24:40 T:3616   DEBUG: DialogProgress::StartModal called
18:24:40 T:3616   DEBUG: ------ Window Init (DialogProgress.xml) ------
18:24:40 T:3616   DEBUG: waiting for python thread 4 to stop
18:24:40 T:3616   DEBUG: python thread 4 destructed
18:24:41 T:4572  NOTICE: Sony Pictures
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: IFC Films
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: Secret Identity Productions
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: CBS Films
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: Millennium Entertainment
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: Paramount Pictures
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: 20th Century Fox
18:24:41 T:4572  NOTICE: 1080
18:24:41 T:4572  NOTICE: Relativity Media
18:24:41 T:4572  NOTICE: 1080
<cut because message was too long />

18:24:42 T:4572  NOTICE: Lionsgate
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Magnolia Pictures
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Weinstein Company
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Sundance Selects
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Phase 4 Films
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Warner Bros. Pictures
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572  NOTICE: Walt Disney Pictures
18:24:42 T:4572  NOTICE: 1080
18:24:42 T:4572   ERROR: The Trailers: 'ascii' codec can't encode character u'\u2026' in position 22: ordinal not in range(128)
18:24:42 T:4572   ERROR: The Trailers: exceptions must be old-style classes or derived from BaseException, not NoneType
18:24:42 T:4572   DEBUG: ----------------------------------------------------------------------
18:24:42 T:4572   DEBUG: The Trailers: <<< fetch_trailers()
18:24:42 T:4572   DEBUG: ----------------------------------------------------------------------
18:24:42 T:3616   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned failure
18:24:42 T:4572    INFO: Scriptresult: Success
18:24:42 T:3616   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.the.trailers
18:24:42 T:4572    INFO: Python script stopped
18:24:42 T:4572   DEBUG: Thread XBPyThread 4572 terminating
18:24:42 T:3616   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.the.trailers) failed
Reply
#2
Probably some weird character in one of the studio names.

Remove line 236 & 237 from trailers.py

I forgot to remove those last time
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
ok cool, thanks for the feedback, it's now working Smile
Reply
#4
great. i'll directly remove those lines in repo before more users start complaining Tongue
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
Cool, I'll update asap then.
Thanks again Smile
Reply
#6
(2012-04-30, 19:00)Brice Wrote: Cool, I'll update asap then.
Thanks again Smile

That will be done automatic as soon as it's available
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#7
Is anyone having issues with this plugin? can't seem to get it working for over a week now. I keep getting an error regarding the addon.py file.
Reply
#8
Try asking in the the trailer thread
If I helped you please add to my reputation a positive note

School has started, This Means Lots Of Homework[/color]


No Sharing XML's Anymore Per Forum Rules
Reply
#9
Which one is the trailer thread? There are so many thread on various trailers.

Thanks
Reply
#10
How about getting a Debug Log and give the link
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#11
Ok, thank you. I will do that.

Here is the link to the log file.

https://www.dropbox.com/s/s3ljpp7e0hjn2gh/xbmc.log

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Error getting plugin://plugin.video.the.trailers0