This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144719 - Installing browser extension fails
Summary: Installing browser extension fails
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2008-08-21 14:53 UTC by Erno Mononen
Modified: 2008-09-19 23:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
add-ons (38.76 KB, image/png)
2008-08-22 10:43 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2008-08-21 14:53:13 UTC
Product Version: NetBeans IDE Dev (Build 080820)
Java: 1.5.0_15; Java HotSpot(TM) 64-Bit Server VM 1.5.0_15-b04
System: Linux version 2.6.24-19-generic running on amd64; UTF-8; en_US (nb)

Using Ubuntu 8.04 that comes with Firefox 3.

I installed Firefox 2.0.0.16 and configured the default browser in the IDE to be '/usr/bin/firefox-2'. This works fine, 
when running or debugging an app (a Rails app in my case) FF 2.0.0.16 is launched as expected. 

I then enabled client side debugging. The browser is detected correctly and the dialog asking for installing the 
extension pops up, after clicking OK the browser opens and a page saying 'Netbeans JavaScript Debugger -- launching. 
Please wait' is displayed. From there on no progress happens; even after 30 minutes the NB JS debugger is still being 
launched. So the steps to reproduce on Ubuntu:

1. install FF 2
2. configure it as the default browser in the IDE
3. create a Rails application (I used the built-in JRuby 1.1.3 as the platform)
4. enable client side debugging
5. debug the app
6. confirm installation of the browser ext => the "please wait.." page is displayed with no further progress
Comment 1 Quy Nguyen 2008-08-21 16:40:32 UTC
A few things to help diagnose this:

1) How are you installing Firefox?  Through package install or from the firefox site?
2) Is there anything in Tools->Error Console in Firefox?
3) What do you see in the Tools-Addons list in Firefox?
4) Do you see, in ~/.mozilla/firefox/<profile folder>/extensions/, the 'firebug@software.joehewitt.com' and
netbeans-firefox-extension@netbeans.org directories?
Comment 2 Quy Nguyen 2008-08-21 18:19:56 UTC
Also, this issue seems very similar to Issue 142593, which was fixed a while back.  In the worst case, it may be
sufficient to use 'firefox -P' to create a new profile for Firefox 2.  Note that this problem will become much less
common once Firefox 3 support is available.
Comment 3 Erno Mononen 2008-08-22 10:42:58 UTC
1) Through the package manager
2) There is the following:
installLocation has no properties
file:///usr/lib/firefox/components/nsExtensionManager.js

3) please see the attachment
4) I can see both there

I tried installing firefox-gnome-support as suggested in issue 142593, but that didn't help.
Comment 4 Erno Mononen 2008-08-22 10:43:35 UTC
Created attachment 68092 [details]
add-ons
Comment 5 Quy Nguyen 2008-08-22 17:34:25 UTC
From the screenshot, Firebug appears to be disabled.  Could you highlight it to see why it is disabled (the other
extension requires firebug, so it will be disabled if Firebug is disabled as well).  Also, could you provide the exact
build number of Firefox from Help->About?
Comment 6 Quy Nguyen 2008-08-22 17:40:51 UTC
By the way, it appears the root cause of these Ubuntu install issues is:
https://bugzilla.mozilla.org/show_bug.cgi?id=356370

It looks like this bug is only fixed in Firefox 3, even though it will occur on Ubuntu when switching from Firefox 3 to
2.  We do use the workaround of removing 'extensions.rdf' from the profile directory, but there are reports that this
workaround does not work in all cases.
Comment 7 Erno Mononen 2008-08-26 09:39:03 UTC
The exact build number is:

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080718 Ubuntu/8.04 (hardy) Firefox/2.0.0.16

Highlighting the Firebug extension didn't provide any additional info, just the 'Enable' and 'Uninstall' buttons became 
visible. Clicking Enable doesn't do anything visible though, the extension remains disabled.

I'll try creating a new profile for FF 2.
Comment 8 Quy Nguyen 2008-09-19 23:29:03 UTC
Closing as WONTFIX, since this is an Ubuntu Firefox 2 issue (see the above bugzilla link).  Any new add-ons will fail to
install, including the ones installed by NetBeans.  This may be something to add to an FAQ or the release notes.