> Finally - I'd completely remove Firefox (uninstall and rename nonempty > folder) and install it again... And CSS starts working...
Thank you, this fixed Firebug for me.
Since uninstalling without renaming/deleting does not work, I looked at this bug more closely: There was an inspector*.dll (and some other files starting with inspector*) left in the components directory. The version of the dll was 1.7.something, although my DOM-Inspector's version had been 1.8.1, so I suspect it was left over from a previous installation. If anyone still encounters this problem, you might just try deleting/moving away these files.
I know everyone else is chiming in with this, but I just also wanted to add that indeed it fixed the problem for me and was truly painless. I made a backup copy of my Firefox application data folder just in case it disappeared but everything stayed put, even all my skins and extensions, which surprised me.
I also notice that the DOM Inspector works better. It's funny that I didn't notice before, but the CSS info was definitely blank in the DOM inspector since I'd upgraded to FF2, but I hadn't really paid much attention to that. Now it works in both Firebug and DOM Inspector.
So this really ends up being a Firefox 2 install bug, rather than a Firebug issue.
Hunted through the source code and found this in there:
var domUtils = null; try { domUtils = CCSV("@mozilla.org/inspector/dom-utils;1", "inIDOMUtils");
} catch (exc) {
// We can try to live without "dom-utils", since it only comes with DOM Inspector
}
Later on it uses domUtils to produce the error message we're all seeing:
if (!domUtils) { FirebugReps.Warning.tag.replace({object: "DOMInspectorWarning"}, this.panelNode); return; }
So, we need to determine why the XPCOM component @mozilla.org/inspector/dom-utils;1 isn't available. There's a nice viewer addon to peruse the components in your system here: https://addons.mozilla.org/firefox/2230/ I had to hack the XPI to get it to install in FF 2.0, but it works. I found that, as expected, the inIDOMUtils interface isn't there. So, it looks like something with the DOM Inspector is getting messed up.
To be honest, I'd just code around this and not rely on something optional being installed. But that's a bigger task and I'm not the one doing it, so it's easy to say :)
Red Cardinal wrote: > First off Joe thanks for the reease. > Second I'm not directing this at you Joe - you've probably got enough > on your plate. > ******
> I have had a problem with FB not picking up stlye sheets since 0.41 and > FF2.0.
> I'm wondering if anyone else has this problem?
> I have disabled every plugin barring DOM Inspector, Talkback and > Firebug 1.0 but still get:
> 'Unable to show styles. You must install DOM Inspector.'
> when I try to inspect CSS?
> If anyone has seen this behaviour, or knows how to correct I'd be very > apprecaitive.
DiGi wrote: > Profiles are stored in your %appdata% (on Win2k/xp) or inside home > folder (linux etc). So if you uninstall Firefox you will not remove > your profiles. They are on different place. Inside Firefox folder are > plugins (Flash, ...) and Search Engines (why are they global I don't > know - ask Mozilla ;-) ). > You can remove Firefox (from Control panel or using Mozilla > Firefox\uninstall\uninst.exe) and you should remove/rename old folder > (or install Firefox to new location). Then install Firefox. Start it > and you are in your profile. > Simple reinstalling over previous version will not help. I don't know > where exactly is the trouble, but reinstall with removing folder is > work for 2 minutes only and will fix your problem. Don't be scared.
> DiGi
> On Dec 6, 9:05 pm, "Richard Davies" <rich...@richarddavies.us> wrote: > > Could you please post some general steps showing what you did to fix > > the problem? I'd like to get it fixed, but I'm not sure how you are > > reinstalling Firefox without losing your profile settings. Thanks!!
> You won't lost anything from your profiles... Just only search engines > (and you can copy them).
> I don't know what is different in clean install, but simple uninstall > and reinstall DOM Inspector it not working... > Reinstall Firefox is one minute work. On my corporate pc works Firebug > immediately, on my home pc and notebook I must do reinstall.
But why not format your hard disk, and reinstall Windows?
Surely yours is a solution, but not very good, IMHO. Reinstall Firefox is one minute work. Reinstall bookmark, too. Reinstall extensions, not sure it's a minute work. Configuring pref.js with my personal settings, definitely NOT a minute work.
> You won't lost anything from your profiles... Just only search engines > (and you can copy them).
> I don't know what is different in clean install, but simple uninstall > and reinstall DOM Inspector it not working... > Reinstall Firefox is one minute work. On my corporate pc works Firebug > immediately, on my home pc and notebook I must do reinstall.
But why not format your hard disk, and reinstall Windows?
Surely yours is a solution, but not very good, IMHO. Reinstall Firefox is one minute work. Reinstall bookmark, too. Reinstall extensions, not sure it's a minute work. Configuring pref.js with my personal settings, definitely NOT a minute work.
Re-read the previous posts. You won't lose your profile, your bookmarks, your extensions, or your prefs.js, or even your seach engines (in my experience) because all of these things are stored in your "profile" folder which is in a different location from the Firefox "application" folder that you're removing and then reinstalling. (You're not removing your profile folder.)
If you're really paranoid, just make a backup copy of your Firefox application folder, uninstall, and then delete the application folder. You'll still have the backup in case you need to restore a particular file.
On Dec 9, 8:49 am, "Ciofegates" <ciofega...@mailinater.com> wrote:
> > You won't lost anything from your profiles... Just only search engines > > (and you can copy them).
> > I don't know what is different in clean install, but simple uninstall > > and reinstall DOM Inspector it not working... > > Reinstall Firefox is one minute work. On my corporate pc works Firebug > > immediately, on my home pc and notebook I must do reinstall.But why not format your hard disk, and reinstall Windows?
> Surely yours is a solution, but not very good, IMHO. Reinstall Firefox > is one minute work. Reinstall bookmark, too. Reinstall extensions, not > sure it's a minute work. Configuring pref.js with my personal settings, > definitely NOT a minute work.
Did you completely delete your Program Files\Mozilla Firefox directory after the uninstall but before the reinstall? That seems to be the crucial step.
On Dec 9, 8:08 am, "slimc9999" <cody.sw...@gmail.com> wrote:
> This doesn't work for me. I tried 2 complete reinstalls, but got the > same problem each time. > Any other ideas?
> DiGi wrote: > > Profiles are stored in your %appdata% (on Win2k/xp) or inside home > > folder (linux etc). So if you uninstall Firefox you will not remove > > your profiles. They are on different place. Inside Firefox folder are > > plugins (Flash, ...) and Search Engines (why are they global I don't > > know - ask Mozilla ;-) ). > > You can remove Firefox (from Control panel or using Mozilla > > Firefox\uninstall\uninst.exe) and you should remove/rename old folder > > (or install Firefox to new location). Then install Firefox. Start it > > and you are in your profile. > > Simple reinstalling over previous version will not help. I don't know > > where exactly is the trouble, but reinstall with removing folder is > > work for 2 minutes only and will fix your problem. Don't be scared.
> > DiGi
> > On Dec 6, 9:05 pm, "Richard Davies" <rich...@richarddavies.us> wrote: > > > Could you please post some general steps showing what you did to fix > > > the problem? I'd like to get it fixed, but I'm not sure how you are > > > reinstalling Firefox without losing your profile settings. Thanks!!
Please... Your Bookmars, your extensions, your configuration, cookies, passwords - is in YOUR profile - not in Firefox folder. Each user have own home folder, and each user have more that only one Firefox profile. Removing Firefox will NOT delete your profile.
> Surely yours is a solution, but not very good, IMHO. Reinstall Firefox > is one minute work. Reinstall bookmark, too. Reinstall extensions, not > sure it's a minute work. Configuring pref.js with my personal settings, > definitely NOT a minute work.
DiGi wrote: > Please... Your Bookmars, your extensions, your configuration, cookies, > passwords - is in YOUR profile - not in Firefox folder. Each user have > own home folder, and each user have more that only one Firefox profile. > Removing Firefox will NOT delete your profile.
> Of course you can spend hours by finding better solution, it is on you > ;-)
> DiGi
> On Dec 9, 5:49 pm, "Ciofegates" <ciofega...@mailinater.com> wrote:
> > Surely yours is a solution, but not very good, IMHO. Reinstall Firefox > > is one minute work. Reinstall bookmark, too. Reinstall extensions, not > > sure it's a minute work. Configuring pref.js with my personal settings, > > definitely NOT a minute work.
DiGi wrote: > Please... Your Bookmars, your extensions, your configuration, cookies, > passwords - is in YOUR profile - not in Firefox folder. Each user have > own home folder, and each user have more that only one Firefox profile. > Removing Firefox will NOT delete your profile.
> Please... Your Bookmars, your extensions, your configuration, cookies, > passwords - is in YOUR profile - not in Firefox folder. Each user have > own home folder, and each user have more that only one Firefox profile. > Removing Firefox will NOT delete your profile.
Yes, you are right. I know what is a profile and how Firefox manages profiles, but I had wrongly understood that to solve the problem it is needed to delete the profiles besides disinstalling Firefox.
Indeed, since I was really interested in Firebug, I disinstalled Firefox and delete my profile folder, after having made a backup of it. When I have reinstalled Firefox, I tried to copy some of the files of my backupped folder to the new one and check Firefox each time, and finally I realized with surprise that Firebug did work with the same files of my backupped profile folder.
Re-installing Firefox doesn't seem to do the trick for me. I uninstalled Firefox, reinstalled it, but still see "Unable to show styles" in the Style tab. And yes, I do have the DOM Inspector installed. Still, thank you for helping.
Alex
On Dec 6, 1:08 pm, "DiGi" <dig...@gmail.com> wrote:
> Profiles are stored in your %appdata% (on Win2k/xp) or inside home > folder (linux etc). So if you uninstall Firefox you will not remove > your profiles. They are on different place. Inside Firefox folder are > plugins (Flash, ...) and Search Engines (why are they global I don't > know - ask Mozilla ;-) ). > You can remove Firefox (from Control panel or using Mozilla > Firefox\uninstall\uninst.exe) and you should remove/rename old folder > (or install Firefox to new location). Then install Firefox. Start it > and you are in your profile. > Simple reinstalling over previous version will not help. I don't know > where exactly is the trouble, but reinstall with removing folder is > work for 2 minutes only and will fix your problem. Don't be scared.
> DiGi
> On Dec 6, 9:05 pm, "Richard Davies" <rich...@richarddavies.us> wrote:
> > Could you please post some general steps showing what you did to fix > > the problem? I'd like to get it fixed, but I'm not sure how you are > > reinstalling Firefox without losing your profile settings. Thanks!!
My guess is that the problem here occurs for people who installed Firefox 1.5 with the DOM Inspector, but when they upgraded to Firefox 2.0 they forgot to check DOM Inspector again in the installer.
I removed the files inspector.dll, inspector.xpt and instpector-cmdline.js from the components directory and reinstalled FireFox over the top of my existing install, and CSS styles started working.
> > Finally - I'd completely remove Firefox (uninstall and rename nonempty > > folder) and install it again... And CSS starts working...
> Thank you, this fixed Firebug for me.
> Since uninstalling without renaming/deleting does not work, I looked at > this bug more closely: There was an inspector*.dll (and some other > files starting with inspector*) left in the components directory. The > version of the dll was 1.7.something, although my DOM-Inspector's > version had been 1.8.1, so I suspect it was left over from a previous > installation. > If anyone still encounters this problem, you might just try > deleting/moving away these files.
> > Finally - I'd completely remove Firefox (uninstall and rename nonempty > > folder) and install it again... And CSS starts working...
> Thank you, this fixed Firebug for me.
> Since uninstalling without renaming/deleting does not work, I looked at > this bug more closely: There was an inspector*.dll (and some other > files starting with inspector*) left in the components directory. The > version of the dll was 1.7.something, although my DOM-Inspector's > version had been 1.8.1, so I suspect it was left over from a previous > installation. > If anyone still encounters this problem, you might just try > deleting/moving away these files.
> beebop
I removed the files inspector.dll, inspector.xpt and instpector-cmdline.js from the components directory and reinstalled FireFox over the top of my existing install, and CSS styles started working.
> removed the files inspector.dll, inspector.xpt and > instpector-cmdline.js from the components directory and reinstalled > FireFox over the top of my existing install, and CSS styles started > working.
Nutrino wrote: > Delete the following (old) files from the "components" folder (in the > main Mozilla Firefox folder): > inspector.dll > inspector.xpt > inspector-cmdline.js
> Now you can just re-install Firefox 2 OVER the previous install - you > do not have to uninstall Firefox beforehand !
This works for me, too! Thanks! The CSS style rules have not worked in DOM Inspector for a long time. I thought it was just a bug in the Inspector and waited around patiently for it to be fixed. Then I tried installing Firebug to replace this functionality, and it didn't work, either. But it *did* give me a helpful link to the FAQ and this page when it did so.
Nutrino wrote: > Delete the following (old) files from the "components" folder (in the > main Mozilla Firefox folder): > inspector.dll > inspector.xpt > inspector-cmdline.js > Now you can just re-install Firefox 2 OVER the previous install - you > do not have to uninstall Firefox beforehand !
On Firefox 2.0.0.1, removed the DOM-Inspector via the AddOns window, removed the files as specified above and just restarted Firefox. Everything seems to be working okay now (CSS tab is working as intended), _without_ having the DOM Inspector even installed... Neither needed to reinstall Firefox...
the problem is that each you install or update any extension, you'll have to fix it by hand. i haven't tried DiGi's solution, but tried several others involving profiles and stuff and nothing was as stable as this solution.
anyway, if you care for firebug, it would be nice to cast a vote on this bug ; )
<andre.malhe...@gmail.com> wrote: > the problem is that each you install or update any extension, you'll > have to fix it by hand. i haven't tried DiGi's solution, but tried > several others involving profiles and stuff and nothing was as stable > as this solution.