Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. netdisco-web not starting on version 2.060008 (Roberto Flor)
2. Re: netdisco-web not starting on version 2.060008 (Oliver Gorwits)
3. Re: netdisco-web not starting on version 2.060008 (Oliver Gorwits)
--- Begin Message ---
After upgrading to 2.06008 ( Redhat Enterprise 7.9 , perl 5, version 16,
subversion 3 (v5.16.3))
I got the same error reported by Joseph Bernard <j...@clemson.edu:
Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: Can't use an
undefined value as an ARRAY reference at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Web.pm line 150.
My one line fix :
*** Web.pm_orig 2023-03-10 16:00:41.293433494 +0100
--- Web.pm 2023-03-10 16:19:29.030722318 +0100
***************
*** 143,148 ****
--- 143,149 ----
# sort the reports which have been loaded, by their label
foreach my $cat (@{ setting('_report_order') }) {
*+ setting('_reports_menu')->{ $cat } = [];*
setting('_reports_menu')->{ $cat }
= [ sort { setting('_reports')->{$a}->{'label'}
cmp
The reports are now ordered by label.
regards
Roberto Flor
IT Infrastructure
Fondazione Bruno Kessler
Via Sommarive 18
I38123 Povo - Trento - ITALY
--
--
Le informazioni contenute nella presente comunicazione sono di natura
privata e come tali sono da considerarsi riservate ed indirizzate
esclusivamente ai destinatari indicati e per le finalità strettamente
legate al relativo contenuto. Se avete ricevuto questo messaggio per
errore, vi preghiamo di eliminarlo e di inviare una comunicazione
all’indirizzo e-mail del mittente.
--
The information transmitted is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you received this in
error, please contact the sender and delete the material.
--- End Message ---
--- Begin Message ---
Thank you for the report! And sorry for the bug. I've just released
version 2.060009 with the same fix.
regards,
Oliver.
On Thu, 9 Mar 2023 at 23:53, Joseph Bernard <j...@clemson.edu> wrote:
> I upgraded from 2.060007 to 2.060008 and got the following error when
> trying to start netdisco-web:
>
>
>
> Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: Can't use an
> undefined value as an ARRAY reference at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Web.pm line 150.
>
> Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg
> line 59.
>
> BEGIN failed--compilation aborted at
> /home/netdisco/perl5/bin/netdisco-web-fg line 59.
>
> Child process 28187 exited with status 255
>
>
>
> In a panic, I commented out lines 144 to 152 in Web.pm after doing a
> compare of changes on github and was able to get it started.
>
>
>
> Any idea what’s going on?
>
>
>
>
>
> Thanks,
>
> Joseph B.
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
--- End Message ---
--- Begin Message ---
Thank you for the report! And sorry for the bug. I've just released
version 2.060009 with the same fix.
regards,
Oliver.
On Fri, 10 Mar 2023 at 16:29, Roberto Flor via netdisco-users <
netdisco-users@lists.sourceforge.net> wrote:
> After upgrading to 2.06008 ( Redhat Enterprise 7.9 , perl 5, version 16,
> subversion 3 (v5.16.3))
> I got the same error reported by Joseph Bernard <j...@clemson.edu:
>
>
> Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: Can't use
> an undefined value as an ARRAY reference at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Web.pm line 150.
>
> My one line fix :
> *** Web.pm_orig 2023-03-10 16:00:41.293433494 +0100
> --- Web.pm 2023-03-10 16:19:29.030722318 +0100
> ***************
> *** 143,148 ****
> --- 143,149 ----
>
> # sort the reports which have been loaded, by their label
> foreach my $cat (@{ setting('_report_order') }) {
> *+ setting('_reports_menu')->{ $cat } = [];*
> setting('_reports_menu')->{ $cat }
> = [ sort { setting('_reports')->{$a}->{'label'}
> cmp
>
> The reports are now ordered by label.
> regards
>
> Roberto Flor
> IT Infrastructure
> Fondazione Bruno Kessler
>
> Via Sommarive 18
> I38123 Povo - Trento - ITALY
>
> --
> Le informazioni contenute nella presente comunicazione sono di natura privata
> e come tali sono da considerarsi riservate ed indirizzate esclusivamente
> ai destinatari indicati e per le finalità strettamente legate al relativo
> contenuto. Se avete ricevuto questo messaggio per errore, vi preghiamo di
> eliminarlo e di inviare una comunicazione all’indirizzo e-mail del
> mittente.
> --
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. If you received this in error, please contact the sender and
> delete the material.
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users