daPhyre
Visitor
|
Re:Windows palabre working , Linux Not - 2010/06/22 20:54
Pier, thanks a lot for your answer. Actually, the new modifications are simple:
At the end of the palabreServer.py, the code that looks like this:
| Code: | if val.find('"') and not val.find("'"):
xml += ' '+p+'=''+val.replace('"','\"')+'''
else:
xml += ' '+p+'="'+val.replace('"','"')+'"'
|
Must replace the "p" variable for "str(p)", since Python 2.6 thinks they are characters and no strings when they are a single-character string. So, the code should be replaced for:
| Code: | if val.find('"') and not val.find("'"):
xml += ' '+str(p)+'=''+val.replace('"','\"')+'''
else:
xml += ' '+str(p)+'="'+val.replace('"','"')+'"'
|
That will make the short-tags, and the Client Samples with it, work perfectly from now on.
When is the official patch going to be released? Many Linux developers are getting troubled with this minnor detail...
|