Traceback (most recent call last): File "testhula.py", line 87, in _loaded body = doc.getElementsByTagName("body")[0] File "/usr/lib/pymodules/python2.6/xpcom/client/__init__.py", line 384, in __getattr__ raise AttributeError, "XPCOM component '%s' has no attribute '%s'" % (self._object_name_, attr) AttributeError: XPCOM component '' has no attribute '__getitem__'