Closed Bug 430803 Opened 16 years ago Closed 16 years ago

DOM inspector update for Firefox 3 Beta 5

Categories

(Firefox :: Extension Compatibility, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 433371

People

(Reporter: jefkin, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5

Ubuntu 8.04, installed yesterday (on perhaps a large number of desktops around the world), automatically upgraded firefox to firefox 3 Beta 5.

I realize this should have us pointing fingers at Ubuntu, but the greatest thing about firefox for me as a developer is the Dom inspector.  Can't a basic release me made ASAP, or a special case fork?  

Otherwise perhaps I need to install a previous version of firefox, and possibly mess up the 'niceness' of Ubuntu / Firefox.  



Reproducible: Always

Steps to Reproduce:
1.Install Ubuntu's just published 8.04
2.Try to install Dom Inspector
3.Incompatible with firefox 3 Beta 5
Actual Results:  
Warnings about the upgrades I needed.

Expected Results:  
? compatibility ?  

But I suppose what was done is acceptable, but DOM inspector is such a critical component for any web developer, that there should be a closer tie of Dom inspector releases to browser releases?  Am I just engaging in wishful thinking?

Effectiviely without Dom inspector, I am handicapped to view selection source and infering what's going on with css positioning, margins, borders, and padding.

This is critical for me, but perhaps just a Serious problem in general.
You are most likely trying to install DOMi from the wrong place. It is currently available on AMO where it is compatible up to Firefox 3.0pre

https://addons.mozilla.org/en-US/firefox/addon/6622
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Nope that's the very page I used to find the problem.

Clicked the "Add to Firefox " button.

Opens "Software Installation" dialog: 

for:

https://addons.mozilla.org/en-US/firefox/downloads/file/24181/dom_inspector-2.0.0-fx+tb+sb+sm.xpi

This results in a dialog box saying:

DOM Inspector 2.0.0 could not be installed because it is not compatible with Firefox 3.0b5.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
The install.rdf in the xpi in comment 2 says:

    <em:targetApplication>
      <!-- Firefox -->
      <Description>
        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
        <em:minVersion>3.0a1</em:minVersion>
        <em:maxVersion>3.0b4pre</em:maxVersion>
      </Description>
    </em:targetApplication>

But Firefox is supposed to contact AMO to get updated extension compatibility information.  When this happens, Firefox should find out that the same version is known to be compatible through Firefox 3.0pre.
Would contacting AMO in this case be use the URL given by the extensions.update.url pref? Maybe they changed that pref.  
Nothing has been changed recently and this still works perfectly for me. Please enable extensions.logging.enabled and then try the install again and paste results from the error console.
Sorry guys.

Dave, if this is for me, I think you're going a little over my head, How do I enable extensions.logging.enabled ... 

I seem to recall some funny 'url' you use to do it, but I don't recall what it is.  And I can't seem to find reference to it.
Jeff, try about:config.
Thanks Jesse,

Ok Dave, the messages in the error console:

1) Phone Home Listener: Update Started
2) Datasource: Update Started
3) Phone Home Listener: Update For inspector@mozilla.org started
4) Datasource: Addon Update Started: inspector@mozilla.org
5) Phone Home Listener: Update For inspector@mozilla.org ended, status = 32
6) Version Check Phone Home Completed
7) Add-on inspector@mozilla.org is incompatible with Firefox 3.0b5, Toolkit 1.9b5. Remote compatibility check did not resolve this.
8) Datasource: Addon Update Ended: inspector@mozilla.org, status: 32
9) Phone Home Listener: Update Ended
10) Datasource: Update Ended

