Re: Error running Checksetup in latest Bugzilla stable build
"eko...--- via support-bugzilla" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Message-ID | <[email protected]> |
On Monday, December 28, 2020 at 1:11:38 PM UTC-5, Thorsten Schöning wrote:
> Guten Tag eko...--- via support-bugzilla,
> am Montag, 28. Dezember 2020 um 18:13 schrieben Sie:
> > Use of uninitialized value $encoding in concatenation (.) or string
> > at Bugzilla/Install/Util.pm line 607, <DATA> line 75
> That's a warning only, things might still succeed. Seems your setup is
> incompatible with the code, so you need to debug things and might file
> a bug. Put the following in place and see what gets printed,
> especially recognize the WARN-lines.
>
> > my $encoding;
> > if (ON_WINDOWS and eval { require Win32::Console }) {
> >
> > # Although setlocale() works on Windows, it doesn't always return
> > # the current *console's* encoding. So we use OutputCP here instead,
> > # when we can.
> > $encoding = Win32::Console::OutputCP();
> > warn('Windows+Console, but NO encoding.');
> > }
> > else {
> > my $locale = setlocale(LC_CTYPE);
> > warn('Other with locale: ' . $locale);
> > if ($locale =~ /\.([^\.]+)$/) {
> > $encoding = $1;
> > }
> > }
> > $encoding = "cp$encoding" if ON_WINDOWS;
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
Where should I put this in place? In the Util.pm?
_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.