Comment 2 for bug 404859

Revision history for this message
Samat Jain (tamasrepus) wrote :

The package from your PPA gets rid of the error, thanks Jeremy.

However, I don't think it fixes the problem... the package in Jeremy's PPA works because it contains /etc/apt-zeroconf.conf, while the package in the apt-zeroconf PPA does not. If this file is used with the apt-zeroconf PPA's package, then the error goes away with that package as well.

If apt-zeroconf is going to require a configuration file, a better error message should be displayed than the above traceback, and the redundant configuration information contained in the file mentioned below removed.

The problem appears to be in config.py (that is, /usr/share/pyshared/aptzeroconf/config.py when installed). The Config class sets up a default configuration, but the configuration does not get used. I'm going to look at why the default configuration does not get used; the code looks fine, but perhaps it's the original author's (and my) misunderstanding of how ConfigParser in Python's stdlib works.