Posts: 63
Joined: Oct 2005
Reputation:
0
yes, it is working now. files that i specify are not overwritten or written at all. the only problem is that when i specify a folder (i.e. scripts) then files get overwritten. i tested this by editing the file installer.py in the scripts\xbmcscripts folder. i deleted everything in the file, but when i ran the update, the file was restored with the updated information. this might be something to look at. i'll try looking at folders with files in them. perhaps your script doesn't include all of a folder's subdirectories when writing.
Posts: 63
Joined: Oct 2005
Reputation:
0
okay, i checked that out. just as i expected, only files in a folder are not overwritten, but the subdirectories they contain (as well as the files contained by them) are. can this be fixed?
Posts: 84
Joined: Nov 2005
Reputation:
1
Bootsy
Skilled Python Coder
Posts: 84
okay...big thx to you ruuk... :fixed:
it´s running now... :thumbsup:
the _init_.py where not transfered by flashfxp, because the file has 0kb...
but now when i want to start the savegamemanager...i get a error message, too...
from the error.log...:
traceback (most recent call last):
file "q:\scripts\xnetload\xnetload.py", line 351, in oncontrol
self.control_response(control)
file "q:\scripts\xnetload\xnetload.py", line 416, in control_response
w = savemx.save_manager_window()
file "q:\scripts\xnetload\savemx.py", line 330, in
self.fill_save_list()
file "q:\scripts\xnetload\savemx.py", line 374, in fill_save_list
for g in list: self.add_item(g[0],g[1])
file "q:\scripts\xnetload\savemx.py", line 344, in add_item
img = xbe.get_image(file=filename)
file "q:\scripts\xnetload\xnlmodules\xbe.py", line 667, in get_image
return xpr0_image(mipmap=mipmap,addr=addr,size=size,file=file)
file "q:\scripts\xnetload\xnlmodules\xbe.py", line 447, in
self.decompressdxt1()
file "q:\scripts\xnetload\xnlmodules\xbe.py", line 337, in decompressdxt1
bitmask = (long(self.comp_data[pos+2]) << 16) + self.comp_data[pos+3]
indexerror: array index out of range
and i can´t connect to my pc (via samba)...i typed in the same url as in xbmc video/music share etc...but error message...
example...:
smb://user:@pcip (i´ve no pw...so i didn´t type it in...)
but before i start to ask stupid questions, i want to try it by myself...and then i come back and ask the questions... :oops:
and again ruuk...thx...the script sounds and looks very good... :nuts:
Posts: 2,293
Joined: Aug 2005
Reputation:
202
ruuk
Team-Kodi Member
Posts: 2,293
bootsy:
if you are connecting to a windows computer you will need the computername as in:
smb://computername;user@pcip
give that a shot.
i'll look into that save manager error. if you wouldn't mind, i might send you a special version of one of the script files that will help me figure out what is causing the problem. i expect that one of your saves has a non-standard image file, and if i can find out which one and get a copy of the save i can account for it.
ruuk
Posts: 2,293
Joined: Aug 2005
Reputation:
202
ruuk
Team-Kodi Member
Posts: 2,293
affini:
i tested having the xbmc files in the root of a share and it worked for me. (i tested this a few days ago, sorry i didn't get back to you sooner about it)
the script is definately working over smb. i have it working and others have gotten it working. i think there must be something different about your setup, or something we are overlooking.
why don't you try browsing the the browser in xnetload ('app config' button - then 'browse server'). enter the url there without the path or share and see if you can browse to that share and the contents within.
ruuk
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
i figured out why it was not working for me...
1) your example setting xml is incorrect
- it is required to put a backslash in front of the directories...
your example: <dir path="sounds\bursting bubbles" />
needed: <dir path="\sounds\bursting bubbles" />
2) i had to give the user acct i was using "full control" in the ntfs permissions... this is bad! it does not work when i give "read & list"
i'm not sure if you have a windows xp w/ sp1 but please test this and try to fix the python code. this is a security problem.
new problem:
i got a msg that said it failed to copy textures.xpr. i tested via ftp and it copies fine. what's the deal?
side note:
in your example xml you also have 'skins' and it should be 'skin'
I'm not an expert but I play one at work.