Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error running Checksetup in latest Bugzilla stable build

17 views
Skip to first unread message

eko...@drawbase.com

unread,
Dec 28, 2020, 12:13:25 PM12/28/20
to
When I run checksetup I receive the following error after EACH line of Checking For regardless of whether or not the item is found:

Use of uninitialized value $encoding in concatenation (.) or string at Bugzilla/Install/Util.pm line 607, <DATA> line 75

Any explanation on how to resolve this or if it is a problem would be appreciated. I am running the latest Active State Perl modules.

eko...@drawbase.com

unread,
Dec 28, 2020, 12:34:30 PM12/28/20
to
BTW, in both cases here is the information regarding Bugzilla:

This is Bugzilla 5.0.6 on perl 5.28.1 Mysql 8.1

Thorsten Schöning

unread,
Dec 28, 2020, 1:11:38 PM12/28/20
to support-...@lists.mozilla.org
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: Thorsten....@AM-SoFT.de
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

Message has been deleted

eko...@drawbase.com

unread,
Dec 28, 2020, 4:00:06 PM12/28/20
to
Νεver Mind, - figured it out

I inserted the line where you pointed to. Ran checksetup and and received the following:


Other with locale: C at Bugzilla/Install/Util.pm line 604.

Does this mean anything to you?

eko...@drawbase.com

unread,
Dec 28, 2020, 5:00:38 PM12/28/20
to
I downgraded my Activestate perl to the following:

Other with locale: English_United States.1252 at Bugzilla/Install/Util.pm line 604.

And the error message I was receiving has disappeared.

Thorsten Schöning

unread,
Dec 29, 2020, 5:25:18 AM12/29/20
to support-...@lists.mozilla.org
Guten Tag eko...--- via support-bugzilla,
am Montag, 28. Dezember 2020 um 23:00 schrieben Sie:

> Other with locale: English_United States.1252 at
> Bugzilla/Install/Util.pm line 604.

The suffix "1252" is what Bugzilla expected to find and didn't with
the former locale "C". This is worth filing a bug to make Bugzilla mor
compatible with such setup, though it would be good to know WHY "C"
was given with the newer Perl in your environment.

Do you want to file a bug or should I?

Thorsten Schöning

unread,
Dec 29, 2020, 11:56:07 AM12/29/20
to support-...@lists.mozilla.org
Guten Tag Evan Kontos,
am Dienstag, 29. Dezember 2020 um 15:56 schrieben Sie:

> I have no access to Bugzilla to file the bug. Waiting for my
> rights to be restored. You can file it. If you need more information please advise.

Feel free to CC yourself once y<ou have access again or simply provide
more detials on your own.

https://bugzilla.mozilla.org/show_bug.cgi?id=1684464
0 new messages