[Pkg-sympa-devel] Bug#606704: If someone fixes this bug, please fix #605355 as well
Emmanuel Bouthenot
kolter at openics.org
Sat Jan 8 22:51:23 UTC 2011
Hi,
On Sat, Jan 08, 2011 at 05:12:40PM -0500, Stefan Hornburg (Racke) wrote:
[...]
>
> The following patch solves the problem #2:
>
> @@ -754,7 +815,14 @@
> push(@supported_langs, $l);
> }
> }
> - $param->{default} = join(',', @supported_langs);
> +
> + if (@supported_langs) {
> + $param->{default} = join(',', @supported_langs);
> + }
> + else {
> + # Sympa needs at least one language in the configuration file
> + $param->{default} = 'en_US';
> + }
> }
> }
> }
>
> Anybody out there with quilt experience? If so, please apply this patch to
> src/sympa_wizard.pl.in. I tried to figure it out with quilt push, but
> it didn't work.
Actually the bug is elsewhere. The messages about setLocale() are just
warnings.
The real problem is the 'supported_lang' option in sympa.conf. During
the generation of sympa.conf, if no locales are available this option is
empty. Hence during the 'prepare_db' stage, it fails.
I've a patch for it, I will commit it very soon in the debian/squeeze
branch.
About the sqlite problem, I'm currently working on it too. It's all
about moving some recommends to real dependencies.
I'll give you some news about the upload in a few hours.
M.
--
Emmanuel Bouthenot
mail: kolter@{openics,debian}.org gpg: 4096R/0x929D42C3
xmpp: kolter at im.openics.org irc: kolter@{freenode,oftc}
More information about the Pkg-sympa-devel
mailing list