[Bug 131743] Re: liferea-add-feed does nothing in firefox

Jérôme Guelfucci jerome.guelfucci at gmail.com
Thu Aug 23 12:58:42 UTC 2007


** Description changed:

  Binary package hint: liferea
  
  To have new "subscriptions" automatically picked up by liferea, you're
  supposed to set the external application (within firefox) to "/usr/bin
  /liferea-add-feed". Clicking this however, does nothing since my fresh
  install of Gutsy Tribe 4.
+ 
+ @mozilla.org/browser/shell-service;1  is apparently not resolvable,
+ Components.classes["@mozilla.org/browser/shell-
+ service;1"].getService(Components.interfaces.nsIShellService_MOZILLA_1_8_BRANCH)
+ fails.
+ 
+ Error that can be found in the console error when trying to use liferea-
+ add-feed :
+ 
+ Error: [Exception... "ServiceManager::GetService returned failure code:"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: file:///usr/lib/firefox/components/FeedConverter.js :: 
+ FRS_addToClientReader :: line 338"  data: no]
+ Source File: file:///usr/lib/firefox/components/FeedConverter.js
+ Line: 338
+ 
+ Code near line 338 of /usr/lib/firefox/components/FeedConverter.js
+ switch (handler) {
+     case "client":
+       var clientApp =
+         prefs.getComplexValue(PREF_SELECTED_APP, Ci.nsILocalFile);
+ //@line 393 "/build/buildd/firefox-2.0.0.6+2/build-tree/mozilla/browser/components/feeds/src/FeedConverter.js"
+       var ss =
+           Cc["@mozilla.org/browser/shell-service;1"].   < bugging line
+           getService(Ci.nsIShellService_MOZILLA_1_8_BRANCH);
+       ss.openApplicationWithURI(clientApp, spec);
+       break;

** Description changed:

  Binary package hint: liferea
  
  To have new "subscriptions" automatically picked up by liferea, you're
  supposed to set the external application (within firefox) to "/usr/bin
  /liferea-add-feed". Clicking this however, does nothing since my fresh
  install of Gutsy Tribe 4.
  
  @mozilla.org/browser/shell-service;1  is apparently not resolvable,
  Components.classes["@mozilla.org/browser/shell-
  service;1"].getService(Components.interfaces.nsIShellService_MOZILLA_1_8_BRANCH)
  fails.
  
  Error that can be found in the console error when trying to use liferea-
  add-feed :
  
  Error: [Exception... "ServiceManager::GetService returned failure code:"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: file:///usr/lib/firefox/components/FeedConverter.js :: 
  FRS_addToClientReader :: line 338"  data: no]
  Source File: file:///usr/lib/firefox/components/FeedConverter.js
  Line: 338
  
- Code near line 338 of /usr/lib/firefox/components/FeedConverter.js
+ Code near line 338 of /usr/lib/firefox/components/FeedConverter.js :
+ 
  switch (handler) {
      case "client":
        var clientApp =
          prefs.getComplexValue(PREF_SELECTED_APP, Ci.nsILocalFile);
  //@line 393 "/build/buildd/firefox-2.0.0.6+2/build-tree/mozilla/browser/components/feeds/src/FeedConverter.js"
        var ss =
            Cc["@mozilla.org/browser/shell-service;1"].   < bugging line
            getService(Ci.nsIShellService_MOZILLA_1_8_BRANCH);
        ss.openApplicationWithURI(clientApp, spec);
        break;

-- 
liferea-add-feed does nothing in firefox
https://bugs.launchpad.net/bugs/131743
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list