special:// causing scripts to stop working
#1
It looks like the new "special://" mappings are causing havoc with some scripts, in particular the TWC Supplemental script.
I've just pulled rev. 17581 from SVN.

Full debug log here
The pertinent parts of the log are here -
Code:
15:06:22 T:3005209488 M:160329728   DEBUG: CGUIMediaWindow::GetDirectory (?)
15:06:22 T:3005209488 M:160329728   DEBUG:   ParentPath = []
15:06:22 T:3005209488 M:160329728   ERROR: GetDirectory - Error getting ?
15:06:22 T:3005209488 M:160329728   ERROR: CGUIMediaWindow::GetDirectory(?) failed

15:06:23 T:3005209488 M:154132480  NOTICE: ERROR: TWCClient::_save_data (512) - [Errno 13] Permission denied: 'P:\\script_data'

15:06:26 T:3005209488 M:151654400  NOTICE: ERROR: TWCClient::_save_data (512) - [Errno 13] Permission denied: 'Z:\\TWC Supplemental'

15:06:30 T:3051964224 M:150261760   ERROR: PICTURE: Error loading image Z:\weather/128x128/29.png
15:06:30 T:3051964224 M:150261760   ERROR: Texture manager unable to load file: Z:\weather/128x128/29.png
15:06:30 T:3051964224 M:150261760    INFO:   msg: PICTURE::LoadImage: Unable to open image: Z:\weather/128x128/39.png Error: (2)
Reply
#2
It's also happening with plugins, they're still looking to P:\\plugin_data

Code:
15:19:51 T:2933504912 M:149143552  NOTICE: [Errno 13] Permission denied: 'P:\\plugin_data'
Reply
#3
Then the scripts are wrong.

Change them to use xbmc.translatePath(foo) and they'll work just fine.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
So the majority of scripts/plugins need to be changed then?
I can't even run the SVN Repo installer....it errors also.

Code:
16:01:49 T:2880433040 M:2853875712  NOTICE: ERROR: Main::_get_files (148) - [Errno 13] Permission denied: 'U:\\'

16:01:49 T:2880433040 M:2853875712  NOTICE: ERROR: Main::_download_item (120) - [Errno 13] Permission denied: 'U:\\'
Reply
#5
Correct. If the majority of scripts aren't using xbmc.translatePath() then they are wrong.

AMT is one that is perfectly fine, ofcourse.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
edit....will try the AMT plugin
Reply
#7
No go with the AMT plugin either
Code:
16:21:22 T:2941340560 M:2860482560  NOTICE: ERROR: Main::save_xml_source (260) - [Errno 13] Permission denied: 'P:\\plugin_data'
16:21:22 T:2941340560 M:2860482560  NOTICE:
16:21:22 T:3051652928 M:2860482560   DEBUG: WaitOnScriptResult- plugin returned failure
16:21:22 T:3051652928 M:2860482560   ERROR: GetDirectory - Error getting plugin://video/Apple Movie Trailers II
16:21:22 T:3051652928 M:2860482560   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Apple Movie Trailers II) failed
Reply
#8
AMT script also fails Confused

Code:
16:26:41 T:2993675152 M:2832580608  NOTICE: [Errno 13] Permission denied: 'T:\\script_data'
Reply
#9
Works fine here. Are you sure you have the up to date version of XBMC (and the script)?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#10
I've got SVN rev. 17540 on my laptop and ALL scripts/plugins work fine on this revision.
My HTPC has rev. 17582 and the scripts/plugins are the same as on my laptop.
Reply
#11
Then it has nothing to do with special:// paths, as all the changes were in by r17540. I shall test latest SVN in a few moments.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#12
I can definitely verify that something got screwy between 17540 and 17582.
I just upped my SVN version on my laptop from 17540 to 17582....and now the scripts/plugins aren't working.
Reply
#13
Just changed both revs back to 17540 and everything is good again.
Reply
#14
Aenima99x Wrote:Just changed both revs back to 17540 and everything is good again.

how do u get back to a specific svn?
Reply
#15
megacrypto Wrote:how do u get back to a specific svn?

svn up -r revision_number
Reply

Logout Mark Read Team Forum Stats Members Help
special:// causing scripts to stop working0