bum non-fatal errors and missing apt-description output

Bug #1273531 reported by Guy Stone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bum (Ubuntu)
New
Undecided
Unassigned

Bug Description

Updated 64-bit Ubuntu with bum 2.5.2-1added.

Ran the utility, got stderr output
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated at /usr/lib/bum/bum_app.pm line 122.
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated at /usr/lib/bum/bum_app.pm line 122.
E: No packages found
substr outside of string at /usr/lib/bum/bumlib.pm line 286.
Use of uninitialized value $s_info in index at /usr/lib/bum/bumlib.pm line 287.
Use of uninitialized value $s_info in index at /usr/lib/bum/bumlib.pm line 292.
Use of uninitialized value $s_info in substr at /usr/lib/bum/bumlib.pm line 293.
Use of uninitialized value $s_info in substr at /usr/lib/bum/bumlib.pm line 294.

Ignored GTK warnings

Other error results in no descriptions showing on services tab with advanced checked.

ROOT CAUSE
bumlib.pm gets the current module description from apt-cache show and saves it with
                my $start = rindex($s_info,"Description");
With internationalization, the pkg description text can have a hyphen and language code. So now $start is pointing to the wrong place.

Sorry I'm not a PERL programmer so I can't supply a patch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.