Activity log for bug #1444662

Date Who What changed Old value New value Message
2015-04-15 19:25:06 Maciej Kisielewski bug added bug
2015-04-15 19:33:43 Zygmunt Krynicki plainbox: status New Confirmed
2015-04-15 19:38:01 Zygmunt Krynicki summary plainbox crashes when run from remote OSX host through SSH plainbox crashes if started with bogus LC_CTYPE inherited from OS X (via ssh)
2015-04-15 19:40:37 Zygmunt Krynicki description Steps to reproduce: from OSX ssh into ubuntu (utopic in my case) get trunk of lp:checkbox create venv and activate it run any job, e.g. $ plainbox run -i "2013.com.canonical.certification::led/caps-lock" This happens: Traceback (most recent call last): File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions return self.dispatch_command(ns) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 556, in dispatch_command return ns.command.invoked(ns) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/cmd_run.py", line 45, in invoked self.provider_loader, self.config_loader, ns, ns.color).run() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 356, in run return self.do_normal_sequence() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 403, in do_normal_sequence self.export_and_send_results() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 814, in export_and_send_results self._save_results(self.ns.output_file, exported_stream) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 831, in _save_results copyfileobj(input_stream, translating_stream) File "/home/kissiel/FUBAR/checkbox/venv/lib/python3.4/shutil.py", line 69, in copyfileobj fdst.write(buf) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/exporter/__init__.py", line 359, in write return self.dest_stream.write(data.decode(self.encoding)) UnicodeEncodeError: 'ascii' codec can't encode character '\u2611' in position 8: ordinal not in range(128) Traceback (most recent call last): File "/home/kissiel/FUBAR/checkbox/venv/bin/plainbox", line 9, in <module> load_entry_point('plainbox==0.21.dev', 'console_scripts', 'plainbox')() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/box.py", line 122, in main raise SystemExit(PlainBoxTool().main(argv)) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 324, in main return self.dispatch_and_catch_exceptions(ns) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions return self.dispatch_command(ns) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 556, in dispatch_command return ns.command.invoked(ns) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/cmd_run.py", line 45, in invoked self.provider_loader, self.config_loader, ns, ns.color).run() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 356, in run return self.do_normal_sequence() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 403, in do_normal_sequence self.export_and_send_results() File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 814, in export_and_send_results self._save_results(self.ns.output_file, exported_stream) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 831, in _save_results copyfileobj(input_stream, translating_stream) File "/home/kissiel/FUBAR/checkbox/venv/lib/python3.4/shutil.py", line 69, in copyfileobj fdst.write(buf) File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/exporter/__init__.py", line 359, in write return self.dest_stream.write(data.decode(self.encoding)) UnicodeEncodeError: 'ascii' codec can't encode character '\u2611' in position 8: ordinal not in range(128) (venv)kissiel@lilly:~/FUBAR/checkbox$ locale output: http://paste.ubuntu.com/10828447/ The ‘data’ var from the trace contains following : b' \x1b[32;1m\xe2\x98\x91 \x1b[0m: led/caps-lock\n' Steps to reproduce: export LC_CTYPE=UTF-8 export LANGUAGE=pl plainbox This uses =pl since polish seems to be the only language that has a non-trivial amount of translations that are not pure ASCII and thus triggers the problem by trying to convert non 7-bit ASCII to ASCII. The looks like this: Traceback (most recent call last):   File "/home/kissiel/FUBAR/checkbox/venv/bin/plainbox", line 9, in <module>     load_entry_point('plainbox==0.21.dev', 'console_scripts', 'plainbox')()   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/box.py", line 122, in main     raise SystemExit(PlainBoxTool().main(argv))   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 324, in main     return self.dispatch_and_catch_exceptions(ns)   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions     return self.dispatch_command(ns)   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/clitools.py", line 556, in dispatch_command     return ns.command.invoked(ns)   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/cmd_run.py", line 45, in invoked     self.provider_loader, self.config_loader, ns, ns.color).run()   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 356, in run     return self.do_normal_sequence()   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 403, in do_normal_sequence     self.export_and_send_results()   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 814, in export_and_send_results     self._save_results(self.ns.output_file, exported_stream)   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/commands/inv_run.py", line 831, in _save_results     copyfileobj(input_stream, translating_stream)   File "/home/kissiel/FUBAR/checkbox/venv/lib/python3.4/shutil.py", line 69, in copyfileobj     fdst.write(buf)   File "/home/kissiel/FUBAR/checkbox/plainbox/plainbox/impl/exporter/__init__.py", line 359, in write     return self.dest_stream.write(data.decode(self.encoding)) UnicodeEncodeError: 'ascii' codec can't encode character '\u2611' in position 8: ordinal not in range(128) (venv)kissiel@lilly:~/FUBAR/checkbox$ locale output: http://paste.ubuntu.com/10828447/ The ‘data’ var from the trace contains following : b' \x1b[32;1m\xe2\x98\x91 \x1b[0m: led/caps-lock\n'
2015-04-16 13:22:13 Zygmunt Krynicki plainbox: importance Undecided Low
2015-04-16 13:22:17 Zygmunt Krynicki plainbox: status Confirmed In Progress
2015-04-16 13:22:20 Zygmunt Krynicki plainbox: assignee Zygmunt Krynicki (zyga)
2015-04-16 13:44:34 Zygmunt Krynicki branch linked lp:~zyga/checkbox/fix-1444662
2015-04-16 13:44:37 Zygmunt Krynicki plainbox: milestone 0.21
2015-04-16 20:47:31 Zygmunt Krynicki plainbox: milestone 0.21 0.22
2015-06-25 09:56:57 Sylvain Pineau plainbox: milestone 0.22 0.23
2015-09-15 14:43:44 Sylvain Pineau plainbox: milestone 0.23 0.24
2015-10-30 15:07:36 Sylvain Pineau plainbox: milestone 0.24 future
2016-02-04 16:19:10 Sylvain Pineau plainbox: status In Progress Confirmed
2016-04-07 06:46:25 Po-Hsu Lin plainbox: status Confirmed In Progress
2016-08-22 11:45:00 Zygmunt Krynicki plainbox: status In Progress Triaged
2016-08-22 11:45:02 Zygmunt Krynicki plainbox: assignee Zygmunt Krynicki (zyga)
2017-07-07 10:17:08 Sylvain Pineau plainbox: milestone future
2017-07-07 10:17:30 Sylvain Pineau plainbox: status Triaged Won't Fix