[Bug 139603] Re: installer crashed just after vnc server url return 404 error
Colin Watson
cjwatson at canonical.com
Fri Sep 14 14:20:25 UTC 2007
IMO this is a bug in xorgconfig.py. Note that in one place it does:
try:
loc = locale.getpreferredencoding()
except locale.Error:
loc = 'ANSI_X3.4-1968'
... while in the offending function it does:
def writeConfig(self,filename):
fhandle = codecs.open(filename,'w',locale.getpreferredencoding())
fhandle.write(self.toString())
fhandle.close()
I suggest this code instead to match the first segment I quoted:
def writeConfig(self,filename):
try:
encoding = locale.getpreferredencoding()
except locale.Error:
encoding = 'ANSI_X3.4-1968'
fhandle = codecs.open(filename,'w',encoding)
fhandle.write(self.toString())
fhandle.close()
** Changed in: kde-guidance (Ubuntu)
Sourcepackagename: ubiquity => kde-guidance
--
installer crashed just after vnc server url return 404 error
https://bugs.launchpad.net/bugs/139603
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-guidance in ubuntu.
More information about the kubuntu-bugs
mailing list