[Bug 460705] New: scout broken on non-english systems
https://bugzilla.novell.com/show_bug.cgi?id=460705 Summary: scout broken on non-english systems Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: mvyskocil@novell.com ReportedBy: prusnak@novell.com QAContact: qa@suse.de Found By: Development $ locale LANG=en_US.UTF-8 LC_CTYPE="cs_CZ.UTF-8" LC_NUMERIC="cs_CZ.UTF-8" LC_TIME="cs_CZ.UTF-8" LC_COLLATE="cs_CZ.UTF-8" LC_MONETARY="cs_CZ.UTF-8" LC_MESSAGES="cs_CZ.UTF-8" LC_PAPER="cs_CZ.UTF-8" LC_NAME="cs_CZ.UTF-8" LC_ADDRESS="cs_CZ.UTF-8" LC_TELEPHONE="cs_CZ.UTF-8" LC_MEASUREMENT="cs_CZ.UTF-8" LC_IDENTIFICATION="cs_CZ.UTF-8" LC_ALL=cs_CZ.UTF-8 $ scout aaa Usage: Použití: scout [globální_volby] modul [volby_modulu] dotaz Traceback (most recent call last): File "/usr/bin/scout", line 8, in <module> ret = scout.ScoutCore.run() File "./scout/__init__.py", line 933, in run clp.error(ove.msg) File "./scout/__init__.py", line 289, in error self._parser.error(msg) File "/usr/lib64/python2.6/optparse.py", line 1562, in error self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg)) File "/usr/lib64/python2.6/optparse.py", line 1551, in exit sys.stderr.write(msg) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128) Since "scout aaa" is not valid usage (aaa is not a scout module), I'm setting this as minor only. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460705 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=460705#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2009-01-02 03:50:48 MST --- Fixed [1]. The error message is encoded to the sys.stderr.encoding before write. [1] http://repo.or.cz/w/scout.git?a=commit;h=409762c0e07e82b70f00c9cf04d06c0181b... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com