Hi!

scribus-request at nashi.altmuehlnet.de schrieb:
> On Thu, 7 Oct 2004 08:28:17 +0200, VAN?K Petr <petr.vanek at spordat.cz> 
> wrote:
> 
>>>I did have to comment out line 13, "sys.setappdefaultencoding..."
>>
>>there should be s.t. like
>>http://www.py.cz/Members/SUBZERO/PyQt/Soubory/sitecustomize.py
> 
> Nope, aliasing "sys.setdefaultencoding" to "sys.setappdefaultencoding"
> won't do it:

I found that in my installation of Python (SuSE 9.1) in
/usr/lib/python/site.py

the sys.setdefaultencoding is being deleted from the object space to 
prevent users from changing the value (near the end of the file). I just 
commented the two lines doing this and - voila, it worked.

But maybe this is not the way one should do it ...

        Elmar



Reply via email to