I hope that helps.
(In reply to comment #5)
> Nothing has been changed recently
By them in comment #4 I meant Ubuntu.  They make their builds of FF right?

It looks like you already have an old version of DOM inspector installed, possibly installed as part of Ubuntu's Firefox package or something. This already installed version is blocking the compatibility check for the new version you are trying to install. If you remove the old version first you should be able to install from the website.
Eh?  Why would that happen?
Ok, I did a little checking and experimentation. It might be easier if I could show you screenshots, but I guess text will have to do.  My package manager shows a number of 'dom-inspector' packages, but only 2 were installed:

Ins . . . . . Package . . . . . . . . . . . . . . . Version 
===========================================================================
[ ] [ firefox-2-dom-inspector . . . . .. ] [ 2.0.0.14+2nobinonly-0ubuntu1 ]
[x] [ firefox-3.0-dom-inspector . . . .. ] [ 3.0~b5+nobinonly-0ubuntu3 .. ]
[x] [ firefox-dom-inspector . . . . . .. ] [ 3.0~b5+nobinonly-0ubuntu3 .. ]
[ ] [ firefox-granparadiso-dom-inspector ] [ 3.0~b5+nobinonly-0ubuntu3 .. ]
[ ] [ firefox-trunk-dom-inspector . . .. ] [ 3.0~b5+nobinonly-0ubuntu3 .. ]
===========================================================================

firefox-dom-inspector is a meta package that 'auto-installs' firefox-3.0-dom-inspector.  

I tried removing the package and installing DOMi via web, re-adding it and installing DOMi via web.  Same results, then I looked in the add-ons window under the extensions tab.

it lists:
DOM Inspector 1.8.1.14
Inspects the structure and properties of a window and its contents.
Not compatible with Firefox 3.0b5

[ Preferences ] ... [ Enable ] [ Uninstall ]

However none of the buttons (preferences, Enable, or Unistall) are operable.

So it seems Dave was right, there's a DOM inspector already installed, but I can't get at it to remove it.

I'm guessing I can do something about this from the 'file' level, since both abstract layers (package install and Firefox Extension install) appear to be unable to remove it.
Please attach the extensions.rdf, extensions.cache and extensions.ini files from your profile folder (~/mozilla/firefox/profiles/... I think)
Found them under ~/.mozilla/firefox/q0hsl8zl.default/  I don't know how to attach from this form: https://bugzilla.mozilla.org/show_bug.cgi?id=430803

so I'm including inline extensions.cache and extensions.ini.

extensions.rdf is pretty big, so I snipped out the section on dom inspector below

extensions.cache
==================================================================================
app-global      {972ce4c6-7e08-4474-a285-3208198ce6fd}  rel%{972ce4c6-7e08-4474-a285-3208198ce6fd}      0       
app-global      inspector@mozilla.org   rel%inspector@mozilla.org       0
app-global      ubufox@ubuntu.com       rel%ubufox@ubuntu.com   1209090083      app-global      langpack-en-GB@firefox-3.0.ubuntu.com   rel%langpack-en-GB@firefox-3.0.ubuntu.com       1209089365      
app-profile     yslow@yahoo-inc.com     rel%yslow@yahoo-inc.com 1209132971
app-profile     {0545b830-f0aa-4d7e-8820-50a4629a56fe}  rel%{0545b830-f0aa-4d7e-8820-50a4629a56fe}      1200975895
app-profile     {b9db16a4-6edc-47ec-a1f4-b86292ed211d}  rel%{b9db16a4-6edc-47ec-a1f4-b86292ed211d}      1209132971      
app-profile     {792BDDFE-2E7C-42ed-B18D-18154D2761BD}  rel%{792BDDFE-2E7C-42ed-B18D-18154D2761BD}      1209132971      
app-profile     {71328583-3CA7-4809-B4BA-570A85818FBB}  rel%{71328583-3CA7-4809-B4BA-570A85818FBB}      1200981738
app-profile     {c45c406e-ab73-11d8-be73-000a95be3b12}  rel%{c45c406e-ab73-11d8-be73-000a95be3b12}      1201017663
app-profile     firebug@software.joehewitt.com  rel%firebug@software.joehewitt.com      1201021014      
app-profile     {3112ca9c-de6d-4884-a869-9855de68056c}  rel%{3112ca9c-de6d-4884-a869-9855de68056c}      1201030262      
app-profile     {59c81df5-4b7a-477b-912d-4e0fdf64e5f2}  rel%{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}      1209132971      
gre-global      langpack-en-GB@xulrunner-1.9.ubuntu.com rel%langpack-en-GB@xulrunner-1.9.ubuntu.com     1209089365      
gre-global      inspector@mozilla.org   rel%inspector@mozilla.org       1209089583      
gre-global      {972ce4c6-7e08-4474-a285-3208198ce6fd}  rel%{972ce4c6-7e08-4474-a285-3208198ce6fd}      1209089586      
==================================================================================


extensions.ini
==================================================================================
[ExtensionDirs]
Extension0=/home/jeff/.mozilla/firefox/qohsl8zl.default/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}
Extension1=/home/jeff/.mozilla/firefox/qohsl8zl.default/extensions/{b9db16a4-6edc-47ec-a1f4-b86292ed211d}
Extension2=/home/jeff/.mozilla/firefox/qohsl8zl.default/extensions/{792BDDFE-2E7C-42ed-B18D-18154D2761BD}
Extension3=/home/jeff/.mozilla/firefox/qohsl8zl.default/extensions/yslow@yahoo-inc.com
Extension4=/usr/lib/firefox-3.0b5/extensions/ubufox@ubuntu.com
Extension5=/usr/lib/xulrunner-1.9b5/extensions/langpack-en-GB@xulrunner-1.9.ubuntu.com
Extension6=/usr/lib/firefox-3.0b5/extensions/langpack-en-GB@firefox-3.0.ubuntu.com
[ThemeDirs]
Extension0=/usr/lib/firefox-3.0b5/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
==================================================================================

