ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #04758
[Bug 1613851] [NEW] konqueror info protocol no longer works
Public bug reported:
Running:
16.04.1 LTS
kde-runtime:
Installed: 4:15.12.3-0ubuntu1
To reproduce:
Enter info:/coreutils/Top into the konqueror URL bar.
Expected result:
Konqueror displays relevant info page.
Actual result:
The following error message is displayed:
"
The requested operation could not be completed
Cannot Initiate the info Protocol
Technical Reason: Unable to Launch Process
..." (attached in full)
This appears to be the same bug as reported upstream here:
https://bugs.kde.org/359015
Applying the patch in the above report to /usr/share/kde4/apps/kio_info
/kde-info2html seems to fix the problem:
@@ -171,7 +171,7 @@
next if $looking && !/\* Menu/;
$looking = 0;
my @item = &ParseMenuItem($_,'dir');
- if (!defined(@item)) { next }
+ if (!@item) { next }
my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @item;
if ($MenuLinkRef eq $FileName) {
&Redirect($MenuLinkFile, $MenuLinkTag);
@@ -429,7 +429,7 @@
sub MenuItem2HTML {
my ($Line, $BaseInfoFile) = @_;
my @parse_results = &ParseMenuItem($Line, $BaseInfoFile);
- if (!defined (@parse_results)) { return $Line; }
+ if (!@parse_results) { return $Line; }
my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @parse_results;
#-- produce a HTML line
return "<tr class=\"infomenutr\"><td class=\"infomenutd\" style=\"width:30%\"><ul><li><a href=\"info:/$MenuLinkFile/$MenuLinkTag\">$MenuLinkRef</a></ul></td><td class=\"infomenutd\">$MenuLinkText";
Note: I've reported this to kde-runtime, because:
dpkg -S /usr/share/kde4/apps/kio_info/kde-info2html
states that kde-runtime is "responsible" for this file.
If I've reported it in the wrong place, I apologise.
** Affects: kde-runtime (Ubuntu)
Importance: Undecided
Status: New
** Tags: konqueror
** Attachment added: "full error message"
https://bugs.launchpad.net/bugs/1613851/+attachment/4722217/+files/konqueror_error_message_info
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to kde-runtime in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1613851
Title:
konqueror info protocol no longer works
Status in kde-runtime package in Ubuntu:
New
Bug description:
Running:
16.04.1 LTS
kde-runtime:
Installed: 4:15.12.3-0ubuntu1
To reproduce:
Enter info:/coreutils/Top into the konqueror URL bar.
Expected result:
Konqueror displays relevant info page.
Actual result:
The following error message is displayed:
"
The requested operation could not be completed
Cannot Initiate the info Protocol
Technical Reason: Unable to Launch Process
..." (attached in full)
This appears to be the same bug as reported upstream here:
https://bugs.kde.org/359015
Applying the patch in the above report to
/usr/share/kde4/apps/kio_info/kde-info2html seems to fix the problem:
@@ -171,7 +171,7 @@
next if $looking && !/\* Menu/;
$looking = 0;
my @item = &ParseMenuItem($_,'dir');
- if (!defined(@item)) { next }
+ if (!@item) { next }
my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @item;
if ($MenuLinkRef eq $FileName) {
&Redirect($MenuLinkFile, $MenuLinkTag);
@@ -429,7 +429,7 @@
sub MenuItem2HTML {
my ($Line, $BaseInfoFile) = @_;
my @parse_results = &ParseMenuItem($Line, $BaseInfoFile);
- if (!defined (@parse_results)) { return $Line; }
+ if (!@parse_results) { return $Line; }
my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @parse_results;
#-- produce a HTML line
return "<tr class=\"infomenutr\"><td class=\"infomenutd\" style=\"width:30%\"><ul><li><a href=\"info:/$MenuLinkFile/$MenuLinkTag\">$MenuLinkRef</a></ul></td><td class=\"infomenutd\">$MenuLinkText";
Note: I've reported this to kde-runtime, because:
dpkg -S /usr/share/kde4/apps/kio_info/kde-info2html
states that kde-runtime is "responsible" for this file.
If I've reported it in the wrong place, I apologise.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1613851/+subscriptions
Follow ups