About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Aug 2008»»
SMTWTFS
      12
3456789
10111213141516
17181920212223
24
25
2627282930
31

My Top Tags

                                       

Mailing List

My RSS Feeds








Firefox extension weirdness with Firebug

posted 2006.12.29 Fri

The good and the bad of firefox.

Firefox is cool (though many times I prefer konqueror which can be snappier and take less memory). What makes firefox cooler are the vast extensions (not plugins) available for it. This gives users the chance to have the web how they want it, which can be drastically different that how large (or small) corporations want it to be for you. Adblockplus, flashblock, and del.icio.us complete all enhance my browsing experience. I've been hearing wonderful things about firebug for a while, so I tried installing it, which was pretty simple (on gentoo).

I restarted my browser and the little check in the lower right hand corner was there so I clicked it. The I double clicked it, middle clicked it, and finally right clicked it until a popup box came up. But nothing happened when I selected anything there. Wow what a cool plugin!

The bad is debugging on firefox is a pain

Perhaps the extension doesn't worked on firefox 2.0.0.1 on gentoo? I searched the bugs and the forums and didn't find anything. Then I opened Tools -> error console and noticed a swath of errors such as:

Error: _CC[cName] has no properties
Source File: chrome://firebug/content/xpcom.js
Line: 58

Error: FBL.ns is not a function
Source File: chrome://firebug/content/sourceCache.js
Line: 36

Error: FBL.ns is not a function
Source File: chrome://firebug/content/insideOutBox.js
Line: 36

...
Error: FBL.initialize is not a function
Source File: chrome://firebug/content/chrome.js
Line: 96

Error: Firebug has no properties
Source File: chrome://browser/content/browser.xul
Line: 1

Error: Firebug has no properties
Source File: chrome://firebug/content/chrome.js
Line: 778

I'm at a loss of where to start at debugging this. But the extension works on my ubuntu box (well, except for the fact that the silly DOM Inspector extension isn't installed by default). I'll post any updates I can find here.

SOLUTION!:Turns out that I needed the "mozdevelop" flag. (Found it by searching for gentoo on the firebug list)

Issues with firefox plugins:
They crash
They don't/won't install
They mess up other behaviour (of other plugins)
They just don't work
They are more "beta" than I'd like

tags:      

links: digg this    del.icio.us    reddit




1. betelgeuse left...
2006.12.29 Fri 10:07 am

Flash and java are examples of Firefox plugins. Adblockplus and friedns are extensions.


2. Matt left...
2006.12.29 Fri 10:19 am

Thanks betelgeuse, I've updated my nomenclature.


3. Shannon -jj Behrens left...
2006.12.29 Fri 12:28 pm

I'm confused about how you installed it since you mentioned Gentoo. Perhaps this installs it globally. I always install my extensions just within my own browser via the normal Firefox mechanism. Go to https://addons.mozilla.org/firefox/1843/ and click "Install now". I've never encountered the bugs you've mentioned. Stick with it, Firebug is totally worth it!


4. Matt left...
2006.12.29 Fri 12:58 pm

JJ - I mentioned Gentoo only because firebug worked on ubuntu (still needed to install the dom inspector for ubuntu which was painful (since it's supposed to be installed by default and you don't install it via the normal firefox install mechanism)). On both Gentoo and Ubuntu I installed firebug the same way.... (ie there is no ebuild for firebug)

Yes firebug is very cool, that's why I want it working on my gentoo box.


5. Matt left...
2006.12.29 Fri 1:02 pm

So thinking one of my other extensions might be causing problems for firebug, I installed it as root user. (so it was the only extension). When I try to start it I get this in the Error Console:

Error: jsdIScript has no properties
Source File: file:///root/.mozilla/firefox/t5gof1bi.default/extensions/fire
bug@software.joehewitt.com/components/firebug-service.js
Line: 80

Something is funky somewhere....


6. Sam left...
2007.02.02 Fri 2:20 am

I had the same problem with a source installed ebuild ("mozilla-firefox" rather than "mozilla-firefox-bin"). The fix for me made perfect sense (once I'd *finally* found it).

Make sure the 'mozdevelop' use flag is set when you emerge the 'mozilla-firefox' package.


7. Erasmus left...

I've had great luck with Firefox extensions. They never seemed to require anything except an annoying restart. That said, I'm quite satisfied with Firefox.


8. Motin left...

I am having the same problem on Ubuntu! Don't ask me how I got it because I am all out of clues! Posted about it here: http://ubuntuforums.org/showthread.php?p=2904584

What does the mozdevelop flag do? Sounds promising but not like any solution that would work on Ubuntu...

If you have any input on this, please let me know! Thanks!