Comment 0 for bug 677011

Piotr Kęplicz (keplicz) wrote :

Binary package hint: supervisor

Ubuntu releases: 10.04, 10.10
Package version: 3.08a-1

echo_supervisord_conf, a command that displays a sample configuration file fails with the following message:

Traceback (most recent call last):
  File "/usr/bin/echo_supervisord_conf", line 9, in <module>
    load_entry_point('supervisor==3.0a8', 'console_scripts', 'echo_supervisord_conf')()
  File "/usr/lib/pymodules/python2.6/supervisor/confecho.py", line 19, in main
    config = pkg_resources.resource_string(__name__, 'skel/sample.conf')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 881, in resource_string
    self, resource_name
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1154, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1281, in _get
    stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/usr/lib/pymodules/python2.6/supervisor/skel/sample.conf'

Indeed, there's no /usr/lib/pymodules/python2.6/supervisor/skel/sample.conf available, it seems to be located at /usr/share/doc/supervisor/examples/sample.conf.gz.