python is updated to version 2.4.3
#1
from todays changelog:
Quote: - 27-04-2006 updated: python is updated to version 2.4.3 and now moved into a dll. do not forget to update the system folder

now that python has been updated, will all python scripts work
or will they nedd to be updated aswell ?


cheers b4tm4n.
Reply
#2
lets hope most will work, its up to the users to test them all Smile. the ones i have tried all work.
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
#3
thanks for the reply.

i haven`t done a build yet but soon as i do
i`ll test what i have.


cheers b4tm4n.


edit:
just done a build and i had to copy over my
lib folder from my old python folder to the
new one, in order for my flickr script to work.
the others i didn`t test before i transferred
over the lib folder, so i don`t know wether
they needed it to work or not, but there
working ok.



Reply
#4
movie trailers script no longer work, i did the same, copied the libs directory over.
Reply
#5
i noticed after a compile i have 2 spyce folders, one in the usual python folder, and one in the system/python folder.

should one be deleted or left ?
Reply
#6
web radio bust for me 'can't parse node'

and mythtv no livetv :-(

quick switrch back to april17th build (just the xbe so uses puthon 2.3) and both work so must be
python 2.4
Reply
#7
hi

there are differences in regex parsing between 2.3 and 2.4, or not?

i think i have something about that some time ago, also i had problems developing my scripts in the beginning because i had installed v2.4 on my pc...

sometimes the script run fine on pc, but errors on xbox...

switchback to 2.3 on pc, and the errors occours, too...

cu lolol
Reply
#8
yeah the movie trailer script plays what allready downloaded
but crashes if you do an update.


cheers b4tm4n.
Reply
#9
(lolol @ april 29 2006,13:40 Wrote:hi

there are differences in regex parsing between 2.3 and 2.4, or not?

i think i have something about that some time ago, also i had problems developing my scripts in the beginning because i had installed v2.4 on my pc...

sometimes the script run fine on pc, but errors on xbox...

switchback to 2.3 on pc, and the errors occours, too...

cu lolol
Quote:there are differences in regex parsing between 2.3 and 2.4, or not?
i have tested some scripts i worte.regex parsing function works well in both 2.3 and 2.4.3.
Reply
#10
some scripts i've run, on exiting the script these errors are in the info window. i'm not sure, but i think it's scripts with more than one class.

Quote:error in atexit._run_exitfuncs:
error in sys.exitfunc:
keyerror: 8

is there a new way to exit a script?

i can supply a full debug log if necessary.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#11
(awaldram @ april 29 2006,13:35 Wrote:web radio bust for me 'can't parse node'
i took a look at kmlbrowse.py (web radio) and the problem is related to "getattribute" function wich returns an empty string even if "hasattribute" returns true and the attribute is not empty.
same problem with quicktimebrowser script.
i could be wrong, but it seems to be a bug in the new xbmc python implementation.
Reply
#12
hi,
i've an error in a script, i tried it with 3 versions of xbmc, it blocks only with the version that runs python 2.4.3.
xbmc log shows a syntax error :
Quote:00:51:10 m: 35246080 info: import data
00:51:10 m: 35246080 info: file "
00:51:10 m: 35246080 info: q:\scripts\data.py
00:51:10 m: 35246080 info: ", line
00:51:10 m: 35246080 info: 257
00:51:10 m: 35246080 info:
00:51:10 m: 35246080 info:
00:51:10 m: 35246080 info: qzlib = [262,220,353,187]
...
00:51:11 m: 35246080 info: ^
00:51:11 m: 35246080 info: syntaxerror
the file including this line is imported in another script.
is there some incompatibility ?

thanks
Reply
#13
logged bug report 1480582

so if you guys would like to add your bits that's be cool
Reply

Logout Mark Read Team Forum Stats Members Help
python is updated to version 2.4.30