[Bug 1613851] Re: konqueror info protocol no longer works

adam plaice plaiceadam at gmail.com
Tue Aug 16 19:06:46 UTC 2016


** Description changed:

  Running:
  16.04.1 LTS
  
  kde-runtime:
-   Installed: 4:15.12.3-0ubuntu1
- 
+   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
  
- 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";
  
  
- 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.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-runtime in Ubuntu.
https://bugs.launchpad.net/bugs/1613851

Title:
  konqueror info protocol no longer works

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1613851/+subscriptions




More information about the kubuntu-bugs mailing list