XBMC Community Forum
Error getting plugin://plugin.video.the.trailers - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: Error getting plugin://plugin.video.the.trailers (/showthread.php?tid=130361)



Error getting plugin://plugin.video.the.trailers - Brice - 2012-04-30 18:36

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\Bri​ce\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



RE: Error getting plugin://plugin.video.the.trailers - Martijn - 2012-04-30 18:44

Probably some weird character in one of the studio names.

Remove line 236 & 237 from trailers.py

I forgot to remove those last time


RE: Error getting plugin://plugin.video.the.trailers - Brice - 2012-04-30 18:47

ok cool, thanks for the feedback, it's now working Smile


RE: Error getting plugin://plugin.video.the.trailers - Martijn - 2012-04-30 18:50

great. i'll directly remove those lines in repo before more users start complaining Tongue


RE: Error getting plugin://plugin.video.the.trailers - Brice - 2012-04-30 19:00

Cool, I'll update asap then.
Thanks again Smile


RE: Error getting plugin://plugin.video.the.trailers - Martijn - 2012-04-30 19:49

(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


RE: Error getting plugin://plugin.video.the.trailers - shedrock - 2013-12-08 03:36

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.


RE: Error getting plugin://plugin.video.the.trailers - crusader88 - 2013-12-08 03:37

Try asking in the the trailer thread


RE: Error getting plugin://plugin.video.the.trailers - shedrock - 2013-12-08 03:39

Which one is the trailer thread? There are so many thread on various trailers.

Thanks


RE: Error getting plugin://plugin.video.the.trailers - Martijn - 2013-12-08 03:41

How about getting a Debug Log and give the link


RE: Error getting plugin://plugin.video.the.trailers - shedrock - 2013-12-08 03:42

Ok, thank you. I will do that.

Here is the link to the log file.

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

Thanks