The attached patch fixes the problem. It simply surrounds the crashing locale.setlocale() call with "try: ... except: pass". TIM, WDYT? Is this correct? What is the locale.setlocale() call good for? The returned result is not used.
** Patch added: "Simple fix for this problem." https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/748964/+attachment/2056564/+files/scp-dbus-service-py-do-not-fail-on-bad-locale.patch ** Changed in: system-config-printer (Ubuntu) Status: New => Confirmed ** Changed in: system-config-printer (Ubuntu) Importance: Undecided => High ** Changed in: system-config-printer (Ubuntu) Milestone: None => ubuntu-11.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/748964 Title: scp-dbus-service.py crashed with Error in setlocale(): unsupported locale setting -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
