Attached it a patch which fixes the bug for me.
The problem is that there is (for me and I believe the original
submitter) a section in the configuration which does not have the
"Default" option. This triggers an exception in the Configuration
parser. I just added a check to verify that the option was there prior
to getting it.
I have attached a patch to fix the bug.
PS: this is a great thing about having python software in Debian, one
always has the source code so it is very convenient to look for the
bug.
Best,
--
P. Oscar Boykin http://boykin.acis.ufl.edu
Assistant Professor, Department of Electrical and Computer Engineering
University of Florida
--- mozilla.py.bak 2006-05-05 09:33:38.000000000 -0400
+++ mozilla.py 2006-05-05 09:48:21.000000000 -0400
@@ -37,7 +37,7 @@
path = None
for section in config.sections():
- if config.get (section, "Default") == 1:
+ if config.has_option(section, "Default") and config.get
(section, "Default") == 1:
path = config.get (section, "Path")
break
elif path == None and config.has_option(section, "Path"):