Bug#793663: (no subject)

2018-02-16 Thread Balint Reczey
Control: fixed -1 0.86.4

On Mon, 12 Oct 2015 17:33:10 +0200 Emmanuel Kasper 
wrote:
> > Could you please re-test with 0.86.4 that just hit testing? I think
> > this issue is fixed there.
>
> Thanks, unattended-upgrade --help display a correct localized help with
> version 0.86.4

Closing the bug then. Please reopen in case the issue is not fixed.

Cheers,
Balint



Bug#793663: (no subject)

2015-10-11 Thread Michael Vogt
On Sat, Oct 10, 2015 at 02:13:11PM +0200, Manu Ka wrote:
> Hi Michael
Hi Manu,

> Indeed the problem relates to the locale setting ( with
> unattended-upgrade 0.86.3 )
> 
> export LC_ALL=C
> unattended-upgrade --help
> Usage: unattended-upgrade [options]
> ( works as expected)
> 
> 
> setting a different locale brings an error which seems python2->python3
> related:

Could you please re-test with 0.86.4 that just hit testing? I think
this issue is fixed there.

Thanks,
 Michael

> export LC_ALL=fr_FR.utf-8
> unattended-upgrade --help
> 
> Traceback (most recent call last):
>   File "/usr/bin/unattended-upgrade", line 1424, in 
> (options, args) = parser.parse_args()
>   File "/usr/lib/python3.4/optparse.py", line 1386, in parse_args
> stop = self._process_args(largs, rargs, values)
>   File "/usr/lib/python3.4/optparse.py", line 1426, in _process_args
> self._process_long_opt(rargs, values)
>   File "/usr/lib/python3.4/optparse.py", line 1500, in _process_long_opt
> option.process(opt, value, values, self)
>   File "/usr/lib/python3.4/optparse.py", line 784, in process
> self.action, self.dest, opt, value, values, parser)
>   File "/usr/lib/python3.4/optparse.py", line 806, in take_action
> parser.print_help()
>   File "/usr/lib/python3.4/optparse.py", line 1646, in print_help
> file.write(self.format_help())
>   File "/usr/lib/python3.4/optparse.py", line 1634, in format_help
> result.append(self.format_option_help(formatter))
>   File "/usr/lib/python3.4/optparse.py", line 1614, in format_option_help
> result.append(OptionContainer.format_option_help(self, formatter))
>   File "/usr/lib/python3.4/optparse.py", line 1060, in format_option_help
> result.append(formatter.format_option(option))
>   File "/usr/lib/python3.4/optparse.py", line 321, in format_option
> help_text = self.expand_default(option)
>   File "/usr/lib/python3.4/optparse.py", line 293, in expand_default
> return option.help.replace(self.default_tag, str(default_value))
> TypeError: 'str' does not support the buffer interface
> 
> 
> -- 
> /*
> http://parttimelog.wordpress.com/
> Part time pictures
> */



Bug#793663: (no subject)

2015-10-10 Thread Manu Ka
Hi Michael
Indeed the problem relates to the locale setting ( with
unattended-upgrade 0.86.3 )

export LC_ALL=C
unattended-upgrade --help
Usage: unattended-upgrade [options]
( works as expected)


setting a different locale brings an error which seems python2->python3
related:

export LC_ALL=fr_FR.utf-8
unattended-upgrade --help

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1424, in 
(options, args) = parser.parse_args()
  File "/usr/lib/python3.4/optparse.py", line 1386, in parse_args
stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python3.4/optparse.py", line 1426, in _process_args
self._process_long_opt(rargs, values)
  File "/usr/lib/python3.4/optparse.py", line 1500, in _process_long_opt
option.process(opt, value, values, self)
  File "/usr/lib/python3.4/optparse.py", line 784, in process
self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python3.4/optparse.py", line 806, in take_action
parser.print_help()
  File "/usr/lib/python3.4/optparse.py", line 1646, in print_help
file.write(self.format_help())
  File "/usr/lib/python3.4/optparse.py", line 1634, in format_help
result.append(self.format_option_help(formatter))
  File "/usr/lib/python3.4/optparse.py", line 1614, in format_option_help
result.append(OptionContainer.format_option_help(self, formatter))
  File "/usr/lib/python3.4/optparse.py", line 1060, in format_option_help
result.append(formatter.format_option(option))
  File "/usr/lib/python3.4/optparse.py", line 321, in format_option
help_text = self.expand_default(option)
  File "/usr/lib/python3.4/optparse.py", line 293, in expand_default
return option.help.replace(self.default_tag, str(default_value))
TypeError: 'str' does not support the buffer interface


-- 
/*
http://parttimelog.wordpress.com/
Part time pictures
*/