Hi, > On Wednesday 28 February 2007 03:42, Christian Lyra wrote: > > string = string.replace(entity, replacement.decode("latin-1")) > > AttributeError: 'unicode' object has no attribute 'decode > > > > This doesnt seem to happen with my Debian/Unstable. What´s the > > problem? python2.3 maybe? > > Yes, you will have to upgrade to Python 2.4. Looks like unicode.decode() was > introduced in 2.4 alpha 2: > > "Allow string and unicode return types from .encode()/.decode() > methods on string and unicode objects. Added unicode.decode() > which was missing for no apparent reason." > > Source: http://www.python.org/download/releases/2.4.3/NEWS.txt >
You are right... a upgrade did solve the problem. it was not that easy on sarge (mainly because twisted) but i did it. Problem solved. thanks -- Christian Lyra PoP-PR/RNP ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users