Enabling VNC with foreign locales crashes installer

Bug #136482 reported by laga
2
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
High
laga

Bug Description

In Alpha4, Ubiquity crashed on me. I set locale to German and enabled a VNC password.

Logs are here:
http://www.pastebin.ca/676170
http://www.pastebin.ca/676167
http://www.pastebin.ca/676168

Related branches

Dave Walker (davewalker)
Changed in mythbuntu:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

This appears to possibly be caused by one of the classes that is inherited by the VNC xorg modifier. It uses kde-guidance. I'm not positive on this, but it appears it might be by looking up the backtrace.

Changed in mythbuntu:
assignee: nobody → laga
Revision history for this message
laga (laga) wrote :

Hi,

i tried to reset the locale to "C" as a workaround. However, I haven't been able to test this properly yet.. Here's the diff:

=== modified file 'ubiquity/components/mythbuntu_apply.py'
--- ubiquity/components/mythbuntu_apply.py 2007-08-27 23:46:57 +0000
+++ ubiquity/components/mythbuntu_apply.py 2007-09-12 19:09:17 +0000
@@ -20,6 +20,7 @@

 import os
 import sys
+import locale

 import xorgconfig

@@ -117,7 +118,9 @@

 class VNCHandler:
     """Used to properly enable VNC in a target configuration"""
-
+# rather ugly workaround for bug #136482
+ locale.setlocale(locale.LC_ALL, 'C')
+
     def __init__(self,root):
         self.add_modules = ["vnc"]
         self.add_screen = [ ['SecurityTypes', 'VncAuth'], ['UserPasswdVerifier', 'VncAuth'], ['PasswordFile', '/root/.vnc/passwd']]

Changed in mythbuntu:
status: Confirmed → Fix Committed
Revision history for this message
laga (laga) wrote :

This fix should be in the archives by now - I was also told it was fixed by ubiquity upstream. Closing this now, please reopen if the problem persists.

Changed in mythbuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.