Re: Error running Checksetup in latest Bugzilla stable build

=?windows-1250?Q?Thorsten_Sch=F6ning?= <[email protected]>
Newsgroups gmane.comp.mozilla.devel.webtools
Organization AM-SoFT GmbH IT-Systeme
Message-ID <[email protected]>
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

-- 
Thorsten Schöning
AM-SoFT IT-Service - Bitstore Hameln GmbH

E-Mail:  [email protected]
Web:     http://www.AM-SoFT.de/

Telefon: 05151-  9468-55
Fax:     05151-  9468-88
Mobil:    0178-8 9468-04

Firmensitz: Bitstore IT-Consulting, Frankfurter Allee 285, 10317 Berlin
Steuernummer 037/230/30566, HR 27198, Amtsgericht Potsdam Geschäftsführer Janine Galonska

_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.