extensions.rdf (top, DOMi and bottom)
==================================================================================
<?xml version="1.0"?>
<RDF:RDF xmlns:NS1="http://www.mozilla.org/2004/em-rdf#"
         xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  
  ...
  
  <RDF:Description RDF:about="urn:mozilla:item:inspector@mozilla.org"
                   NS1:installLocation="app-global"
                   NS1:version="1.8.1.14"
                   NS1:name="DOM Inspector"
                   NS1:description="Inspects the structure and properties of a window and its contents."
                   NS1:creator="mozilla.org"
                   NS1:homepageURL="http://www.mozilla.org/projects/inspector/"
                   NS1:appManaged="true"
                   NS1:appDisabled="true">
    <NS1:type NC:parseType="Integer">2</NS1:type>
    <NS1:targetApplication RDF:resource="rdf:#$8FmVY"/>
    <NS1:targetApplication RDF:resource="rdf:#$9FmVY"/>
    <NS1:targetApplication RDF:resource="rdf:#$aFmVY"/>
  </RDF:Description>

  ...

</RDF:RDF>  
==================================================================================

Do I need to send you more?  Would it work to just close firefox, chop out that RDF:Description section and restart ff?
The "Add an attachment" link is the normal way, but never mind.

If the following directories exist, remove them:

/usr/lib/firefox-3.0b5/extensions/inspector@mozilla.org
/home/jeff/.mozilla/firefox/qohsl8zl.default/extensions/inspector@mozilla.org

Then remove extensions.cache, extensions.ini and extensions.rdf.

Then install the firefox-3.0-dom-inspector package from ubuntu. Ubuntu have screwed around with that so it should work with any version of Firefox 3.

Then start Firefox and check it worked, if not paste what came up in the error console.
Perfect, that worked.  

A) Quit firefox.
B) I deleted the 3 extensions.* files
C) 'Reinstalled' the firefox-3.0-dom-inspector package with my package manager.
D) Restared firefox, and Tools now lists dom inspector!

Missed the Atachment link above :)

Anyway I considered this solved for me, but my only question then is what did I do (if anything) to get stuck this way in the first place?  

My not-so-sure guess is it was installing Dom inspector from the Browser and not the Ubuntu package manager, prior to the ubuntu 8.0.4 release, and something in the upgrade cleared part but not all of the old remnant?

That suggests something in the ubuntu upgrade path got wonky.  But Thanks to Brian, Dave, and Jeese.
Can you attach the new extensions.cache and extensions.ini files that would have been generated just so I can compare them.
Attached file new extensions.ini
Attached file new extensions.cache
Attachment #318212 - Attachment mime type: application/octet-stream → text/plain
Thanks, just one final thing, if there is an extensions.log file please attach that too.
Dave, I didn't find an extensions.log file.  There's and "install.log" but it's latest entry is from January.

Is it named something else?
It would be in the profile folder, but only exists in certain cases so probably just not there.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: